Skip to content

Commit

Permalink
Fix clm2 support
Browse files Browse the repository at this point in the history
  • Loading branch information
forsyth2 committed Jun 17, 2024
1 parent 0883805 commit d936b85
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions zppy/templates/ts.bash
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,11 @@ cat input.txt | ncclimo \
--dpf={{ dpf }} \
--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][:3] }}
{%- else %}
--prc_typ={{ prc_typ }}
{%- endif %}
Expand Down

0 comments on commit d936b85

Please sign in to comment.