Skip to content

Commit

Permalink
add RTMA-specific cloud analysis parameters, update RTMA config files…
Browse files Browse the repository at this point in the history
…, bug fix (NOAA-EMC#413)
  • Loading branch information
guoqing-noaa committed Aug 3, 2022
1 parent 84ed595 commit e51a45f
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 10 deletions.
3 changes: 3 additions & 0 deletions scripts/exregional_nonvarcldanl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,9 @@ cat << EOF > gsiparm.anl
l_saturate_bkCloud=.true.,
l_qnr_from_qr=${l_qnr_from_qr},
n0_rain=100000000.0
i_T_Q_adjust=${i_T_Q_adjust},
l_rtma3d=${l_rtma3d},
i_precip_vertical_check=${i_precip_vertical_check},
/
EOF

Expand Down
33 changes: 26 additions & 7 deletions ush/config.sh.RTMA_CONUS_3km
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ source fix_rrfs_locations.sh #determine current platform
MACHINE=${PLATFORM}
ACCOUNT="nrtrr"
RESERVATION="rrfsdet"
RESERVATION_POST="rrfsdet"
EXPT_BASEDIR="/home/rtrr/RTMA"
EXPT_SUBDIR="RTMA_CONUS"

Expand All @@ -14,13 +15,17 @@ if [[ -n $RESERVATION ]] ; then
PARTITION_GRAPHICS=kjet
PARTITION_ANALYSIS=kjet
PARTITION_WGRIB2=kjet
PARTITION_POST=kjet

QUEUE_DEFAULT="rt"
QUEUE_FCST="rt"
QUEUE_ANALYSIS="rt"
QUEUE_WGRIB2="rt"
QUEUE_GRAPHICS="rt"
QUEUE_HPSS="rt"
if [[ -n ${RESERVATION_POST} ]] ; then
QUEUE_POST="rt"
fi
fi

OBSPATH_NSSLMOSIAC=/public/data/radar/nssl/mrms/conus
Expand Down Expand Up @@ -85,16 +90,21 @@ readin_localization=.true. #if true, it overwrites the "beta1_inv/ens_h/ens_
beta1_inv=0.5 #beata_inv is 1-ensemble_wgt
ens_h=20 #110
ens_v=1 #3
regional_ensemble_option=1 #1 for GDAS
regional_ensemble_option=5 #1 for GDAS, 5 for RRFSDAS
grid_ratio_fv3=2.0 #fv3 resolution 3km, so analysis=3*2=6km
grid_ratio_ens=3 #analysis 6km, so ensemble=6*3=18km. GDAS ensemble is 20km
##MEMO1: regional_ensemble_option=5 will be changed to 1 if there are not enough RRFS ensembles at the runtime.
##MEMO2: grid_ratio_ens will be hardwired to 1 for RRFSDAS, so grid_ratio_ens here only affects GDAS.
i_en_perts_io=1 #0 or 1: original file 3: pre-processed ensembles

# &RAPIDREFRESH_CLDSURF
l_PBL_pseudo_SurfobsT=.false.
l_PBL_pseudo_SurfobsQ=.false
i_use_2mQ4B=0
i_use_2mT4B=0
i_T_Q_adjust=1
l_rtma3d=.true.
i_precip_vertical_check=3
#-------------------------------------------------------------------------------------
#
BERROR_FN="berror.rtma" #under $FIX_GSI
Expand All @@ -116,8 +126,8 @@ EXTRN_MDL_LBCS_SEARCH_OFFSET_HRS="0"
BOUNDARY_LEN_HRS="1"
BOUNDARY_LONG_LEN_HRS="1"

DATE_FIRST_CYCL="20220406"
DATE_LAST_CYCL="20220626"
DATE_FIRST_CYCL="20220801"
DATE_LAST_CYCL="20221231"
CYCL_HRS=( "00" "12" )
CYCL_HRS_SPINSTART=("03" "15")
CYCL_HRS_PRODSTART=("99") # RTMA always warm-starts
Expand All @@ -144,6 +154,9 @@ for i in {0..23}; do FCST_LEN_HRS_CYCLES[$i]=0.0003; done
DA_CYCLE_INTERV="1" #need to be 1 to have hourly DA
RESTART_INTERVAL="1"

USE_RRFSE_ENS="TRUE"
CYCL_HRS_HYB_FV3LAM_ENS=("19" "20" "21" "22" "23" "00")

NCORES_RUN_ANAL=240
WTIME_RUN_ANAL="01:00:00"
HYBENSMEM_NMIN=66
Expand Down Expand Up @@ -221,11 +234,16 @@ OBSPATH="/lfs4/BMC/wrfruc/gge/rtma/wcoss_obs"
STMP="/lfs4/BMC/nrtrr/NCO_dirs/stmp" # Path to directory STMP that mostly contains input files.
PTMP="/lfs4/BMC/nrtrr/NCO_dirs/ptmp" # Path to directory STMP that mostly contains input files.
NWGES="/lfs4/BMC/nrtrr/NCO_dirs/nwges" # Path to directory NWGES that save boundary, cold initial, restart files
if [[ ${regional_ensemble_option} == "5" ]]; then
RRFSE_NWGES="/lfs4/BMC/wrfruc/RRFSE/NCO_dirs/nwges" # Path to RRFSE directory NWGES that mostly contains ensemble restart files for GSI hybrid.
NUM_ENS_MEMBERS=30 # FV3LAM ensemble size for GSI hybrid analysis
fi

# change settings if it is wcoss_dell_p3
if [[ "$MACHINE" == "wcoss_dell_p3" ]]; then
ACCOUNT="RTMA-T2O"
RESERVATION=""
RESERVATION_POST=""
EXPT_BASEDIR="/gpfs/dell2/emc/modeling/save/${USER}/RTMA-CONUS"
SERVICE_ACCOUNT=""
PARTITION_DEFAULT=""
Expand All @@ -238,6 +256,10 @@ if [[ "$MACHINE" == "wcoss_dell_p3" ]]; then
OBSPATH_NSSLMOSIAC="/gpfs/dell1/nco/ops/dcom/prod/ldmdata/obs/upperair/mrms/conus/MergedReflectivityQC"
AIRCRAFT_REJECT="/gpfs/dell2/emc/modeling/noscrub/Edward.Colon/FixData/obsuselist/amdar_reject_lists"
SFCOBS_USELIST="/gpfs/dell2/emc/modeling/noscrub/Edward.Colon/FixData/obsuselist/mesonet_uselists"

regional_ensemble_option=1
USE_RRFSE_ENS="FALSE"
CYCL_HRS_HYB_FV3LAM_ENS=("99")

WTIME_RUN_ANAL="00:30:00"
NNODES_RUN_ANAL="28"
Expand All @@ -262,7 +284,4 @@ if [[ "$MACHINE" == "wcoss_dell_p3" ]]; then
PTMP="/gpfs/dell2/ptmp/${USER}/ptmp"
NWGES="/gpfs/dell2/ptmp/${USER}/nwges"
fi
# Wait longer for rrfsdas
#if [[ "$MACHINE" == "jet" ]] && [[ $regional_ensemble_option -eq 5 ]] ; then
# START_TIME_ANAL="5:00:00"
#fi

8 changes: 7 additions & 1 deletion ush/config.sh.RTMA_NA_3km
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ if [[ -n $RESERVATION ]] ; then
PARTITION_GRAPHICS=kjet
PARTITION_ANALYSIS=kjet
PARTITION_WGRIB2=kjet
PARTITION_POST=kjet

QUEUE_DEFAULT="rt"
QUEUE_FCST="rt"
Expand Down Expand Up @@ -88,16 +89,21 @@ readin_localization=.true. #if true, it overwrites the "beta1_inv/ens_h/ens_
beta1_inv=0.5 #beata_inv is 1-ensemble_wgt
ens_h=20 #110
ens_v=1 #3
regional_ensemble_option=1 #1 for GDAS
regional_ensemble_option=1 #1 for GDAS, 5 for RRFSDAS
grid_ratio_fv3=2.0 #fv3 resolution 3km, so analysis=3*2=6km
grid_ratio_ens=3 #analysis 6km, so ensemble=6*3=18km. GDAS ensemble is 20km
##MEMO1: regional_ensemble_option=5 will be changed to 1 if there are not enough RRFS ensembles at the runtime.
##MEMO2: grid_ratio_ens will be hardwired to 1 for RRFSDAS, so grid_ratio_ens here only affects GDAS.
i_en_perts_io=1 #0 or 1: original file 3: pre-processed ensembles

# &RAPIDREFRESH_CLDSURF
l_PBL_pseudo_SurfobsT=.false.
l_PBL_pseudo_SurfobsQ=.false
i_use_2mQ4B=0
i_use_2mT4B=0
i_T_Q_adjust=1
l_rtma3d=.true.
i_precip_vertical_check=3
#-------------------------------------------------------------------------------------
#
BERROR_FN="berror.rtma" #under $FIX_GSI
Expand Down
3 changes: 3 additions & 0 deletions ush/config_defaults.sh
Original file line number Diff line number Diff line change
Expand Up @@ -633,6 +633,9 @@ l_PBL_pseudo_SurfobsT=.false.
l_PBL_pseudo_SurfobsQ=.false.
i_use_2mQ4B=0
i_use_2mT4B=0
i_T_Q_adjust=1
l_rtma3d=.false.
i_precip_vertical_check=0
#-----------------------------------------------------------------------
# HYBENSMEM_NMIN:
# Minimum number of ensemble members required a hybrid GSI analysis
Expand Down
8 changes: 6 additions & 2 deletions ush/templates/FV3LAM_wflow.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1130,7 +1130,7 @@ MODULES_RUN_TASK_FP script.
<taskdep task="&RUN_ENKFUPDT_TN;"/>
{%- endif %}
</and>
{%- else %}
{%- elif do_envar_radar_ref %}
<or>
<and>
<taskdep task="&ANAL_GSI_TN;_#type#"/>
Expand All @@ -1147,7 +1147,10 @@ MODULES_RUN_TASK_FP script.
</or>
</and>
</or>
{%- else %}
<taskdep task="&ANAL_GSI_TN;_#type#"/>
{%- endif %}
</and>
</dependency>

</task>
Expand Down Expand Up @@ -1234,6 +1237,7 @@ MODULES_RUN_TASK_FP script.
************************************************************************
************************************************************************
-->
{% if not is_rtma %}
<metatask name="&SAVE_RESTART_TN;_prod">

<var name="fhr"> {{ restart_hrs_prod }} </var>
Expand Down Expand Up @@ -1272,7 +1276,7 @@ MODULES_RUN_TASK_FP script.
</task>

</metatask>

{%- endif %}
<!--
************************************************************************
************************************************************************
Expand Down

0 comments on commit e51a45f

Please sign in to comment.