Open jdwillard19 opened 5 months ago
Thanks for opening this issue.
How about this solution?
ds = open_forecast(model_forecast_dir, group="mean.zarr").chunk(chunks)
We could add this to the docstring. I agree the xarray user typically expects a daskified experience when opening a zarr.
Version
source
On which installation method(s) does this occur?
Source
Describe the issue
When calling
earth2mip.datasets.hindcast.open_forecast()
I expected thechunks
argument to function as it would it an xarray.open_zarr(). But after checking the code it doesn't look like this parameter is used. E.g.Seems to cause OOM errors because the chunking is not happening.
Environment details
No response