-
Notifications
You must be signed in to change notification settings - Fork 1
Add --decode_timedelta option. #39
Copy link
Copy link
Open
Description
$ inspectds ope_ecmwf/O1280/grib/2021/o.2021.11.tp.grib
~/.pipx/venvs/inspectds/lib/python3.13/site-packages/cfgrib/xarray_plugin.py:131: FutureWarning: In a future version, xarray will not decode the variable 'step' into a timedelta64 dtype based on the presence of a timedelta-like 'units' attribute by default. Instead it will rely on the presence of a timedelta64 'dtype' attribute, which is now xarray's default way of encoding timedelta64 values.
To continue decoding into a timedelta64 dtype, either set `decode_timedelta=True` when opening this dataset, or add the attribute `dtype='timedelta64[ns]'` to this variable on disk.
To opt-in to future behavior, set `decode_timedelta=False`.
vars, attrs, coord_names = xr.conventions.decode_cf_variables(
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels