Skip to content

Commit

Permalink
- added links for Thompson lookup tables
Browse files Browse the repository at this point in the history
- corrected setting of gPDY and gcyc in forecast_predet.sh script
  • Loading branch information
jkhender committed Feb 5, 2020
1 parent 5815c4d commit 6397f5e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions scripts/forecast_predet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -218,8 +218,8 @@ FV3_GFS_predet(){
if [ ! -d $memdir ]; then mkdir -p $memdir; fi

GDATE=$($NDATE -$assim_freq $CDATE)
gPDY=$(echo $CDATE | cut -c1-8)
gcyc=$(echo $CDATE | cut -c9-10)
gPDY=$(echo $GDATE | cut -c1-8)
gcyc=$(echo $GDATE | cut -c9-10)
gmemdir=$ROTDIR/${rprefix}.$gPDY/$gcyc/$memchar
sCDATE=$($NDATE -3 $CDATE)

Expand Down
5 changes: 4 additions & 1 deletion scripts/parsing_namelists_FV3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,11 @@ $NCP $FIELD_TABLE $DATA/field_table
####
# copy CCN_ACTIVATE.BIN for Thompson microphysics
if [ $imp_physics -eq 8 ]; then
$NCP $FV3INP/CCN_ACTIVATE.BIN CCN_ACTIVATE.BIN
$NLN $FV3INP/CCN_ACTIVATE.BIN CCN_ACTIVATE.BIN
fi
$NLN $FV3INP/freezeH2O.dat freezeH2O.dat
$NLN $FV3INP/qr_acr_qg.dat qr_acr_qg.dat
$NLN $FV3INP/qr_acr_qs.dat qr_acr_qs.dat

cat > input.nml <<EOF
&amip_interp_nml
Expand Down

0 comments on commit 6397f5e

Please sign in to comment.