#!/bin/bash # ----------------------------------------------------------- # UNIX Shell Script File # Tested Operating System(s): RHEL 5,6 # Tested Run Level(s): 3, 5 # Shell Used: BASH shell # Original Author(s): Andre van der Westhuysen # File Creation Date: 09/17/2015 # Date Last Modified: # # Version control: 1.14 # # Support Team: # # Contributors: Floyd fayton # # ----------------------------------------------------------- # ------------- Program Description and Details ------------- # ----------------------------------------------------------- # # Job Card to set the resources required for a NWPS run # # ----------------------------------------------------------- # Setup and load modules VERSION_FILE=${NWPSdir}/versions/run.ver if [ -f $VERSION_FILE ]; then . $VERSION_FILE else ECFNAME="jnwps_datachk_ret.ecf" echo "***JOB ${ECFNAME} ERROR: Version File $VERSION_FILE does not exist ***" exit fi export HOMEnwps=${NWPSdir} export NWROOT=${NWPSdir} module purge module load envvar/${envvar_ver} module load prod_envir/${prod_envir_ver} module load prod_util/${prod_util_ver} export FORT_BUFFERED=true export NWPSplatform="DEVWCOSS" export MP_PGMMODEL=mpmd export MP_CSS_INTERRUPT=yes export KEEPDATA="YES" export model="nwps" export MODEL=${model^^} export envir="para" #Set platform export WCOSS_SYSTEM=$( echo $COMROOTp1 | cut -c7 )d1 export WCOSS_SYSTEM_COM=$( echo $COMROOTp1 | cut -c7-9 ) export DEVWCOSS_USER=$(whoami) ${HOMEnwps}/dev/jobs/J${MODEL}_DATACHK_RET #%include #%manual ################################################################################ #TASKSCRIPT DOCUMENTATION BLOCK #TASKSCRIPT: jnwps_datachk_ret #LAST MODIFIER: Andre van der Westhuysen #ORGANIZATION: NCEP/EMC #DATE: AUG 2022 #FULL NAME: /nwps/regions/jnwps_datachk_ret #PURPOSE: To execute the job that creates NWPS MFL GRIB output files #JOB SCRIPT CALLED: /nwprod/nwps.${nwps_ver}/jobs/JNWPS_DATACHK_RET ==> # /nwprod/nwps.${nwps_ver}/scripts/exnwps_datachk_ret.sh.ecf ################################################################################# ###################################################################### # Job specific troubleshooting instructions: # see generic troubleshoot manual page # ###################################################################### #%end