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

Fix decadal calendar #263

Merged
merged 4 commits into from
Nov 14, 2024
Merged

Fix decadal calendar #263

merged 4 commits into from
Nov 14, 2024

Conversation

cehbrecht
Copy link
Collaborator

@cehbrecht cehbrecht commented Nov 14, 2024

Overview

This PR fixes an issue with cmip6-decadal data when both the Gregorian and Proleptic Gregorian calendar are used. The solution is to set Proleptic Gregorian calendar to Gregorian (Standard) which is the same after the year 1582.

Changes:

  • Added a decadal_fix_calendar fixing function.

Related Issue / Discussion

Additional Information

See notebook in rooki:
https://github.com/roocs/rooki/blob/master/notebooks/errors/cds-error-2024-08-28-cmip6-decadal.ipynb

@cehbrecht cehbrecht self-assigned this Nov 14, 2024
@cehbrecht cehbrecht force-pushed the fix-decadal-calendar branch from 5c949a8 to 53a82b5 Compare November 14, 2024 16:35
@cehbrecht cehbrecht merged commit 90396e9 into master Nov 14, 2024
8 checks passed
@cehbrecht cehbrecht deleted the fix-decadal-calendar branch November 14, 2024 16:47
@cehbrecht cehbrecht mentioned this pull request Nov 19, 2024
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

Successfully merging this pull request may close these issues.

1 participant