-
Notifications
You must be signed in to change notification settings - Fork 15
Automatically determine diags paths #299
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
Comments
Bump up this issue, when finalizing the |
@chengzhuzhang This might already be resolved... In the latest https://github.com/E3SM-Project/zppy/blob/main/zppy/e3sm_diags.py, we have the parameter inference feature to determine
The parameter inference feature was very extensive; I think it should cover many use cases. |
Oh, I didn't know. I think next step is to use it in .cfg to test if they work as intended. |
@chengzhuzhang Just note that some of @golaz's suggested use cases are beyond |
I looked at the inference code. It looks like reference_data_path can be inferred: |
in my current attempt, i removed all the reference data path in the config, and to see if zppy can find create the correct paths. |
Yes, it can be inferred, but an inference isn't a guarantee. It works fine if the reference data is where zppy thinks it will be. So, the inference will work if the reference data actually is at |
okay, got it. I think at this point we just need the standard paths, without needing to consider the edge cases mentioned. It looks like the bash file looks correct. I will update once the runs are finished. And in cases user needs to use a new obs path or they are not on a mache supported machines, they just need to manually add the paths parameters to point to the data. |
The code block at https://github.com/E3SM-Project/zppy/blob/main/zppy/e3sm_diags.py#L68 already allows for reference paths to be "guessed" from the main reference path given. This could be extended further -- for example,
dc_obs_climo
andts_obs
could similarly be "guessed" from the observation paths.The text was updated successfully, but these errors were encountered: