Ashar25 / RainyDay

0 stars 1 forks source link

Xarray can only take datetime object for 'ns' only and not for'm' #11

Closed Ashar25 closed 1 year ago

Ashar25 commented 1 year ago

The xarray object can only read time arrays as nanoseconds rather than minutes. Changing this can have severe issues in the future parts of the code.

danielbwright commented 1 year ago

It isn't limited to nanoseconds. Hours will also work. For some reason, however, minutes will not. So annoying.

danielbwright commented 1 year ago

Can we close this issue?

Ashar25 commented 1 year ago

I hope so. If it is okay to have cattime as numpy array, we can close this.