Skip to content

Commit

Permalink
Changes to how the flags for the Cloud and Aerosol Detection Software…
Browse files Browse the repository at this point in the history
… (CADS) are used. Added the CADS flag initialization (and potential changes)to config.anal. Removed the hard-wired CADS flags in exglobal.atmos.analysis.sh and made them variables.
  • Loading branch information
wx20jjung committed Apr 23, 2024
1 parent 06c7b90 commit 696dcf9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
4 changes: 4 additions & 0 deletions parm/config/gfs/config.anal
Original file line number Diff line number Diff line change
Expand Up @@ -150,4 +150,8 @@ if [[ ${RUN_ENVIR} == "emc" ]]; then
# fi
fi

export AIRS_CADS=${AIRS_CADS:-".false."}
export CRIS_CADS=${CRIS_CADS:-".false."}
export IASI_CADS=${IASI_CADS:-".false."}

echo "END: config.anal"
7 changes: 6 additions & 1 deletion scripts/exglobal_atmos_analysis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -678,14 +678,19 @@ if [ ${DOHYBVAR} = "YES" ]; then
SETUP="niter(1)=50,niter(2)=150,niter_no_qc(1)=25,niter_no_qc(2)=0,thin4d=.true.,ens_nstarthr=3,l4densvar=${l4densvar},lwrite4danl=${lwrite4danl},${SETUP}"
JCOPTS="ljc4tlevs=.true.,${JCOPTS}"
STRONGOPTS="tlnmc_option=3,${STRONGOPTS}"
OBSQC="c_varqc=0.04,airs_cads=.false.,cris_cads=.false.,iasi_cads=.false.,${OBSQC}"
OBSQC="c_varqc=0.04,${OBSQC}"
fi
fi

if [ ${DONST} = "YES" ]; then
NST="nstinfo=${NSTINFO},fac_dtl=${FAC_DTL},fac_tsl=${FAC_TSL},zsea1=${ZSEA1},zsea2=${ZSEA2},${NST}"
fi

export AIRS_CADS=${AIRS_CADS:-".false."}
export CRIS_CADS=${CRIS_CADS:-".false."}
export IASI_CADS=${IASI_CADS:-".false."}
OBSQC="airs_cads={AIRS_CADS},cris_cads=${CRIS_CADS},iasi_cads=${IASI_CADS},${OBSQC}"

##############################################################
# Create global_gsi namelist
cat > gsiparm.anl << EOF
Expand Down

0 comments on commit 696dcf9

Please sign in to comment.