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
The LUH2 datasets have a non-standard time units (years since 2015-01-01 0:0:0) which causes open_rasterio() to fail with an exception. The error message suggest passing the flag decode_times=False or installing cftime. Neither approach solved the problem for me.
It would be great if rioxarray had the equivalent of decode_times for datasets like this one.
Caveat: I don't get an exception when opening the file remotely via http:// You will need to download the file and run it locally.
Code Sample
NOTE: The dataset is available from the LUH2 site.
Problem description
The LUH2 datasets have a non-standard time units (
years since 2015-01-01 0:0:0
) which causesopen_rasterio()
to fail with an exception. The error message suggest passing the flagdecode_times=False
or installingcftime
. Neither approach solved the problem for me.It would be great if rioxarray had the equivalent of
decode_times
for datasets like this one.Caveat: I don't get an exception when opening the file remotely via http:// You will need to download the file and run it locally.
Expected Output
open_rasterio()
succeeds.Environment Information
Installation method
Packages
The text was updated successfully, but these errors were encountered: