Skip to content

Commit

Permalink
Address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
forsyth2 committed Dec 12, 2024
1 parent e93a577 commit bfb0fc6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 12 deletions.
2 changes: 2 additions & 0 deletions zppy/defaults/default.ini
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,8 @@ input_component = string(default="")
[e3sm_to_cmip]
cmip_metadata = string(default="inclusions/e3sm_to_cmip/default_metadata.json")
# Model component having generated input files (eam, eamxx, elm, mosart, ...)
cmip_var_atm = string(default="pr, tas, rsds, rlds, rsus")
cmip_var_land = string(default="mrsos, mrso, mrfso, mrros, mrro, prveg, evspsblveg, evspsblsoi, tran, tsl, lai, cLitter, cProduct, cSoilFast, cSoilMedium, cSoilSlow, fFire, fHarvest, cVeg, nbp, gpp, ra, rh")
input_component = string(default="")

[[__many__]]
Expand Down
10 changes: 0 additions & 10 deletions zppy/e3sm_diags.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,16 +295,6 @@ def add_ts_dependencies(
end_yr,
c["ts_num_years"],
)
# e3sm_to_cmip task
add_dependencies(
dependencies,
script_dir,
"e3sm_to_cmip",
ts_sub, # Relies on having the same subsection name as the corresponding ts subsection!
start_yr,
end_yr,
c["ts_num_years"],
)
if "streamflow" in c["sets"]:
add_dependencies(
dependencies,
Expand Down
4 changes: 2 additions & 2 deletions zppy/templates/e3sm_to_cmip.bash
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ EOF
${dest_cmip}/${tmp_dir} \
{% if input_files.split(".")[0] == 'clm2' or input_files.split(".")[0] == 'elm' -%}
--var-list \
'mrsos, mrso, mrfso, mrros, mrro, prveg, evspsblveg, evspsblsoi, tran, tsl, lai, cLitter, cProduct, cSoilFast, cSoilMedium, cSoilSlow, fFire, fHarvest, cVeg, nbp, gpp, ra, rh' \
'{{ cmip_var_lnd }}' \
--realm \
lnd \
{% endif -%}
{% if input_files.split(".")[0] == 'cam' or input_files.split(".")[0] == 'eam' -%}
--var-list \
'pr, tas, rsds, rlds, rsus' \
'{{ cmip_var_atm }}' \
--realm \
atm \
{% endif -%}
Expand Down

0 comments on commit bfb0fc6

Please sign in to comment.