Skip to content
Open
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 src/geodata/datasets/era5/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def meta_prepare_func(cls, xs: slice, ys: slice, year: int, month: int, **kwargs
# Geopotential is aka Orography in the CDS:
# https://confluence.ecmwf.int/pages/viewpage.action?pageId=78296105

with xr.open_mfdataset(cls._get_path(year, month), combine="by_coords") as ds:
with xr.open_mfdataset(cls._get_files(year, month), combine="by_coords") as ds:
ds = ds.coords.to_dataset()
ds = _convert_and_subset_lons_lats_era5(ds, xs, ys)
meta = ds.load()
Expand Down
Loading