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

time issue with CanESM5_piControl since time spans ~thousands of years #109

Open
stinsage opened this issue Oct 21, 2019 · 1 comment
Open

Comments

@stinsage
Copy link
Contributor

stinsage commented Oct 21, 2019

@daliagachc

path_ctrl_tas = 'shared-cmip6-for-ns1000k/piControl/CanESM5/r1i1p1f1/tas_Amon_CanESM5_piControl_r1i1p1f1_gn*'
ctrl_tas = xr.open_mfdataset(path_ctrl_tas,combine='nested', concat_dim='time')

tas_test = zarray.check_transform_cftime_dim_2_timestamp(ctrl_tas)

Error message:
OutOfBoundsDatetime: Out of bounds nanosecond timestamp: 5201-01-16 12:00:00
@daliagachc daliagachc changed the title Diego: time-issue time issue with CanESM5_piControl since time spans ~thousands of years Oct 21, 2019
@daliagachc
Copy link
Contributor

@stinsage
i wrote a function that slices and changes the time. its in
negi_stuff.modules.zarray.slice_and_convert_long_model_ds

make sure you update(pull) negi_stuff

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

2 participants