We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
For the piControl files in the CanESM5 model data in CMIP6, the time is not given in Datetime64, but in the following format:
<xarray.DataArray 'time' (time: 13980)> array([cftime.DatetimeNoLeap(5201, 1, 16, 12, 0, 0, 0, 1, 16), cftime.DatetimeNoLeap(5201, 2, 15, 0, 0, 0, 0, 3, 46), cftime.DatetimeNoLeap(5201, 3, 16, 12, 0, 0, 0, 4, 75), ..., cftime.DatetimeNoLeap(6200, 10, 16, 12, 0, 0, 0, 6, 289), cftime.DatetimeNoLeap(6200, 11, 16, 0, 0, 0, 0, 2, 320), cftime.DatetimeNoLeap(6200, 12, 16, 12, 0, 0, 0, 4, 350)], dtype=object) Coordinates: height float64 2.0
How to convert from this into datetime64?
The text was updated successfully, but these errors were encountered:
hi! the solution is explained in this issue here
Sorry, something went wrong.
No branches or pull requests
For the piControl files in the CanESM5 model data in CMIP6, the time is not given in Datetime64, but in the following format:
<xarray.DataArray 'time' (time: 13980)>
array([cftime.DatetimeNoLeap(5201, 1, 16, 12, 0, 0, 0, 1, 16),
cftime.DatetimeNoLeap(5201, 2, 15, 0, 0, 0, 0, 3, 46),
cftime.DatetimeNoLeap(5201, 3, 16, 12, 0, 0, 0, 4, 75), ...,
cftime.DatetimeNoLeap(6200, 10, 16, 12, 0, 0, 0, 6, 289),
cftime.DatetimeNoLeap(6200, 11, 16, 0, 0, 0, 0, 2, 320),
cftime.DatetimeNoLeap(6200, 12, 16, 12, 0, 0, 0, 4, 350)], dtype=object)
Coordinates:
height float64 2.0
Attributes:
bounds: time_bnds
axis: T
long_name: time
standard_name: time
How to convert from this into datetime64?
The text was updated successfully, but these errors were encountered: