-
Notifications
You must be signed in to change notification settings - Fork 180
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/operations' into sync/operations…
…_v16.0.9 * origin/operations: bugfix for not removing last point from list in wave post pnt jobs Update util_shared module version to 1.3.0 for wave footer fix Revert addition of ecflow trigger for wavepostbndpntbll job update ufs-weather-model tag to GFS.v16.0.16 add ecflow updates for new wave bndpntbll job Additional WAFS tag update to gfs_wafs.v6.0.21 for GFSv16.0.8 Back out updates to add config.resources.nco.static WAFS tag update to gfs_wafs.v6.0.20 in Externals.cfg WAFS tag update (gfs_wafs.v6.0.20) for v16 post-implementation fixes fix for missing wave boundary cbull and bull files Fix cycle date in bull and cbull wave files Reverting transfer parm file changes committed at 39bab45 Component tag updates for nwprod/gfsv16.0.7 Updated transfer parm files for gdas, enkf, and gfs dissemination Issue #215 - GFSv15.3.5 ops updates for gempak and bufrlib versions Clean up commments Updated sorc/checkout.sh to pick gfsda.v15.3.3 ( EUM bufr changes ) Refs: #309
- Loading branch information
Showing
33 changed files
with
407 additions
and
1,063 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
69 changes: 69 additions & 0 deletions
69
ecflow/ecf/scripts/gfs/wave/post/jgfs_wave_post_bndpntbll.ecf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
#BSUB -L /bin/sh | ||
#BSUB -J %E%%RUN%_wave_post_bndpntbll_%CYC% | ||
#BSUB -o %COM%/output/%ENVIR%/today/%RUN%_wave_post_bndpntbll_%CYC%.o%J | ||
#BSUB -q %QUEUE% | ||
#BSUB -P %PROJ% | ||
#BSUB -cwd /tmp | ||
#BSUB -W 01:00 | ||
#BSUB -R span[ptile=28]; -R affinity[core(1)] | ||
#BSUB -n 280 | ||
|
||
%include <head.h> | ||
%include <envir-p3.h> | ||
|
||
set -x | ||
|
||
export NODES=10 | ||
export ntasks=280 | ||
export ptile=28 | ||
export threads=1 | ||
|
||
export NET=%NET:gfs% | ||
export RUN=%RUN% | ||
export CDUMP=%RUN% | ||
|
||
model=gfs | ||
%include <model_ver.h> | ||
|
||
############################################################ | ||
## Load modules | ||
############################################################ | ||
module load lsf/${lsf_ver} | ||
module load impi/${impi_ver} | ||
module load CFP/${CFP_ver} | ||
|
||
module list | ||
|
||
############################################################ | ||
## WCOSS_C environment settings | ||
############################################################ | ||
export cyc=%CYC% | ||
export cycle=t%CYC%z | ||
|
||
############################################################ | ||
# CALL executable job script here | ||
############################################################ | ||
${HOMEgfs}/jobs/JGLOBAL_WAVE_POST_BNDPNTBLL | ||
|
||
if [ $? -ne 0 ]; then | ||
ecflow_client --msg="***JOB ${ECF_NAME} ERROR RUNNING J-SCRIPT ***" | ||
ecflow_client --abort | ||
exit | ||
fi | ||
|
||
%include <tail.h> | ||
%manual | ||
###################################################################### | ||
# Purpose: | ||
# | ||
# | ||
###################################################################### | ||
|
||
###################################################################### | ||
# Job specific troubleshooting instructions: | ||
# see generic troubleshoot manual page | ||
# | ||
###################################################################### | ||
|
||
# include manual page below | ||
%end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,108 @@ | ||
#!/bin/bash | ||
|
||
date | ||
export RUN_ENVIR=${RUN_ENVIR:-"nco"} | ||
export PS4=' $SECONDS + ' | ||
set -x -e | ||
|
||
############################# | ||
# Source relevant config files | ||
############################# | ||
configs="base wave wavepostsbs wavepostbndpnt" | ||
export EXPDIR=${EXPDIR:-$HOMEgfs/parm/config} | ||
config_path=${EXPDIR:-$NWROOT/gfs.${gfs_ver}/parm/config} | ||
for config in $configs; do | ||
. $config_path/config.$config | ||
status=$? | ||
[[ $status -ne 0 ]] && exit $status | ||
done | ||
|
||
########################################## | ||
# Source machine runtime environment | ||
########################################## | ||
. $HOMEgfs/env/${machine}.env wavepostbndpntbll | ||
status=$? | ||
[[ $status -ne 0 ]] && exit $status | ||
|
||
# PATH for working directory | ||
export NET=${NET:-gfs} | ||
export RUN=${RUN:-gfs} | ||
export COMPONENT=${COMPONENT:-wave} | ||
|
||
export HOMEgefs=${HOMEgefs:-$NWROOT/$NET.${gefs_ver}} | ||
export HOMEgfs=${HOMEgfs:-$NWROOT/$NET.${gfs_ver}} | ||
|
||
# Add default errchk = err_chk | ||
export errchk=${errchk:-err_chk} | ||
|
||
# Create and go to DATA directory | ||
export DATA=${DATA:-${DATAROOT:?}/${jobid}} | ||
mkdir -p $DATA | ||
cd $DATA | ||
|
||
export cyc=${cyc:-00} | ||
export cycle=${cycle:-t${cyc}z} | ||
|
||
# Set PDY | ||
setpdy.sh | ||
. PDY | ||
|
||
export CDATE=$PDY$cyc | ||
|
||
export pgmout=OUTPUT.$$ | ||
|
||
export MP_PULSE=0 | ||
|
||
# Path to HOME Directory | ||
export FIXwave=${FIXwave:-$HOMEgfs/fix/fix_wave_${NET}} | ||
export PARMwave=${PARMwave:-$HOMEgfs/parm/wave} | ||
export USHwave=${USHwave:-$HOMEgfs/ush} | ||
export EXECwave=${EXECwave:-$HOMEgfs/exec} | ||
|
||
# Set COM Paths and GETGES environment | ||
if [ $RUN_ENVIR = "nco" ]; then | ||
export ROTDIR=${COMROOT:?}/$NET/$envir | ||
fi | ||
export COMIN=${COMIN:-${ROTDIR}/${CDUMP}.${PDY}/${cyc}/$COMPONENT} | ||
export COMOUT=${COMOUT:-${ROTDIR}/${CDUMP}.${PDY}/${cyc}/$COMPONENT} | ||
|
||
|
||
mkdir -p $COMOUT/station | ||
|
||
env | sort | ||
|
||
# Set wave model ID tag to include member number | ||
# if ensemble; waveMEMB var empty in deterministic | ||
# Set wave model ID tag to include member number | ||
# if ensemble; waveMEMB var empty in deterministic | ||
membTAG='p' | ||
if [ "${waveMEMB}" == "00" ]; then membTAG='c'; fi | ||
export membTAG | ||
export WAV_MOD_TAG=${CDUMP}wave${waveMEMB} | ||
|
||
export CFP_VERBOSE=1 | ||
|
||
export FHMAX_WAV_PNT=180 | ||
if [ $FHMAX_WAV -lt $FHMAX_WAV_PNT ] ; then export FHMAX_WAV_IBP=$FHMAX_WAV ; fi | ||
export DOSPC_WAV='NO' # Spectral post | ||
export DOBLL_WAV='YES' # Bulletin post | ||
export DOBNDPNT_WAV='YES' #boundary points | ||
|
||
# Execute the Script | ||
$HOMEgfs/scripts/exgfs_wave_post_pnt.sh | ||
err=$? | ||
if [ $err -ne 0 ]; then | ||
msg="FATAL ERROR: ex-script of GFS_WAVE_POST_PNT failed!" | ||
else | ||
msg="$job completed normally!" | ||
fi | ||
postmsg "$jlogfile" "$msg" | ||
|
||
########################################## | ||
# Remove the Temporary working directory | ||
########################################## | ||
cd $DATAROOT | ||
[[ $KEEPDATA = "NO" ]] && rm -rf $DATA | ||
|
||
date | ||
exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/bin/ksh -x | ||
|
||
############################################################### | ||
echo | ||
echo "=============== START TO SOURCE FV3GFS WORKFLOW MODULES ===============" | ||
. $HOMEgfs/ush/load_fv3gfs_modules.sh | ||
status=$? | ||
[[ $status -ne 0 ]] && exit $status | ||
|
||
############################################################### | ||
echo | ||
echo "=============== START TO RUN WAVE_POST_BNDPNT ===============" | ||
# Execute the JJOB | ||
$HOMEgfs/jobs/JGLOBAL_WAVE_POST_BNDPNTBLL | ||
status=$? | ||
[[ $status -ne 0 ]] && exit $status | ||
|
||
############################################################### | ||
# Force Exit out cleanly | ||
if [ ${KEEPDATA:-"NO"} = "NO" ] ; then rm -rf $DATAROOT ; fi | ||
exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.