Timestamp issue #609
Unanswered
mzelinka
asked this question in
2. Questions
Replies: 1 comment 2 replies
-
|
Dataset issue? ncdump gives me similarly weird answers:
I get similarly wrong-looking time stamps when I look at the un-decoded times (e.g., the 197901 and 197903 files say the units are days since 1979-01-01 and the time value is 16.4375). |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Question criteria
Describe your question
I am using open_mfdataset() to read in many monthly files as a single Dataset. This usually works fine, but in the case below, the resulting Dataset has odd timestamps: Jan of year 1, followed by January of year 1, then a jump to April Year 1, April Year 1, and so on. I tried various options with open_mfdataset, but the time decoding does not change.
Are there are any possible answers you came across?
No, but I assume it is a time bounds issue when reading in a lot of individual monthly files.
Minimal Complete Verifiable Example (MVCE)
Relevant log output
Environment
xCDAT version 0.6.1
INSTALLED VERSIONS
commit: None
python: 3.10.9 | packaged by conda-forge | (main, Feb 2 2023, 20:20:04) [GCC 11.3.0]
python-bits: 64
OS: Linux
OS-release: 3.10.0-1160.102.1.el7.x86_64
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
LOCALE: ('en_US', 'UTF-8')
libhdf5: 1.12.2
libnetcdf: 4.8.1
xarray: 2023.4.2
pandas: 1.5.1
numpy: 1.23.4
scipy: 1.8.1
netCDF4: 1.6.1
pydap: None
h5netcdf: None
h5py: 3.8.0
Nio: None
zarr: None
cftime: 1.6.2
nc_time_axis: 1.4.1
PseudoNetCDF: None
iris: None
bottleneck: 1.3.5
dask: 2022.10.2
distributed: 2022.10.2
matplotlib: 3.6.2
cartopy: 0.21.0
seaborn: 0.13.1
numbagg: None
fsspec: 2022.11.0
cupy: None
pint: 0.20.1
sparse: 0.13.0
flox: None
numpy_groupies: None
setuptools: 65.5.1
pip: 22.3.1
conda: 23.9.0
pytest: None
mypy: None
IPython: 8.6.0
sphinx: None
Anything else we need to know?
No response
Beta Was this translation helpful? Give feedback.
All reactions