Skip to content

Commit 46b4da2

Browse files
committed
fix(ecmwf): Read in lat and lon in full chunks
1 parent 6ded2a1 commit 46b4da2

File tree

1 file changed

+1
-1
lines changed
  • src/nwp_consumer/internal/repositories/raw_repositories

1 file changed

+1
-1
lines changed

src/nwp_consumer/internal/repositories/raw_repositories/ecmwf_mars.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ def _convert(path: pathlib.Path) -> ResultE[list[xr.DataArray]]:
321321
try:
322322
dss: list[xr.Dataset] = cfgrib.open_datasets(
323323
path=path.as_posix(),
324-
chunks={"time": 1, "step": -1, "longitude": "auto", "latitude": "auto"},
324+
chunks={"time": 1, "step": -1, "longitude": -1, "latitude": -1},
325325
backend_kwargs={"indexpath": ""},
326326
)
327327
except Exception as e:

0 commit comments

Comments
 (0)