From 51460d4e49fb1e0569882657d94af21073ce4c61 Mon Sep 17 00:00:00 2001 From: Jill Chengzhu Zhang Date: Tue, 11 Apr 2023 13:52:23 -0700 Subject: [PATCH] Support clm2 files (#421) * add support for clm2 cam in e3sm_to_cmip call * revise ncclimo call --- zppy/templates/ts.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zppy/templates/ts.bash b/zppy/templates/ts.bash index 0d2f7957..23cbe656 100644 --- a/zppy/templates/ts.bash +++ b/zppy/templates/ts.bash @@ -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 %}