You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File /g/data/hh5/public/apps/miniconda3/envs/analysis3-23.07/lib/python3.10/site-packages/cosima_cookbook/querying.py:385, in getvar(expt, variable, session, ncfile, start_time, end_time, n, frequency, attrs, attrs_unique, return_dataset, **kwargs)
383 chunks = xr_kwargs.get("chunks", None)
384 if chunks is not None:
--> 385 missing_chunk_dims = set(chunks.keys()) - set(da.dims)
386 if len(missing_chunk_dims) > 0:
387 logging.warning(
388 f"chunking along dimensions {missing_chunk_dims} is not possible. Available dimensions for chunking are {set(da.dims)}"
389 )
AttributeError: 'str' object has no attribute 'keys'
However, chunks='auto' should be a valid key word argument to be passed to xr.open_mfdataset().
The text was updated successfully, but these errors were encountered:
When I run :
I get this error:
However,
chunks='auto'
should be a valid key word argument to be passed toxr.open_mfdataset()
.The text was updated successfully, but these errors were encountered: