Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

eccodes dependency update #947

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion climada/hazard/storm_europe.py
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ def from_icon_grib(cls, run_datetime, event_date=None, model_name='icon-eu-eps',

# Create Hazard
haz = cls(
intensity=sparse.csr_matrix(stacked['gust'].T),
intensity=sparse.csr_matrix((stacked.get('gust') or stacked.get('i10fg')).T),
centroids=cls._centroids_from_nc(nc_centroids_file),
event_id=event_id,
date=date,
Expand Down
4 changes: 2 additions & 2 deletions requirements/env_climada.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ dependencies:
- cfgrib>=0.9.9,<0.9.10 # 0.9.10 cannot read the icon_grib files from https://opendata.dwd.de
- contextily>=1.6
- dask>=2024.5
- eccodes>=2.27,<2.28 # 2.28 changed some labels, in particular: gust -> i20fg
- eccodes>=2.27 # 2.28 changed some labels, in particular: gust -> i10fg (i20fg?)
- gdal>=3.6
- geopandas>=0.14
- geopandas>=0.14,<1.0
- h5py>=3.8
- haversine>=2.8
- matplotlib-base>=3.9
Expand Down