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

910 pjg computeclimopts #911

Merged
merged 7 commits into from
Mar 29, 2023
Merged

910 pjg computeclimopts #911

merged 7 commits into from
Mar 29, 2023

Conversation

gleckler1
Copy link
Contributor

@lee1043 @acordonez I'm sure there is a cleaner way to do this but these options are now functional. OK to overhaul as needed! The first option enables removing the clim period from the file name (useful, e.g., when clim is based on the entire time series period which is already part of the filename). The second option is to modify the default clim output list. Parameter file I have tested this with: https://github.com/PCMDI/obs4MIPs-cmor-tables/blob/230_clims_pjg/inputs/pcmdi/mkClims/test_obs_param.py
You probably don't have permission to write to obs4MIPs database so if you want to test this you probably need to change output path.

@acordonez
Copy link
Collaborator

@gleckler1 I'll run the compute_climatologies notebook just to do some regression testing for pcmdi_metrics/mean_climate/pcmdi_compute_climatologies.py.

lee1043 added 4 commits March 29, 2023 08:52
minor change for pre-commit checking
minor change for pre-commit test
minor change for pre-commit test
@gleckler1
Copy link
Contributor Author

@lee1043 any hints regarding when these simple additions can be added? ;-)

@lee1043
Copy link
Contributor

lee1043 commented Mar 29, 2023

@gleckler1 sorry for the delay. I will check this and merge it today.

@lee1043 lee1043 self-requested a review March 29, 2023 21:27
@lee1043 lee1043 merged commit 4a4f63e into main Mar 29, 2023
@lee1043 lee1043 deleted the 910_pjg_computeclimopts branch March 29, 2023 21:27
@lee1043
Copy link
Contributor

lee1043 commented Mar 29, 2023

@gleckler1 just merged!

@gleckler1
Copy link
Contributor Author

@lee1043 Great, thank you! I'll take it for a spin!

@lee1043 lee1043 linked an issue Apr 3, 2023 that may be closed by this pull request
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.

add options to compute clims
3 participants