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

Determine time chunks based on calendar #11

Closed
duncanwp opened this issue Nov 4, 2022 · 2 comments
Closed

Determine time chunks based on calendar #11

duncanwp opened this issue Nov 4, 2022 · 2 comments

Comments

@duncanwp
Copy link

duncanwp commented Nov 4, 2022

Current daily data processing (as introduced in #9) has to make some pretty rough assumptions about sensible time chunks.

The current chunking uses a mixture of 360-day and Julien years and can only assume 30 day months. It would be more user friendly to chunk into calendar months and years as per the underling calendar.

As far as I can tell the ESGF metadata doesn't include calendar information and this would have to be discerned from the time coordinate metadata in each file. I think it's safe to assume the calendar is the same for multiple files with the same ID, but will differ by model and may well differ between experiments and activities for each model.

@jbusecke
Copy link
Owner

Linking pangeo-forge/pangeo-forge-recipes#572 (comment) here. Once that is implemented this could be a very useful rechunking 'plugin'!

@jbusecke
Copy link
Owner

Also closing this in favor of moving discussions over to PGF-recipes if that is ok.

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