From 5c8e9e6e55db1783079dcef4c7b17ab31edc385d Mon Sep 17 00:00:00 2001 From: Jessica Meixner Date: Tue, 7 Jan 2025 18:06:51 +0000 Subject: [PATCH] move pio variables to parsing ufs as they are the same for gfs and gefs --- parm/config/gefs/config.wave | 10 ---------- parm/config/gfs/config.wave | 11 ----------- ush/parsing_ufs_configure.sh | 9 +++++++++ 3 files changed, 9 insertions(+), 21 deletions(-) diff --git a/parm/config/gefs/config.wave b/parm/config/gefs/config.wave index ce377370c7..be37e7edb2 100644 --- a/parm/config/gefs/config.wave +++ b/parm/config/gefs/config.wave @@ -18,16 +18,6 @@ export RUNRSTwave="gdas" #grid dependent variable defaults export MESH_WAV="mesh.${waveGRD}.nc" # Mesh grid for wave model for CMEPS -export WW3_user_histname="false" -export WW3_historync="false" -export WW3_restartnc="true" -export WW3_PIO_FORMAT="pnetcdf" -export WW3_PIO_IOTASKS=-99 -export WW3_PIO_STRIDE=4 -export WW3_PIO_REARR="box" -export WW3_PIO_ROOT=-99 - - #Grid dependent variables for various grids case "${waveGRD}" in "gwes_30m") diff --git a/parm/config/gfs/config.wave b/parm/config/gfs/config.wave index 0c5658d634..722e1122e4 100644 --- a/parm/config/gfs/config.wave +++ b/parm/config/gfs/config.wave @@ -18,17 +18,6 @@ export RUNRSTwave="gdas" #grid dependent variable defaults export MESH_WAV="mesh.${waveGRD}.nc" # Mesh grid for wave model for CMEPS -export WW3_user_histname="false" -export WW3_historync="false" -export WW3_restartnc="true" -export WW3_PIO_FORMAT="pnetcdf" -export WW3_PIO_IOTASKS=-99 -export WW3_PIO_STRIDE=4 -export WW3_PIO_REARR="box" -export WW3_PIO_ROOT=-99 - - - #Grid dependent variables for various grids case "${waveGRD}" in "gwes_30m") diff --git a/ush/parsing_ufs_configure.sh b/ush/parsing_ufs_configure.sh index 4e60a1e27a..5ed26f8a45 100755 --- a/ush/parsing_ufs_configure.sh +++ b/ush/parsing_ufs_configure.sh @@ -75,6 +75,15 @@ if [[ "${cplwav}" = ".true." ]]; then local wav_petlist_bounds="$(( ATMPETS+OCNPETS+ICEPETS )) $(( ATMPETS+OCNPETS+ICEPETS+WAVPETS-1 ))" local wav_omp_num_threads="${WAVTHREADS}" + local WW3_user_histname="false" + local WW3_historync="false" + local WW3_restartnc="true" + local WW3_PIO_FORMAT="pnetcdf" + local WW3_PIO_IOTASKS=-99 + local WW3_PIO_STRIDE=4 + local WW3_PIO_REARR="box" + local WW3_PIO_ROOT=-99 + fi if [[ "${cplchm}" = ".true." ]]; then