Skip to content

Commit f5b43ca

Browse files
committed
Create global_det_atmos prep scripts
Refs: NOAA-EMC#1
1 parent ae0ed4c commit f5b43ca

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

ecf/global_det/prep/jevs_global_det_prep.ecf ecf/global_det/prep/jevs_global_det_atmos_prep.ecf

+7-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#PBS -N jevs_global_det_prep_00
1+
#PBS -N jevs_global_det_atmos_prep_00
22
#PBS -j oe
33
#PBS -S /bin/sh
44
#PBS -q dev
@@ -54,7 +54,7 @@ export DATAROOT=/lfs/h2/emc/stmp/Mallory.Row/evs_output/$envir/tmp
5454
module list
5555
###### define error handling
5656
# In prod, /apps/ops/prod/nco/core/ecflow.v5.6.0.11/include/envir-p1.h?
57-
export job=${PBS_JOBNAME:-jevs_global_det_prep}
57+
export job=${PBS_JOBNAME:-jevs_global_det_atmos_prep}
5858
export jobid=$job.${PBS_JOBID:-$$}
5959
#export SENDCANNEDDBN=
6060
#export eval=
@@ -80,13 +80,16 @@ module list
8080
##export cyc=%CYC%
8181
export cyc=00
8282

83+
export STEP=prep
84+
export COMPONENT=global_det
85+
export RUN=atmos
86+
8387
# CALL executable job script here
8488
$HOMEevs/jobs/global_det/prep/JEVS_GLOBAL_DET_PREP
8589

8690
##%include <tail.h>
8791
##%manual
8892
######################################################################
89-
# Purpose: This does the prep work for the global deterministic
90-
# component
93+
# Purpose: This does the prep work for the global deterministic atmospheric
9194
######################################################################
9295
#%end

jobs/global_det/prep/JEVS_GLOBAL_DET_PREP

+3-3
Original file line numberDiff line numberDiff line change
@@ -53,17 +53,17 @@ export RUN=${RUN:-atmos}
5353
# Define COMIN/COMOUT variables
5454
####################################
5555
##COMIN=${COMIN:-$(compath.py -o $NET/$evs_ver/$STEP/$COMPONENT/$RUN.$PDY)}
56-
export COMIN=/lfs/h2/emc/stmp/Mallory.Row/evs_output/$envir/com/$NET/$evs_ver/$STEP/$COMPONENT/$RUN.$PDYm1
56+
export COMIN=/lfs/h2/emc/stmp/Mallory.Row/evs_output/$envir/com/$NET/$evs_ver/$STEP/$COMPONENT/$RUN.$INITDATE
5757
#export COMINgfs=${COMN:-$(compath.py gfs/${gfs_ver})}
5858
##COMOUT=${COMOUT:-$(compath.py -o $NET/$evs_ver/$STEP/$COMPONENT/$RUN.$PDY)}
59-
export COMOUT=/lfs/h2/emc/stmp/Mallory.Row/evs_output/$envir/com/$NET/$evs_ver/$STEP/$COMPONENT/$RUN.$PDYm1
59+
export COMOUT=/lfs/h2/emc/stmp/Mallory.Row/evs_output/$envir/com/$NET/$evs_ver/$STEP/$COMPONENT/$RUN.$INITDATE
6060
mkdir -p $COMOUT
6161

6262
#######################################################################
6363
# Execute the script
6464
#######################################################################
6565
env
66-
$HOMEevs/scripts/global_det/prep/exevs_global_det_prep.sh
66+
$HOMEevs/scripts/global_det/prep/exevs_global_det_${RUN}_prep.sh
6767
export err=$?; err_chk
6868

6969
cat $pgmout

0 commit comments

Comments
 (0)