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
Weather/climate data often uses two dimensions: Start time (when the initial time of the forecast integration) and Lead time (how long the forecast integration beyond the initial time). Also there is target time (the date being forecast) which is equal to start time + lead time.
It seems reasonable to use datetime for the S dimension and timedelta for the L dimension so that the target T is simply T = S + L. Using those types as dimensions seems to work until I try to plot.
What did you expect to happen?
A plot :-) which is what I get if I use the commented S & L in the MCVE
What happened?
Weather/climate data often uses two dimensions: Start time (when the initial time of the forecast integration) and Lead time (how long the forecast integration beyond the initial time). Also there is target time (the date being forecast) which is equal to start time + lead time.
It seems reasonable to use datetime for the S dimension and timedelta for the L dimension so that the target T is simply T = S + L. Using those types as dimensions seems to work until I try to plot.

What did you expect to happen?
A plot :-) which is what I get if I use the commented S & L in the MCVE

Minimal Complete Verifiable Example
MVCE confirmation
Relevant log output
No response
Anything else we need to know?
No response
Environment
INSTALLED VERSIONS
commit: None
python: 3.6.13 |Anaconda, Inc.| (default, Feb 23 2021, 12:58:59)
[GCC Clang 10.0.0 ]
python-bits: 64
OS: Darwin
OS-release: 21.6.0
machine: x86_64
processor: i386
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
LOCALE: en_US.UTF-8
libhdf5: 1.10.5
libnetcdf: 4.6.2
xarray: 0.18.0
pandas: 1.1.5
numpy: 1.19.2
scipy: 1.5.2
netCDF4: 1.5.1.2
pydap: None
h5netcdf: None
h5py: None
Nio: None
zarr: 2.11.1
cftime: 1.4.1
nc_time_axis: 1.2.0
PseudoNetCDF: None
rasterio: None
cfgrib: 0.9.8.5
iris: None
bottleneck: 1.3.2
dask: 2021.03.0
distributed: 2021.03.0
matplotlib: 3.3.4
cartopy: 0.18.0
seaborn: 0.11.1
numbagg: None
pint: None
setuptools: 52.0.0.post20210125
pip: 21.1.2
conda: None
pytest: 6.2.4
IPython: 7.16.1
sphinx: None
The text was updated successfully, but these errors were encountered: