From 4a9de4f8267db4d53b864d527a34636b83fbb294 Mon Sep 17 00:00:00 2001 From: George Gayno Date: Fri, 15 Dec 2023 20:36:57 +0000 Subject: [PATCH] Update control file for eventual new coldstart file directory for v2 surface test. Fixes #1977. --- tests/fv3_conf/cpld_control_run.IN | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tests/fv3_conf/cpld_control_run.IN b/tests/fv3_conf/cpld_control_run.IN index aa29a70262..53dac78e7c 100644 --- a/tests/fv3_conf/cpld_control_run.IN +++ b/tests/fv3_conf/cpld_control_run.IN @@ -15,6 +15,8 @@ fi ICERES=${OCNRES:0:1}.${OCNRES:1} +V2_SFC_FILE=${V2_SFC_FILE:-false} + if [[ $BMIC == .true. ]]; then FV3_IC=@[INPUTDATA_ROOT_BMIC]/${SYEAR}${SMONTH}${SDAY}${SHOUR}/@[FV3BMIC]/@[ATMRES]_L@[NPZ]/INPUT MOM_IC=@[INPUTDATA_ROOT_BMIC]/${SYEAR}${SMONTH}${SDAY}${SHOUR}/mom6_da @@ -25,7 +27,11 @@ else MOM_IC=@[INPUTDATA_ROOT]/MOM6_IC/${OCNRES}/${SYEAR}${SMONTH}${SDAY}${SHOUR} ICE_IC=@[INPUTDATA_ROOT]/CICE_IC/${OCNRES}/${SYEAR}${SMONTH}${SDAY}${SHOUR} else - FV3_IC=@[INPUTDATA_ROOT]/${FV3_DIR}/INPUT_L127_mx${OCNRES} + if [ "$V2_SFC_FILE" = "true" ]; then + FV3_IC=/scratch1/NCEPDEV/da/George.Gayno/ufs_utils.git/chgres_cube.fractional/RT/FV3_input_data/INPUT_L127_mx100.v2.sfc + else + FV3_IC=@[INPUTDATA_ROOT]/${FV3_DIR}/INPUT_L127_mx${OCNRES} + fi MOM_IC=@[INPUTDATA_ROOT]/MOM6_IC ICE_IC=@[INPUTDATA_ROOT]/CICE_IC/${OCNRES} fi