Zppy pcmdi new#718
Conversation
Changes are made in the pcmdi_diags.bash to change the worflow to be more modulized and easier to read
variables were not included in e3sm_to_cmip module
Bug fix to allow the diagnostic workflow work for piControl simulation
forsyth2
left a comment
There was a problem hiding this comment.
@zhangshixuan1987 I made this PR to compare against main (see note at #656 (comment)), since I'm assuming that's what was actually intended.
I took a very high level look, but we're going to have to get this rebased off the latest main before I can really understand what the additions are.
I will try to do what I can in a code clean up commit.
| @@ -0,0 +1,34 @@ | |||
| name: zppy_dev | |||
There was a problem hiding this comment.
This file can probably be removed. Is it used anywhere?
| [ts] | ||
| area_nm = string(default="area") | ||
| cmip_metadata = string(default="inclusions/e3sm_to_cmip/default_metadata.json") | ||
| cmip_plevdata = string(default="inclusions/e3sm_to_cmip/vrt_remap_plev19.nc") |
There was a problem hiding this comment.
This code needs to be rebased off the latest main. cmip_metadata isn't handled under ts anymore, but rather under the new e3sm_to_cmip task.
| backend = string(default="mpl") | ||
| cfg = string(default="") |
There was a problem hiding this comment.
Not used; should make sure every parameter is needed
| @@ -0,0 +1,872 @@ | |||
| # Script to plot some global atmosphere and ocean time series | |||
There was a problem hiding this comment.
This addition undoes the refactor; I also don't think it's used.
| echo ============================================== | ||
| rm -f {{ prefix }}.status | ||
| echo 'OK' > {{ prefix }}.status | ||
| exit 0 |
There was a problem hiding this comment.
We should move some of this into zppy-interfaces. We shouldn't have a 1300-line bash file in zppy; these bash files should be pretty minimal.
| mkdir -p ${dest_cmip} | ||
|
|
||
| {{ e3sm_to_cmip_environment_commands }} | ||
|
|
There was a problem hiding this comment.
Yes, this needs to be rebased off the refactored code to use the e3sm_to_cmip task.
|
I actually see that e7dda21 is the first commit out of 24 here. That commit is the only one on https://github.com/E3SM-Project/zppy/pull/647/commits, so yes I'm fairly certain the intention was for these commits to go into |
|
Replaced by #719. |
Summary
This is an alternative to #656 that wants to merge to
mainrather thanzppy_pcmdi(which is #647's branch)Objectives:
Issue resolution:
Select one: This pull request is...
Big Change
1. Does this do what we want it to do?
Required:
If applicable:
2. Are the implementation details accurate & efficient?
Required:
If applicable:
zppy/conda, not just animportstatement.3. Is this well documented?
Required:
4. Is this code clean?
Required:
If applicable: