Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions scripts/exregional_nonvarcldanl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,12 @@ else
bkpath=${cycle_dir}${slash_ensmem_subdir}/fcst_fv3lam${cycle_tag}/INPUT
fi

if [ ${l_cld_uncertainty} == ".true." ]; then
# Copy analysis fields into uncertainties - data will be overwritten
echo "EXREGIONAL_NONVARCLDANL.SH: copy tracer file into uncertainty file "
cp_vrfy ${bkpath}/fv_tracer.res.tile1.nc ${bkpath}/fv_tracer.unc.tile1.nc
fi

n_iolayouty=$(($IO_LAYOUT_Y-1))
list_iolayout=$(seq 0 $n_iolayouty)

Expand All @@ -174,6 +180,9 @@ if [ -r "${bkpath}/coupler.res" ]; then # Use background from warm restart
if [ "${IO_LAYOUT_Y}" == "1" ]; then
ln_vrfy -s ${bkpath}/fv_core.res.tile1.nc fv3_dynvars
ln_vrfy -s ${bkpath}/fv_tracer.res.tile1.nc fv3_tracer
if [ ${l_cld_uncertainty} == ".true." ]; then
ln_vrfy -s ${bkpath}/fv_tracer.unc.tile1.nc fv3_tracer_unc
fi
ln_vrfy -s ${bkpath}/sfc_data.nc fv3_sfcdata
ln_vrfy -s ${bkpath}/phy_data.nc fv3_phydata
else
Expand All @@ -182,6 +191,9 @@ if [ -r "${bkpath}/coupler.res" ]; then # Use background from warm restart
iii=$(printf %4.4i $ii)
ln_vrfy -s ${bkpath}/fv_core.res.tile1.nc.${iii} fv3_dynvars.${iii}
ln_vrfy -s ${bkpath}/fv_tracer.res.tile1.nc.${iii} fv3_tracer.${iii}
if [ ${l_cld_uncertainty} == ".true." ]; then
ln_vrfy -s ${bkpath}/fv_tracer.unc.tile1.nc.${iii} fv3_tracer_unc.${iii}
fi
ln_vrfy -s ${bkpath}/sfc_data.nc.${iii} fv3_sfcdata.${iii}
ln_vrfy -s ${bkpath}/phy_data.nc.${iii} fv3_phydata.${iii}
ln_vrfy -s ${gridspec_dir}/fv3_grid_spec.${iii} fv3_grid_spec.${iii}
Expand Down Expand Up @@ -312,6 +324,7 @@ cat << EOF > gsiparm.anl
i_T_Q_adjust=${i_T_Q_adjust},
l_rtma3d=${l_rtma3d},
i_precip_vertical_check=${i_precip_vertical_check},
l_cld_uncertainty=${l_cld_uncertainty},
/
EOF

Expand Down
1 change: 1 addition & 0 deletions ush/config_defaults.sh
Original file line number Diff line number Diff line change
Expand Up @@ -721,6 +721,7 @@ i_use_2mT4B=0
i_T_Q_adjust=1
l_rtma3d=.false.
i_precip_vertical_check=0
l_cld_uncertainty=.false.
# &CHEM
laeroana_fv3smoke=.false.
berror_fv3_cmaq_regional=.false.
Expand Down