Skip to content

Commit

Permalink
Revert "Use fracoro data for all new UFS applications (#1182)"
Browse files Browse the repository at this point in the history
This reverts commit 1f258e4.
  • Loading branch information
WalterKolczynski-NOAA authored Jan 13, 2023
1 parent 1f258e4 commit 9725503
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 9 deletions.
2 changes: 1 addition & 1 deletion parm/config/config.init
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export GDASINIT_DIR=${UFS_DIR}/util/gdas_init
export CRES_HIRES=$CASE
export CRES_ENKF=$CASE_ENKF

export RUNICSH=${GDASINIT_DIR}/run_v17.chgres.sh
export RUNICSH=${GDASINIT_DIR}/run_v16.chgres.sh
if [ "${RETRO:-"NO"}" = "YES" ] || [ "$CDUMP" = "gdas" ]; then
export RUNICSH=${GDASINIT_DIR}/run_v16retro.chgres.sh
fi
Expand Down
8 changes: 6 additions & 2 deletions scripts/exgdas_atmos_gldas.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,12 @@ mkdir -p "${RUNDIR}/input"
ln -fs "${GDAS}" "${RUNDIR}/input/GDAS"
ln -fs "${EXECgldas:?}/gldas_model" "${RUNDIR}/LIS"

# Set FIXgldas subfolder
ln -fs "${FIXgldas}/frac_grid/FIX_T${JCAP}" "${RUNDIR}/FIX"
# Set FIXgldas subfolder based on FRAC_GRID value
if [[ "${FRAC_GRID:-".true."}" = ".true." ]] ; then
ln -fs "${FIXgldas}/frac_grid/FIX_T${JCAP}" "${RUNDIR}/FIX"
else
ln -fs "${FIXgldas}/nonfrac_grid/FIX_T${JCAP}" "${RUNDIR}/FIX"
fi

#---------------------------------------------------------------
### 1) Get gdas 6-tile netcdf restart file and gdas forcing data
Expand Down
24 changes: 18 additions & 6 deletions ush/forecast_postdet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -164,19 +164,31 @@ EOF

#--------------------------------------------------------------------------
# Grid and orography data
for n in $(seq 1 $ntiles); do
$NLN $FIXfv3/$CASE/${CASE}_grid.tile${n}.nc $DATA/INPUT/${CASE}_grid.tile${n}.nc
$NLN $FIXfv3/$CASE/${CASE}_oro_data.tile${n}.nc $DATA/INPUT/oro_data.tile${n}.nc
done

if [ $cplflx = ".false." ] ; then
$NLN $FIXfv3/$CASE/${CASE}_mosaic.nc $DATA/INPUT/grid_spec.nc
else
$NLN $FIXfv3/$CASE/${CASE}_mosaic.nc $DATA/INPUT/${CASE}_mosaic.nc
fi

OROFIX=${OROFIX:-"${FIX_DIR}/orog/${CASE}.mx${OCNRES}_frac"}
FIX_SFC=${FIX_SFC:-"${OROFIX}/fix_sfc"}
for n in $(seq 1 $ntiles); do
$NLN ${OROFIX}/oro_${CASE}.mx${OCNRES}.tile${n}.nc $DATA/INPUT/oro_data.tile${n}.nc
$NLN ${OROFIX}/${CASE}_grid.tile${n}.nc $DATA/INPUT/${CASE}_grid.tile${n}.nc
done
# Fractional grid related
if [ $FRAC_GRID = ".true." ]; then
OROFIX=${OROFIX:-"${FIX_DIR}/orog/${CASE}.mx${OCNRES}_frac"}
FIX_SFC=${FIX_SFC:-"${OROFIX}/fix_sfc"}
for n in $(seq 1 $ntiles); do
$NLN ${OROFIX}/oro_${CASE}.mx${OCNRES}.tile${n}.nc $DATA/INPUT/oro_data.tile${n}.nc
done
else
OROFIX=${OROFIX:-"${FIXfv3}/${CASE}"}
FIX_SFC=${FIX_SFC:-"${OROFIX}/fix_sfc"}
for n in $(seq 1 $ntiles); do
$NLN ${OROFIX}/${CASE}_oro_data.tile${n}.nc $DATA/INPUT/oro_data.tile${n}.nc
done
fi

export CCPP_SUITE=${CCPP_SUITE:-"FV3_GFS_v16"}
_suite_file=$HOMEgfs/sorc/ufs_model.fd/FV3/ccpp/suites/suite_${CCPP_SUITE}.xml
Expand Down

0 comments on commit 9725503

Please sign in to comment.