Skip to content

Commit

Permalink
Update configure files for conus 13km on hera. (NOAA-EMC#470)
Browse files Browse the repository at this point in the history
Added: ncatted -O -a source,global,c,c,'FV3GFS GAUSSIAN NETCDF FILE' gfs_data.nc
  • Loading branch information
hu5970 authored Jan 7, 2023
1 parent a0cd84e commit 562b92e
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 43 deletions.
6 changes: 6 additions & 0 deletions scripts/exregional_run_prepstart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,7 @@ else
for file in ${filelistn}; do
ncatted -a checksum,,d,, ${file}
done
ncatted -O -a source,global,c,c,'FV3GFS GAUSSIAN NETCDF FILE' fv_core.res.tile1.nc
else
for file in ${filelistn}; do
for ii in $list_iolayout
Expand All @@ -388,6 +389,11 @@ else
ncatted -a checksum,,d,, ${file}.${iii}
done
done
for ii in $list_iolayout
do
iii=$(printf %4.4i $ii)
ncatted -O -a source,global,c,c,'FV3GFS GAUSSIAN NETCDF FILE' fv_core.res.tile1.nc.${iii}
done
fi
ncatted -a checksum,,d,, fv_core.res.nc

Expand Down
36 changes: 21 additions & 15 deletions ush/config.sh.RRFS_CONUS_13km
Original file line number Diff line number Diff line change
@@ -1,23 +1,21 @@
MACHINE="hera"
version="v0.3.2"
version="v0.3.3"
ACCOUNT="nrtrr"
#RESERVATION="rrfsdet"
#RESERVATION_POST="rrfsdet"
EXPT_BASEDIR="YourOwnSpace/rrfs.${version}"
EXPT_SUBDIR="RRFS_CONUS_13km"
EXPT_SUBDIR="rrfs_conus_13km"

PREDEF_GRID_NAME=RRFS_CONUS_13km
. set_rrfs_config_general.sh

DO_DACYCLE="TRUE"
DO_SURFACE_CYCLE="TRUE"
DO_SPINUP="TRUE"
#DO_POST_SPINUP="TRUE"
DO_POST_SPINUP="FALSE"
DO_POST_PROD="TRUE"
DO_RETRO="TRUE"
DO_NONVAR_CLDANAL="TRUE"
#USE_RRFSE_ENS="TRUE"
CYCL_HRS_HYB_FV3LAM_ENS=("01" "02" "03" "04" "05" "06" "07" "08" "09" "10" "11" "12" "13" "14" "15" "16" "17" "18" "19" "20" "21" "22" "23" "00")
DO_ENVAR_RADAR_REF="TRUE"
DO_SMOKE_DUST="FALSE"
DO_REFL2TTEN="FALSE"
Expand All @@ -27,13 +25,6 @@ DO_SOIL_ADJUST="TRUE"
DO_RADDA="FALSE"
DO_BUFRSND="FALSE"

NET="rrfs_b"
TAG="RRFS_CONUS_13km"
ARCHIVEDIR="/1year/BMC/wrfruc/rrfs_dev1"
NCL_REGION="conus"
MODEL="rrfs_conus_13km"
RUN="rrfs_conus_13km"

EXTRN_MDL_ICS_OFFSET_HRS="3"
LBC_SPEC_INTVL_HRS="1"
EXTRN_MDL_LBCS_OFFSET_HRS="6"
Expand Down Expand Up @@ -78,26 +69,41 @@ for i in {0..23}; do FCST_LEN_HRS_CYCLES[$i]=3; done
for i in {0..23..3}; do FCST_LEN_HRS_CYCLES[$i]=12; done
DA_CYCLE_INTERV="1"
RESTART_INTERVAL="1"
RESTART_INTERVAL_LONG="1 2"

USE_RRFSE_ENS="FALSE"
CYCL_HRS_HYB_FV3LAM_ENS=("00" "01" "02" "03" "04" "05" "06" "07" "08" "09" "10" "11" "12" "13" "14" "15" "16" "17" "18" "19" "20" "21" "22" "23")

SST_update_hour=01
GVF_update_hour=04
SNOWICE_update_hour=00
netcdf_diag=.true.
binary_diag=.false.
SOIL_SURGERY_time=2022020704

regional_ensemble_option=5

EXTRN_MDL_NAME_ICS="FV3GFS"
EXTRN_MDL_NAME_LBCS="FV3GFS"

envir="para"

NET="rrfs"
TAG="rrfs_c13v33"
ARCHIVEDIR="/1year/BMC/wrfruc/rrfs_dev1"
NCL_REGION="conus"
MODEL="rrfs_c13v33"
RUN="rrfs"

. set_rrfs_config.sh

STMP="YourOwnSpace/${version}/stmp" # Path to directory STMP that mostly contains input files.
PTMP="YourOwnSpace/${version}" # Path to directory STMP that mostly contains input files.
PTMP="YourOwnSpace/${version}/${envir}" # Path to directory STMP that mostly contains input files.
NWGES="YourOwnSpace/${version}/nwges/${envir}/${NET}" # Path to directory NWGES that save boundary, cold initial, restart files
if [[ ${regional_ensemble_option} == "5" ]]; then
RRFSE_NWGES="YourOwnSpace/${version}/nwges/${envir}/${NET}" # Path to RRFSE directory NWGES that mostly contains ensemble restart files for GSI hybrid.
RRFSE_NWGES="YourOwnSpace/${version}/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
CYCL_HRS_PRODSTART_ENS=("07" "19")
CYCL_HRS_PRODSTART_ENS=( "19" )
DO_ENVAR_RADAR_REF="TRUE"
fi

51 changes: 23 additions & 28 deletions ush/config.sh.RRFS_CONUS_13km_ens
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ DO_ENSEMBLE="TRUE"
#DO_DACYCLE="TRUE"
#DO_SURFACE_CYCLE="TRUE"
DO_SPINUP="TRUE"
DO_SAVE_INPUT="TRUE"
DO_POST_SPINUP="FALSE"
DO_POST_PROD="TRUE"
DO_POST_PROD="FALSE"
DO_RETRO="TRUE"
DO_NONVAR_CLDANAL="TRUE"
DO_SMOKE_DUST="FALSE"
Expand All @@ -24,27 +25,18 @@ DO_SMOKE_DUST="FALSE"
#FH_DFI_RADAR="0.0,0.25,0.5"
#DO_SOIL_ADJUST="TRUE"
#DO_RADDA="FALSE"

NCL_REGION="conus"
MODEL="rrfs_b"
NET="RRFS_CONUS"
TAG="RRFSE_CONUS_13km"
RUN="rrfs_conus_13km_ensda"
if [[ ${DO_ENSFCST} == "TRUE" ]] ; then
DO_SPINUP="FALSE"
DO_SAVE_INPUT="FALSE"
DO_NONVAR_CLDANAL="FALSE"
DO_POST_PROD="TRUE"
fi
if [[ ${DO_ENSFCST} == "TRUE" ]]; then
RUN="rrfs_conus_13km_ensfcst"
fi

EXTRN_MDL_ICS_OFFSET_HRS="30"
LBC_SPEC_INTVL_HRS="1"
EXTRN_MDL_LBCS_OFFSET_HRS="6"
BOUNDARY_LEN_HRS="6"
BOUNDARY_PROC_GROUP_NUM="10"
BOUNDARY_LEN_HRS="12"
BOUNDARY_PROC_GROUP_NUM="4"

# avaialble retro period:
# 20210511-20210531; 20210718-20210801
Expand All @@ -71,14 +63,16 @@ ENDHOUR="23"
PREEXISTING_DIR_METHOD="upgrade" # "rename"
INITIAL_CYCLEDEF="${DATE_FIRST_CYCL}1800 ${DATE_LAST_CYCL}2300 24:00:00"
BOUNDARY_CYCLEDEF="${DATE_FIRST_CYCL}1800 ${DATE_LAST_CYCL}2300 06:00:00"
PROD_CYCLEDEF="${DATE_FIRST_CYCL}1900 ${DATE_LAST_CYCL}2300 01:00:00"
PROD_CYCLEDEF="00 01-05,07-11,13-17,19-23 07-08 02 2022 *"
PRODLONG_CYCLEDEF="${DATE_FIRST_CYCL}0000 ${DATE_LAST_CYCL}2300 06:00:00"
#RECENTER_CYCLEDEF="00 19 * 10 2022 *"
ARCHIVE_CYCLEDEF="${DATE_FIRST_CYCL}1500 ${DATE_LAST_CYCL}2300 24:00:00"
if [[ ${DO_ENSFCST} == "TRUE" ]]; then
BOUNDARY_LEN_HRS="36"
DO_SPINUP="FALSE"
INITIAL_CYCLEDEF="00 01 01 01 2100 *"
PROD_CYCLEDEF="${DATE_FIRST_CYCL}1200 ${DATE_LAST_CYCL}2300 12:00:00"
PRODLONG_CYCLEDEF="00 01 01 01 2100 *"
BOUNDARY_CYCLEDEF="${DATE_FIRST_CYCL}1200 ${DATE_LAST_CYCL}2300 12:00:00"
fi
if [[ $DO_SPINUP == "TRUE" ]] ; then
Expand All @@ -93,21 +87,21 @@ FCST_LEN_HRS_SPINUP="1"
POSTPROC_LEN_HRS="1"
#FCST_LEN_HRS_CYCLES=(48 18 18 18 18 18 48 18 18 18 18 18 48 18 18 18 18 18 48 18 18 18 18 18)
for i in {0..23}; do FCST_LEN_HRS_CYCLES[$i]=1; done
for i in {0..23..6}; do FCST_LEN_HRS_CYCLES[$i]=6; done
if [[ ${DO_ENSFCST} == "TRUE" ]]; then
for i in {0..23..12}; do FCST_LEN_HRS_CYCLES[$i]=24; done
POSTPROC_LEN_HRS="24"
WTIME_RUN_FCST="05:30:00"
for i in {0..23..12}; do FCST_LEN_HRS_CYCLES[$i]=36; done
POSTPROC_LEN_HRS="36"
BOUNDARY_PROC_GROUP_NUM="8"
fi
DA_CYCLE_INTERV="1"
RESTART_INTERVAL="1"
netcdf_diag=.true.
binary_diag=.false.
NFHOUT="3"
NFHMAX_HF="12"
NFHMAX_HF="24"

WTIME_RUN_FCST="00:30:00"
WTIME_RUN_FCST_LONG="03:45:00"
WTIME_MAKE_LBCS="00:30:00"
WTIME_RUN_FCST_LONG="01:45:00"
NNODES_RUN_ANAL="1"
EXTRN_MDL_NAME_ICS="GEFS"
EXTRN_MDL_NAME_LBCS="GEFS"
Expand All @@ -120,15 +114,16 @@ EXTRN_MDL_SOURCE_BASEDIR_LBCS="/mnt/lfs4/BMC/wrfruc/RRFSE/data/gens"
FV3GFS_FILE_FMT_ICS="grib2"
FV3GFS_FILE_FMT_LBCS="grib2"

RUN="rrfs_conus_13km_ensda"
if [[ ${DO_ENSFCST} == "TRUE" ]]; then
RUN="rrfs_conus_13km_ensfcst"
fi
envir="para"

NCL_REGION="conus"
MODEL="rrfs_b"
NET="rrfs_a"
TAG="cenkf32"

TAG="c13enkf32"
ARCHIVEDIR="/1year/BMC/wrfruc/rrfs_dev1"
NCL_REGION="conus"
MODEL="RRFS_B"


if [[ ${DO_ENSEMBLE} == "TRUE" ]]; then
NUM_ENS_MEMBERS=30
Expand All @@ -146,7 +141,7 @@ if [[ ${DO_ENSEMBLE} == "TRUE" ]]; then
# DO_SPPT=TRUE
DO_SPP=TRUE
# SPPT_MAG=0.5
WTIME_RUN_FCST="04:45:00"
WTIME_RUN_FCST="01:45:00"
WTIME_MAKE_LBCS="01:30:00"
fi
RADAR_REF_THINNING="2"
Expand All @@ -160,9 +155,9 @@ if [[ ${DO_ENSEMBLE} == "TRUE" ]]; then
write_diag_2=.true.
fi

RUN="rrfs_a"
RUN="rrfs_a_c13_ensda"
if [[ ${DO_ENSFCST} == "TRUE" ]] ; then
RUN="rrfs_a"
RUN="rrfs_a_c13_ensfcst"
fi
COMINgfs=""

Expand Down

0 comments on commit 562b92e

Please sign in to comment.