Skip to content

Commit c8aac80

Browse files
committed
Merge branch 'develop' into feature/remove_implicit_use_crs
Merge develop into branch
2 parents b139e8f + 35274ac commit c8aac80

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+1649
-479
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
# Do not abort other tests if only a single one fails
2323
fail-fast: false
2424
matrix:
25-
python-version: ["3.9", "3.10", "3.11"]
25+
python-version: ["3.10", "3.11"]
2626

2727
steps:
2828
-

.readthedocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ build:
1111
# Append fixed Python version to requirements
1212
jobs:
1313
pre_create_environment:
14-
- echo " - python=3.9" >> requirements/env_climada.yml
14+
- echo " - python=3.11" >> requirements/env_climada.yml
1515

1616
conda:
1717
environment: requirements/env_climada.yml

.zenodo.json

Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
{
2+
"creators": [
3+
{
4+
"name": "Gabriela Aznar Siguan",
5+
"affiliation": "MeteoSwiss"
6+
},
7+
{
8+
"name": "David N. Bresch",
9+
"affiliation": "ETH Z\u00fcrich"
10+
},
11+
{
12+
"name": "Samuel Eberenz",
13+
"affiliation": "ETH Z\u00fcrich"
14+
},
15+
{
16+
"name": "Jan Hartman",
17+
"affiliation": "CelsiusPro"
18+
},
19+
{
20+
"name": "Marine Perus",
21+
"affiliation": "CelsiusPro"
22+
},
23+
{
24+
"name": "Thomas R\u00f6\u00f6sli"
25+
},
26+
{
27+
"name": "Dario Stocker"
28+
},
29+
{
30+
"name": "Veronica Bozzini"
31+
},
32+
{
33+
"name": "Carmen B. Steinmann"
34+
},
35+
{
36+
"name": "Evelyn M\u00fchlhofer",
37+
"affiliation": "MeteoSwiss"
38+
},
39+
{
40+
"name": "Rachel Bungerer"
41+
},
42+
{
43+
"name": "Inga J. Sauer"
44+
},
45+
{
46+
"name": "Samuel L\u00fcthi",
47+
"affiliation": "ETH Z\u00fcrich"
48+
},
49+
{
50+
"name": "Pui Man (Mannie) Kam",
51+
"affiliation": "ETH Z\u00fcrich"
52+
},
53+
{
54+
"name": "Simona Meiler",
55+
"affiliation": "ETH Z\u00fcrich"
56+
},
57+
{
58+
"name": "Alessio Ciullo",
59+
"affiliation": "ETH Z\u00fcrich"
60+
},
61+
{
62+
"name": "Thomas Vogt",
63+
"affiliation": "Potsdam Institute for Climate Impact Research"
64+
},
65+
{
66+
"name": "Benoit P. Guillod",
67+
"affiliation": "CLIMADA Technologies"
68+
},
69+
{
70+
"name": "Chahan M. Kropf",
71+
"affiliation": "ETH Z\u00fcrich"
72+
},
73+
{
74+
"name": "Emanuel Schmid",
75+
"affiliation": "ETH Z\u00fcrich"
76+
},
77+
{
78+
"name": "Chris Fairless",
79+
"affiliation": "CelsiusPro"
80+
},
81+
{
82+
"name": "Jan W\u00fcthrich"
83+
},
84+
{
85+
"name": "Z\u00e9lie Stalhandske",
86+
"affiliation": "ETH Z\u00fcrich"
87+
},
88+
{
89+
"name": "Yue Yu"
90+
},
91+
{
92+
"name": "Lukas Riedel",
93+
"affiliation": "ETH Z\u00fcrich"
94+
},
95+
{
96+
"name": "Raphael Portmann",
97+
"affiliation": "Agroscope"
98+
},
99+
{
100+
"name": "Nicolas Colombi",
101+
"affiliation": "ETH Z\u00fcrich"
102+
},
103+
{
104+
"name": "Leonie Villiger"
105+
},
106+
{
107+
"name": "Timo Schmid"
108+
},
109+
{
110+
"name": "Luca Severino"
111+
},
112+
{
113+
"name": "Samuel Juhel",
114+
"affiliation": "ETH Z\u00fcrich"
115+
},
116+
{
117+
"name": "Valentin Gebhart"
118+
}
119+
]
120+
}

AUTHORS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
* Emanuel Schmid
2424
* Chris Fairless
2525
* Jan Wüthrich
26-
* Zélie Standhanske
26+
* Zélie Stalhandske
2727
* Yue Yu
2828
* Lukas Riedel
2929
* Raphael Portmann

CHANGELOG.md

Lines changed: 60 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,57 @@ Code freeze date: YYYY-MM-DD
1212

1313
### Added
1414

15+
### Changed
16+
17+
### Fixed
18+
19+
### Deprecated
20+
21+
### Removed
22+
23+
## 6.0.0
24+
25+
Release date: 2025-03-03
26+
27+
### Dependency Changes
28+
29+
Added:
30+
31+
- `osm-flex` >=1.1
32+
33+
Updated:
34+
35+
- `cartopy` >=0.23 → >=0.24
36+
- `cfgrib` >=0.9.9,<0.9.10 &rarr; >=0.9
37+
- `dask` >=2024.2,<2024.3 &rarr; >=2025.2
38+
- `eccodes` >=2.27,<2.28 &rarr; >=2.40
39+
- `gdal` >=3.6 &rarr; >=3.10
40+
- `geopandas` >=0.14 &rarr; >=0.14,<1.0
41+
- `h5py` >=3.8 &rarr; >=3.12
42+
- `haversine` >=2.8 &rarr; >=2.9
43+
- `matplotlib-base` >=3.9 &rarr; >=3.10
44+
- `netcdf4` >=1.6 &rarr; >=1.7
45+
- `numba` >=0.60 &rarr; >=0.61
46+
- `pillow` =9.4 &rarr; =11.1
47+
- `pyproj` >=3.5 &rarr; >=3.7
48+
- `pytables` >=3.7 &rarr; >=3.10
49+
- `python` =3.9 &rarr; =3.11
50+
- `rasterio` >=1.3 &rarr; >=1.4
51+
- `scikit-learn` >=1.5 &rarr; >=1.6
52+
- `scipy` >=1.13 &rarr; >=1.14,<1.15
53+
- `tqdm` >=4.66 &rarr; >=4.67
54+
- `xarray` >=2024.6 &rarr; >=2025.1
55+
- `xlsxwriter` >=3.1 &rarr; >=3.2
56+
57+
Removed:
58+
59+
- `pyepsg`
60+
61+
### Added
62+
63+
- `climada.hazard.tc_tracks.TCTracks.from_FAST` function, add Australia basin (AU) [#993](https://github.com/CLIMADA-project/climada_python/pull/993)
64+
- Add `osm-flex` package to CLIMADA core [#981](https://github.com/CLIMADA-project/climada_python/pull/981)
65+
- `doc.tutorial.climada_entity_Exposures_osm.ipynb` tutorial explaining how to use `osm-flex`with CLIMADA
1566
- `climada.util.coordinates.bounding_box_global` function [#980](https://github.com/CLIMADA-project/climada_python/pull/980)
1667
- `climada.util.coordinates.bounding_box_from_countries` function [#980](https://github.com/CLIMADA-project/climada_python/pull/980)
1768
- `climada.util.coordinates.bounding_box_from_cardinal_bounds` function [#980](https://github.com/CLIMADA-project/climada_python/pull/980)
@@ -37,14 +88,16 @@ Code freeze date: YYYY-MM-DD
3788
- In `climada.util.plot.geo_im_from_array`, NaNs are plotted in gray while cells with no centroid are not plotted [#929](https://github.com/CLIMADA-project/climada_python/pull/929)
3889
- Renamed `climada.util.plot.subplots_from_gdf` to `climada.util.plot.plot_from_gdf` [#929](https://github.com/CLIMADA-project/climada_python/pull/929)
3990
- `Hazard.local_exceedance_inten`, `Hazard.local_return_period`, and `Impact.local_exceedance_imp` call the corresponding new functions and a deprecation warning is added [#918](https://github.com/CLIMADA-project/climada_python/pull/918). Some inconsistencies in the previous versions are removed and the default method is changed. To reconstruct results from the previous versions, use CLIMADA v5.0.0 or less.
91+
- elements of `event_name` are now explicitly converted to `str` in `from_raster`, `from_xarray_raster`, `from_excel` and `from_csv`. [#951](https://github.com/CLIMADA-project/climada_python/pull/951), [#910](https://github.com/CLIMADA-project/climada_python/issues/910)
92+
- `event_id` and `event_name` are now explicitly converted to respectively a `np.ndarray` (`event_id`), a `list` (`event_name`) in readers. [#951](https://github.com/CLIMADA-project/climada_python/pull/951), [#950](https://github.com/CLIMADA-project/climada_python/issues/950)
4093
- Exposures complete overhaul. Notably
41-
- the _geometry_ column of the inherent `GeoDataFrame` is set up at initialization
42-
- 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`).
43-
- `Exposures.gdf` has been renamed to `Exposures.data` (it still works though, as it is a property now pointing to the latter)
44-
- the `check` method does not add a default "IMPF_" column to the GeoDataFrame anymore
94+
- the _geometry_ column of the inherent `GeoDataFrame` is set up at initialization
95+
- 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`).
96+
- `Exposures.gdf` has been renamed to `Exposures.data` (it still works though, as it is a property now pointing to the latter)
97+
- the `check` method does not add a default "IMPF_" column to the GeoDataFrame anymore
4598
- Updated IBTrACS version from v4.0 to v4.1 ([#976](https://github.com/CLIMADA-project/climada_python/pull/976)
46-
- Fix xarray future warning in TCTracks for .dims to .sizes
47-
- Fix hazard.concatenate type test for pathos pools
99+
- Fix xarray future warning in TCTracks for .dims to .sizes
100+
- Fix hazard.concatenate type test for pathos pools
48101

49102
### Fixed
50103

@@ -54,6 +107,7 @@ Code freeze date: YYYY-MM-DD
54107

55108
### Deprecated
56109

110+
- `climada.hazard.trop_cyclone.trop_cyclone_windfields.compute_angular_windspeeds.cyclostrophic` argument
57111
- `climada.entity.exposures.Exposures.meta` attribute
58112
- `climada.entity.exposures.Exposures.set_lat_lon` method
59113
- `climada.entity.exposures.Exposures.set_geometry_points` method
@@ -62,8 +116,6 @@ Code freeze date: YYYY-MM-DD
62116
- `climada.engine.impact.Impact.local_exceedance_imp` method
63117
- `climada.engine.impact.Impact.plot_rp_imp` method
64118

65-
### Removed
66-
67119
## 5.0.0
68120

69121
Release date: 2024-07-19

README.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44

55
# CLIMADA
66

7-
CLIMADA stands for **CLIM**ate **ADA**ptation and is a probabilistic natural catastrophe impact model, that also calculates averted damage (benefit) thanks to adaptation measures of any kind (from grey to green infrastructure, behavioural, etc.).
7+
[CLIMADA](https://climada.ethz.ch/climada/) (CLIMate ADAptation) is a free and open-source software framework for climate risk assessment and adaptation
8+
option appraisal. Designed by a large scientific community, it helps reasearchers, policymakers, and businesses analyse the impacts of natural hazards and
9+
explore adaptation strategies.
810

911
As of today, CLIMADA provides global coverage of major climate-related extreme-weather hazards at high resolution (4x4km) via a [data API](https://climada.ethz.ch/data-api/v1/docs) For select hazards, historic and probabilistic events sets, for past, present and future climate exist at distinct time horizons.
1012
You will find a repository containing scientific peer-reviewed articles that explain software components implemented in CLIMADA [here](https://github.com/CLIMADA-project/climada_papers).
@@ -37,18 +39,17 @@ Follow the [tutorials](https://climada-python.readthedocs.io/en/stable/tutorial/
3739

3840
The online documentation is available on [Read the Docs](https://climada-python.readthedocs.io/en/stable/).The documentation of each release version of CLIMADA can be accessed separately through the drop-down menu at the bottom of the left sidebar. Additionally, the version 'stable' refers to the most recent release (installed via `conda`), and 'latest' refers to the latest unstable development version (the `develop` branch).
3941

40-
4142
CLIMADA python:
4243

43-
* [online (recommended)](https://climada-python.readthedocs.io/en/latest/)
44-
* [PDF file](https://climada-python.readthedocs.io/_/downloads/en/stable/pdf/)
45-
* [core Tutorials on GitHub](https://github.com/CLIMADA-project/climada_python/tree/main/doc/tutorial)
44+
- [online (recommended)](https://climada-python.readthedocs.io/en/latest/)
45+
- [PDF file](https://climada-python.readthedocs.io/_/downloads/en/stable/pdf/)
46+
- [core Tutorials on GitHub](https://github.com/CLIMADA-project/climada_python/tree/main/doc/tutorial)
4647

4748
CLIMADA petals:
4849

49-
* [online (recommended)](https://climada-petals.readthedocs.io/en/latest/)
50-
* [PDF file](https://climada-petals.readthedocs.io/_/downloads/en/stable/pdf/)
51-
* [petals Tutorials on GitHub](https://github.com/CLIMADA-project/climada_petals/tree/main/doc/tutorial)
50+
- [online (recommended)](https://climada-petals.readthedocs.io/en/latest/)
51+
- [PDF file](https://climada-petals.readthedocs.io/_/downloads/en/stable/pdf/)
52+
- [petals Tutorials on GitHub](https://github.com/CLIMADA-project/climada_petals/tree/main/doc/tutorial)
5253

5354
The documentation can also be [built locally](https://climada-python.readthedocs.io/en/latest/README.html).
5455

@@ -74,6 +75,6 @@ We use [SemVer](http://semver.org/) for versioning. For the versions available,
7475

7576
Copyright (C) 2017 ETH Zurich, CLIMADA contributors listed in AUTHORS.
7677

77-
CLIMADA is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License Version 3, 29 June 2007 as published by the Free Software Foundation, https://www.gnu.org/licenses/gpl-3.0.html
78+
CLIMADA is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License Version 3, 29 June 2007 as published by the Free Software Foundation, <https://www.gnu.org/licenses/gpl-3.0.html>
7879

79-
CLIMADA is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details: https://www.gnu.org/licenses/gpl-3.0.html
80+
CLIMADA is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details: <https://www.gnu.org/licenses/gpl-3.0.html>

climada/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "5.0.1-dev"
1+
__version__ = "6.0.1-dev"

0 commit comments

Comments
 (0)