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

add options to read in climatology calculated from given time period? #15

Closed
zshaheen opened this issue Jul 1, 2017 · 4 comments
Closed
Assignees

Comments

@zshaheen
Copy link
Contributor

zshaheen commented Jul 1, 2017

@chengzhuzhang wrote this:

such as
case_scripts_ANN_000101_001012_climo.nc
case_scripts_ANN_000101_000512_climo.nc
case_scripts_ANN_000601_001012_climo.nc

reference: sterling's work bench:
https://github.com/sterlingbaldwin/acme_workflow/blob/master/lib/util.py#L150

@zshaheen
Copy link
Contributor Author

zshaheen commented Jul 1, 2017

For this, if we have the Python parameters as:

test_name = 'case_scripts'
seasons = ['000101_001012', '000101_000512', '000601_001012']

It's kinda of a hack but it seemed to work for Sterling.
Your thoughts @chengzhuzhang?

@zshaheen
Copy link
Contributor Author

zshaheen commented Jul 1, 2017

@chengzhuzhang wrote this:

@zshaheen '000101_001012' should be extra parameters. which means climatology is calculated from Jan of first year to Dec of the first year. These climatology from different time periods are stored in the same directory, that's why we probably need more parameters to constrain the years. If each time period are saved in individual folders then, we only need to change test data path to accommodate. It really depends on the regridding process in the work flow...We can decide later if this needs to be implemented

@zshaheen
Copy link
Contributor Author

This will also be taken care of when the climo is implemented. When you have climo=False but start_yr and end_yr are defined, do what's explained in this issue.

@zshaheen
Copy link
Contributor Author

Works, we're just testing it. This will be released soon.

forsyth2 pushed a commit to forsyth2/e3sm_diags that referenced this issue Aug 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants