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

Feature: add randomization to converting 360_day cal to standard #841

Closed
dgergel opened this issue Sep 15, 2021 · 0 comments · Fixed by #875
Closed

Feature: add randomization to converting 360_day cal to standard #841

dgergel opened this issue Sep 15, 2021 · 0 comments · Fixed by #875
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@dgergel
Copy link

dgergel commented Sep 15, 2021

Currently in the calendar module, when using the convert_calendar function to convert a 360_day calendar to standard (or vice versa), whether the date or year option is chosen for align_on, the same dates of the year are always chosen, with the only difference being between leap and nonleap years.

One potential issue with this is that it might affect seasonal cycle behavior and show up in annual cycle statistics. To deal with this potential problem, the LOCA downscaling project chose a random day within a 72 day block to fill in each year, so that different days were getting filled in such that it would have no discernible effect on the annual cycle stats. They also interpolated days rather than filling in a missing day.

It seems like this would be a really useful feature to add in to xclim's calendar module.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants