-
Notifications
You must be signed in to change notification settings - Fork 8
esmlab.anomaly generating error, unrealistically large time values #162
Comments
Looking at the two files,
yields the same traceback:
What's odd is that I can't find the index of
outputs
So I guess an internal |
If I change So, @mnlevy1981 , I also think there is problem in The |
I think @andersy005 is going to need to look into this one, but I just want to point out that your block of code runs fine if you do not decode time when opening the dataset:
That might be a useful workaround until this issue can be resolved. |
Thanks for the workaround @mnlevy1981
|
I got bit by this again, in a workflow where there wasn't a convenient good I found that modifying the Any chance that this will get looked at in the near future? |
When I run the commands in the following code snippet, I get a ValueError exception. The Traceback is below the code snippet. The values listed in the
cftime.DatetimeNoLeap
call in the Traceback are fairly suspicious, as if something were uninitialized.The call to
esmlab.anomaly
works fine if I comment out the 2ndfname
setting, and use a timeseries from CESM2's atm component. I don't see a smoking gun difference between the file that triggers the exception and the file that doesn't.Code Snippet
Traceback
Output of
esmlab.show_versions()
INSTALLED VERSIONS
commit: None
python: 3.7.3 | packaged by conda-forge | (default, Jul 1 2019, 21:52:21)
[GCC 7.3.0]
python-bits: 64
OS: Linux
OS-release: 3.10.0-693.21.1.el7.x86_64
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: en_US.UTF-8
LANG: en_US.UTF-8
LOCALE: en_US.UTF-8
esmlab: 2019.4.27.post43
xarray: 0.14.0
pandas: 0.25.2
numpy: 1.17.3
scipy: 1.3.1
xesmf: 0.2.1
cftime: 1.0.3.4
dask: 2.6.0
distributed: 2.6.0
setuptools: 41.4.0
pip: 19.3.1
conda: None
pytest: None
IPython: 7.9.0
sphinx: None
The text was updated successfully, but these errors were encountered: