Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to decode time units 'months since 1900-01-01' with calendar 'gregorian'. #26

Open
tommylees112 opened this issue May 30, 2019 · 0 comments

Comments

@tommylees112
Copy link
Contributor

The error message suggests using the decode_times=False option. But this outputs just an array of integers.

In [17]: d = xr.open_dataset(chirps_dir, decode_times=False)

In [18]: d
Out[18]:
<xarray.Dataset>
Dimensions:  (lat: 45, lon: 35, time: 1440)
Coordinates:
  * time     (time) float32 0.0 1.0 2.0 3.0 4.0 ... 1436.0 1437.0 1438.0 1439.0
  * lon      (lon) float32 33.625 33.875 34.125 34.375 ... 41.625 41.875 42.125
  * lat      (lat) float32 -5.125 -4.875 -4.625 -4.375 ... 5.375 5.625 5.875
Data variables:
    precip   (time, lat, lon) float32 ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant