Skip to content

Commit

Permalink
Support clm2 files (#421)
Browse files Browse the repository at this point in the history
* add support for clm2 cam in e3sm_to_cmip call

* revise ncclimo call
  • Loading branch information
chengzhuzhang authored Apr 11, 2023
1 parent 7d782e4 commit 51460d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zppy/templates/ts.bash
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ cat input.txt | ncclimo \
--tpd={{ tpd }} \
{%- endif %}
{%- if input_files.split(".")[0] == 'cam' or input_files.split(".")[0] == 'eam' or input_files.split(".")[0] == 'elm' or input_files.split(".")[0] == 'clm2' %}
--prc_typ={{ input_files.split(".")[0] }}
--prc_typ={{ input_files.split(".")[0][:3] }}
{%- else %}
--prc_typ=sgs
{%- endif %}
Expand Down

0 comments on commit 51460d4

Please sign in to comment.