|
1 | 1 | # Changelog |
2 | 2 |
|
| 3 | +## Unreleased |
| 4 | + |
| 5 | +Release date: YYYY-MM-DD |
| 6 | + |
| 7 | +Code freeze date: YYYY-MM-DD |
| 8 | + |
| 9 | +### Description |
| 10 | + |
| 11 | +### Dependency Changes |
| 12 | + |
| 13 | +Added: |
| 14 | + |
| 15 | +- `bayesian-optimization` |
| 16 | +- `seaborn` >=0.13 |
| 17 | + |
| 18 | +Updated: |
| 19 | + |
| 20 | +- `bottleneck` >=1.3 → >=1.4 |
| 21 | +- `cartopy` >=0.22 → >=0.23 |
| 22 | +- `contextily` >=1.5 → >=1.6 |
| 23 | +- `dask` >=2024.1,<2024.3 → >=2024.2,<2024.3 |
| 24 | +- `matplotlib-base` >=3.8 → >=3.9 |
| 25 | +- `numba` >=0.59 → >=0.60 |
| 26 | +- `numexpr` >=2.9 → >=2.10 |
| 27 | +- `pint` >=0.23 → >=0.24 |
| 28 | +- `pycountry` >=22.3 → >=24.6 |
| 29 | +- `requests` >=2.31 → >=2.32 |
| 30 | +- `salib` >=1.4 → >=1.5 |
| 31 | +- `scikit-learn` >=1.4 → >=1.5 |
| 32 | +- `scipy` >=1.12 → >=1.13 |
| 33 | +- `xarray` >=2024.2 → >=2024.6 |
| 34 | + |
| 35 | +### Added |
| 36 | + |
| 37 | +- GitHub actions workflow for CLIMADA Petals compatibility tests [#855](https://github.com/CLIMADA-project/climada_python/pull/855) |
| 38 | +- `climada.util.calibrate` module for calibrating impact functions [#692](https://github.com/CLIMADA-project/climada_python/pull/692) |
| 39 | + |
| 40 | +### Changed |
| 41 | + |
| 42 | +- Use Geopandas GeoDataFrame.plot() for centroids plotting function [896](https://github.com/CLIMADA-project/climada_python/pull/896) |
| 43 | +- Update SALib sensitivity and sampling methods from newest version (SALib 1.4.7) [#828](https://github.com/CLIMADA-project/climada_python/issues/828) |
| 44 | +- Allow for computation of relative and absolute delta impacts in `CalcDeltaClimate` |
| 45 | +- Remove content tables and make minor improvements (fix typos and readability) in |
| 46 | +CLIMADA tutorials. [#872](https://github.com/CLIMADA-project/climada_python/pull/872) |
| 47 | +- Centroids complete overhaul. Most function should be backward compatible. Internal data is stored in a geodataframe attribute. Raster are now stored as points, and the meta attribute is removed. Several methds were deprecated or removed. [#787](https://github.com/CLIMADA-project/climada_python/pull/787) |
| 48 | +- Improved error messages produced by `ImpactCalc.impact()` in case impact function in the exposures is not found in impf_set [#863](https://github.com/CLIMADA-project/climada_python/pull/863) |
| 49 | +- Update the Holland et al. 2010 TC windfield model and introduce `model_kwargs` parameter to adjust model parameters [#846](https://github.com/CLIMADA-project/climada_python/pull/846) |
| 50 | +- Changed module structure: `climada.hazard.Hazard` has been split into the modules `base`, `io` and `plot` [#871](https://github.com/CLIMADA-project/climada_python/pull/871) |
| 51 | +- Ensure `csr_matrix` stored in `climada.hazard.Hazard` have consistent data format and store no explicit zeros when initializing `ImpactCalc` [#893](https://github.com/CLIMADA-project/climada_python/pull/893) |
| 52 | +- `Impact.from_hdf5` now calls `str` on `event_name` data that is not strings, and issue a warning then [#894](https://github.com/CLIMADA-project/climada_python/pull/894) |
| 53 | +- `Impact.write_hdf5` now throws an error if `event_name` is does not contain strings exclusively [#894](https://github.com/CLIMADA-project/climada_python/pull/894) |
| 54 | +- Split `climada.hazard.trop_cyclone` module into smaller submodules without affecting module usage [#911](https://github.com/CLIMADA-project/climada_python/pull/911) |
| 55 | + |
| 56 | +### Fixed |
| 57 | + |
| 58 | +- Avoid an issue where a Hazard subselection would have a fraction matrix with only zeros as entries by throwing an error [#866](https://github.com/CLIMADA-project/climada_python/pull/866) |
| 59 | +- Allow downgrading the Python bugfix version to improve environment compatibility [#900](https://github.com/CLIMADA-project/climada_python/pull/900) |
| 60 | +- Fix broken links in `CONTRIBUTING.md` [#900](https://github.com/CLIMADA-project/climada_python/pull/900) |
| 61 | +- When writing `TCTracks` to NetCDF, only apply compression to `float` or `int` data types. This fixes a downstream issue, see [climada_petals#135](https://github.com/CLIMADA-project/climada_petals/issues/135) [#911](https://github.com/CLIMADA-project/climada_python/pull/911) |
| 62 | + |
| 63 | +### Added |
| 64 | + |
| 65 | +- Method `Hazard.check_matrices` for bringing the stored CSR matrices into "canonical format" [#893](https://github.com/CLIMADA-project/climada_python/pull/893) |
| 66 | +- Generic s-shaped impact function via `ImpactFunc.from_poly_s_shape` [#878](https://github.com/CLIMADA-project/climada_python/pull/878) |
| 67 | +- climada.hazard.centroids.centr.Centroids.get_area_pixel |
| 68 | +- climada.hazard.centroids.centr.Centroids.get_dist_coast |
| 69 | +- climada.hazard.centroids.centr.Centroids.get_elevation |
| 70 | +- climada.hazard.centroids.centr.Centroids.get_meta |
| 71 | +- climada.hazard.centroids.centr.Centroids.get_pixel_shapes |
| 72 | +- climada.hazard.centroids.centr.Centroids.to_crs |
| 73 | +- climada.hazard.centroids.centr.Centroids.to_default_crs |
| 74 | +- climada.hazard.centroids.centr.Centroids.write_csv |
| 75 | +- climada.hazard.centroids.centr.Centroids.write_excel |
| 76 | + |
| 77 | +### Deprecated |
| 78 | + |
| 79 | +- climada.hazard.centroids.centr.Centroids.from_lat_lon |
| 80 | +- climada.hazard.centroids.centr.Centroids.def set_area_pixel |
| 81 | +- climada.hazard.centroids.centr.Centroids.def set_area_approx |
| 82 | +- climada.hazard.centroids.centr.Centroids.set_dist_coast |
| 83 | +- climada.hazard.centroids.centr.Centroids.empty_geometry_points |
| 84 | +- climada.hazard.centroids.centr.Centroids.set_meta_to_lat_lon |
| 85 | +- climada.hazard.centroids.centr.Centroids.set_lat_lon_to_meta |
| 86 | +- `scheduler` parameter in `climada.util.coordinates.set_df_geometry_points`, as dask is not used anymore, leaving all calculation to shapely [#912](https://github.com/CLIMADA-project/climada_python/pull/912) |
| 87 | + |
| 88 | +### Removed |
| 89 | + |
| 90 | +- climada.hazard.base.Hazard.clear |
| 91 | +- climada.hazard.base.Hazard.raster_to_vector |
| 92 | +- climada.hazard.base.Hazard.read_mat |
| 93 | +- climada.hazard.base.Hazard.reproject_raster |
| 94 | +- climada.hazard.base.Hazard.set_vector |
| 95 | +- climada.hazard.base.Hazard.vector_to_raster |
| 96 | +- climada.hazard.centroids.centr.Centroids.calc_pixels_polygons |
| 97 | +- climada.hazard.centroids.centr.Centroids.check |
| 98 | +- climada.hazard.centroids.centr.Centroids.clear |
| 99 | +- climada.hazard.centroids.centr.Centroids.equal |
| 100 | +- climada.hazard.centroids.centr.Centroids.from_mat |
| 101 | +- climada.hazard.centroids.centr.Centroids.from_base_grid |
| 102 | +- climada.hazard.centroids.centr.Centroids.read_excel |
| 103 | +- climada.hazard.centroids.centr.Centroids.read_hdf5 |
| 104 | +- climada.hazard.centroids.centr.Centroids.read_mat |
| 105 | +- climada.hazard.centroids.centr.Centroids.set_elevation |
| 106 | +- climada.hazard.centroids.centr.Centroids.set_geometry_points |
| 107 | +- climada.hazard.centroids.centr.Centroids.set_lat_lon |
| 108 | +- climada.hazard.centroids.centr.Centroids.set_raster_file |
| 109 | +- climada.hazard.centroids.centr.Centroids.set_raster_from_pnt_bounds |
| 110 | +- climada.hazard.centroids.centr.Centroids.set_vector_file |
| 111 | +- climada.hazard.centroids.centr.Centroids.values_from_raster_files |
| 112 | +- climada.hazard.centroids.centr.Centroids.values_from_vector_files |
| 113 | +- climada.hazard.centroids.centr.generate_nat_earth_centroids |
| 114 | +- `requirements/env_docs.yml`. The regular environment specs are now used to build the online documentation [#687](https://github.com/CLIMADA-project/climada_python/pull/687) |
| 115 | + |
3 | 116 | ## 4.1.1 |
4 | 117 |
|
5 | 118 | Release date: 2024-02-21 |
@@ -81,6 +194,7 @@ Changed: |
81 | 194 |
|
82 | 195 | - `geopandas` >=0.13 → >=0.14 |
83 | 196 | - `pandas` >=1.5,<2.0 → >=2.1 |
| 197 | +- `salib` >=1.3.0 → >=1.4.7 |
84 | 198 |
|
85 | 199 | Removed: |
86 | 200 |
|
|
0 commit comments