You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Added optional parameter to `geo_im_from_array`, `plot_from_gdf`, `plot_rp_imp`, `plot_rp_intensity`,
29
+
`plot_intensity`, `plot_fraction`, `_event_plot` to mask plotting when regions are too far from data points [#1047](https://github.com/CLIMADA-project/climada_python/pull/1047). To recreate previous plots (no masking), the parameter can be set to None.
30
+
- Added instructions to install Climada petals on Euler cluster in `doc.guide.Guide_Euler.ipynb`[#1029](https://github.com/CLIMADA-project/climada_python/pull/1029)
31
+
32
+
-`ImpactFunc` and `ImpactFuncSet` now support equality comparisons via `==`[#1027](https://github.com/CLIMADA-project/climada_python/pull/1027)
33
+
15
34
### Changed
16
35
36
+
- Changed the default mask_distance in `util.plot.geo_im_from_array` to 0.03 to avoid white gaps in gridded hazard data with comparably low resolution (>80 centroids per axis) [#1073](https://github.com/CLIMADA-project/climada_python/pull/1073)
37
+
- Increased speed of `util.plot.add_shapes` by avoiding for loops, substantially speeding up `Hazard.plot_intensity` and other functions. [#1073](https://github.com/CLIMADA-project/climada_python/pull/1073)
38
+
-`Hazard.local_exceedance_intensity`, `Hazard.local_return_period` and `Impact.local_exceedance_impact`, `Impact.local_return_period`, using the `climada.util.interpolation` module: New default (no binning), binning on decimals, and faster implementation [#1012](https://github.com/CLIMADA-project/climada_python/pull/1012)
39
+
- World Bank indicator data is now downloaded directly from their API via the function `download_world_bank_indicator`, instead of relying on the `pandas-datareader` package [#1033](https://github.com/CLIMADA-project/climada_python/pull/1033)
40
+
-`Exposures.write_hdf5` pickles geometry data in WKB format, which is faster and more sustainable. [#1051](https://github.com/CLIMADA-project/climada_python/pull/1051)
41
+
- The online documentation has been completely overhauled, now uses PyData theme: [#977](https://github.com/CLIMADA-project/climada_python/pull/977)
42
+
- Add `climada.hazard.xarray` module with helper structures for reading Hazard objects from `xarray` data [#1063](https://github.com/CLIMADA-project/climada_python/pull/1063)
43
+
17
44
### Fixed
18
45
46
+
- NaN plotting issues in `geo_im_from_array`[#1038](https://github.com/CLIMADA-project/climada_python/pull/1038)
47
+
- Broken ECMWF links in pydoc of `climada.hazard.storm_europe` relocated. [#944](https://github.com/CLIMADA-project/climada_python/pull/944)
48
+
19
49
### Deprecated
20
50
51
+
-`Hazard.from_xarray_raster_file`. Use `Hazard.from_xarray_raster` and pass the file path as `data` argument [#1063](https://github.com/CLIMADA-project/climada_python/pull/1063)
-`climada.entity.impact_funcs.trop_cyclone.ImpfSetTropCyclone.get_impf_id_regions_per_countries` function [#1034](https://github.com/CLIMADA-project/climada_python/pull/1034)
72
109
-`climada.hazard.tc_tracks.TCTracks.subset_years` function [#1023](https://github.com/CLIMADA-project/climada_python/pull/1023)
-`climada.hazard.tc_tracks.TCTracks.from_FAST` function, add Australia basin (AU) [#993](https://github.com/CLIMADA-project/climada_python/pull/993)
78
115
- Add `osm-flex` package to CLIMADA core [#981](https://github.com/CLIMADA-project/climada_python/pull/981)
79
-
-`doc.tutorial.climada_entity_Exposures_osm.ipynb` tutorial explaining how to use `osm-flex`with CLIMADA
116
+
-`doc.tutorial.climada_entity_Exposures_osm.ipynb` tutorial explaining how to use `osm-flex`with CLIMADA
80
117
-`climada.util.coordinates.bounding_box_global` function [#980](https://github.com/CLIMADA-project/climada_python/pull/980)
81
118
-`climada.util.coordinates.bounding_box_from_countries` function [#980](https://github.com/CLIMADA-project/climada_python/pull/980)
82
119
-`climada.util.coordinates.bounding_box_from_cardinal_bounds` function [#980](https://github.com/CLIMADA-project/climada_python/pull/980)
@@ -108,8 +145,8 @@ Removed:
108
145
- the _geometry_ column of the inherent `GeoDataFrame` is set up at initialization
109
146
- latitude and longitude column are no longer present there (the according arrays can be retrieved as properties of the Exposures object: `exp.latitude` instead of `exp.gdf.latitude.values`).
110
147
-`Exposures.gdf` has been renamed to `Exposures.data` (it still works though, as it is a property now pointing to the latter)
111
-
- the `check` method does not add a default "IMPF_" column to the GeoDataFrame anymore
112
-
- Updated IBTrACS version from v4.0 to v4.1 ([#976](https://github.com/CLIMADA-project/climada_python/pull/976)
148
+
- the `check` method does not add a default `'IMPF_'` column to the GeoDataFrame anymore
149
+
- Updated IBTrACS version from v4.0 to v4.1 [#976](https://github.com/CLIMADA-project/climada_python/pull/976)
113
150
- Fix xarray future warning in TCTracks for .dims to .sizes
114
151
- Fix hazard.concatenate type test for pathos pools
-`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)
192
229
-`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)
193
230
- Split `climada.hazard.trop_cyclone` module into smaller submodules without affecting module usage [#911](https://github.com/CLIMADA-project/climada_python/pull/911)
231
+
-`yearly_steps` parameter of `TropCyclone.apply_climate_scenario_knu` has been made explicit [#991](https://github.com/CLIMADA-project/climada_python/pull/991)
232
+
-`Hazard.write_hdf5` writes centroids as x,y columns (or as wkb in case of polygons) at a compression level of 9, not as pickled `Shapely` objects anymore, which reduces the size of the files significantly.
194
233
195
234
### Fixed
196
235
@@ -261,17 +300,17 @@ Added:
261
300
262
301
Updated:
263
302
264
-
-`contextily` >=1.3 → >=1.5
265
-
-`dask` >=2023 → >=2024
266
-
-`numba` >=0.57 → >=0.59
267
-
-`pandas` >=2.1 → >=2.1,<2.2
268
-
-`pint` >=0.22 → >=0.23
269
-
-`scikit-learn` >=1.3 → >=1.4
270
-
-`scipy` >=1.11 → >=1.12
271
-
-`sparse` >=0.14 → >=0.15
272
-
-`xarray` >=2023.8 → >=2024.1
273
-
-`overpy` =0.6 → =0.7
274
-
-`peewee` =3.16.3 → =3.17.1
303
+
-`contextily` >=1.3 → >=1.5
304
+
-`dask` >=2023 → >=2024
305
+
-`numba` >=0.57 → >=0.59
306
+
-`pandas` >=2.1 → >=2.1,<2.2
307
+
-`pint` >=0.22 → >=0.23
308
+
-`scikit-learn` >=1.3 → >=1.4
309
+
-`scipy` >=1.11 → >=1.12
310
+
-`sparse` >=0.14 → >=0.15
311
+
-`xarray` >=2023.8 → >=2024.1
312
+
-`overpy` =0.6 → =0.7
313
+
-`peewee` =3.16.3 → =3.17.1
275
314
276
315
Removed:
277
316
@@ -280,7 +319,7 @@ Removed:
280
319
### Added
281
320
282
321
- Convenience method `api_client.Client.get_dataset_file`, combining `get_dataset_info` and `download_dataset`, returning a single file objet. [#821](https://github.com/CLIMADA-project/climada_python/pull/821)
283
-
- Read and Write methods to and from csv files for the `DiscRates` class. [#818](ttps://github.com/CLIMADA-project/climada_python/pull/818)
322
+
- Read and Write methods to and from csv files for the `DiscRates` class. [#818](https://github.com/CLIMADA-project/climada_python/pull/818)
284
323
- Add `CalcDeltaClimate` to unsequa module to allow uncertainty and sensitivity analysis of impact change calculations [#844](https://github.com/CLIMADA-project/climada_python/pull/844)
285
324
- Add function `safe_divide` in util which handles division by zero and NaN values in the numerator or denominator [#844](https://github.com/CLIMADA-project/climada_python/pull/844)
286
325
- Add reset_frequency option for the impact.select() function. [#847](https://github.com/CLIMADA-project/climada_python/pull/847)
0 commit comments