Skip to content

Commit

Permalink
Updating analyses/firewx based on Wei's comments (NOAA-EMC#388)
Browse files Browse the repository at this point in the history
* Updating items based on Wei's comments

* Returning to production setup

* Removing config line from ecf script

* Updating parm config files for analyses

* Changing J-job from ksh to bash so sourcing config file works

* Removing export config from ecf files

* Updating gather comments

* Adding NET=evs to ecf script
  • Loading branch information
PerryShafran-NOAA authored Dec 19, 2023
1 parent a0d17bc commit 71e97b5
Show file tree
Hide file tree
Showing 19 changed files with 23 additions and 32 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,6 @@ echo $vhr

export MAILTO="perry.shafran@noaa.gov,alicia.bentley@noaa.gov"

export config=$HOMEevs/parm/evs_config/analyses/config.evs.rtma.prod
source $config

# CALL executable job script here
$HOMEevs/jobs/JEVS_ANALYSES_PLOTS

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,6 @@ evs_ver_2d=$(echo $evs_ver | cut -d'.' -f1-2)
export job=${PBS_JOBNAME:-jevs_${MODELNAME}_${VERIF_CASE}_${STEP}}
export jobid=$job.${PBS_JOBID:-$$}

export config=$HOMEevs/parm/evs_config/cam/config.evs.cam_nam_firewxnest.prod
source $config

export COMIN=/lfs/h2/emc/vpppg/noscrub/$USER/$NET/$evs_ver_2d
export COMOUT=/lfs/h2/emc/ptmp/$USER/$NET/$evs_ver_2d/$STEP/$COMPONENT

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,6 @@ export MODELNAME=rtma

export MAILTO="perry.shafran@noaa.gov,alicia.bentley@noaa.gov"

export config=$HOMEevs/parm/evs_config/analyses/config.evs.rtma.prod
source $config

# CALL executable job script here
$HOMEevs/jobs/JEVS_ANALYSES_STATS

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,6 @@ export MODELNAME=rtma_ru

export MAILTO="perry.shafran@noaa.gov,alicia.bentley@noaa.gov"

export config=$HOMEevs/parm/evs_config/analyses/config.evs.rtma.prod
source $config

# CALL executable job script here
$HOMEevs/jobs/JEVS_ANALYSES_STATS

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,6 @@ export mod_ver=${urma_ver}

export MAILTO="perry.shafran@noaa.gov,alicia.bentley@noaa.gov"

export config=$HOMEevs/parm/evs_config/analyses/config.evs.urma.prod
source $config

# CALL executable job script here
$HOMEevs/jobs/JEVS_ANALYSES_STATS

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,6 @@ export COMOUT=/lfs/h2/emc/vpppg/noscrub/$USER/$NET/$evs_ver_2d/$STEP/$COMPONENT

export MAILTO=${MAILTO:-'perry.shafran@noaa.gov,alicia.bentley@noaa.gov'}

export config=$HOMEevs/parm/evs_config/cam/config.evs.cam_nam_firewxnest.prod
source $config

# CALL executable job script here
$HOMEevs/jobs/JEVS_CAM_STATS

Expand Down
2 changes: 0 additions & 2 deletions ecf/scripts/plots/analyses/jevs_analyses_grid2obs_plots.ecf
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ export outid=${outid:-"LL$job"}
export DATA=${DATA:-${DATAROOT}/${jobid:?}}
export COMIN=${COMevs}
export COMOUT=${COMevs}
export config=$HOMEevs/parm/evs_config/analyses/config.evs.rtma.prod
source $config
export SENDMAIL=YES

############################################################
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ export COMIN=${COMevs}
export COMOUT=${COMevs}
export modsys=rtma
export MODELNAME=rtma
export config=$HOMEevs/parm/evs_config/analyses/config.evs.rtma.prod
source $config
export SENDMAIL=YES

############################################################
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ export COMIN=${COMevs}
export COMOUT=${COMevs}
export modsys=rtma
export MODELNAME=rtma_ru
export config=$HOMEevs/parm/evs_config/analyses/config.evs.rtma.prod
source $config
export SENDMAIL=YES

############################################################
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ export modsys=urma
export pid=${pid:-$$}
export outid=${outid:-"LL$job"}
export DATA=${DATA:-${DATAROOT}/${jobid:?}}
export config=$HOMEevs/parm/evs_config/analyses/config.evs.urma.prod
source $config
export SENDMAIL=YES

############################################################
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@ export COMOUT=${COMevs}/${STEP}/${COMPONENT}
export pid=${pid:-$$}
export outid=${outid:-"LL$job"}
export DATA=${DATA:-${DATAROOT}/${jobid:?}}
export config=$HOMEevs/parm/evs_config/${COMPONENT}/config.evs.${COMPONENT}_${MODELNAME}.${envir}
source $config

############################################################
# Execute j-job
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ else
fi
export OMP_NUM_THREADS=1
export RUN=atmos
export NET=evs
export VERIF_CASE=precip
export MODELNAME=sref
export COMIN=${COMevs}
Expand Down
2 changes: 1 addition & 1 deletion jobs/JEVS_ANALYSES_STATS
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/ksh
#!/bin/bash

########################################
# Preliminary data setup step
Expand Down
3 changes: 3 additions & 0 deletions scripts/plots/analyses/exevs_analyses_grid2obs_plots.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ set -x

# Set up initial directories and initialize variables

export config=$PARMevs/evs_config/$COMPONENT/config.evs.rtma.prod
source $config

mkdir -p $DATA/plots/logs
export LOGDIR=$DATA/plots/logs
export STATDIR=$DATA/stats
Expand Down
3 changes: 3 additions & 0 deletions scripts/plots/cam/exevs_cam_nam_firewxnest_grid2obs_plots.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

set -x

export config=$HOMEevs/parm/evs_config/cam/config.evs.cam_nam_firewxnest.prod
source $config

export machine=${machine:-"WCOSS2"}
mkdir -p $DATA/plots
mkdir -p $DATA/logs
Expand Down
5 changes: 4 additions & 1 deletion scripts/stats/analyses/exevs_analyses_rtma_grid2obs_stats.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ set -x

# Set up initial directories and initialize variables

export config=$PARMevs/evs_config/$COMPONENT/config.evs.rtma.prod
source $config

mkdir -p $DATA/logs
mkdir -p $DATA/stat
export finalstat=$DATA/final
Expand Down Expand Up @@ -360,7 +363,7 @@ then
cpreq -v $finalstat/evs.stats.${regionnest}${typtag}.${RUN}.${VERIF_CASE}.v${VDATE}.stat $COMOUTfinal
fi
else
echo "WARNING: NO RTMA OR OBS DATA, or not gather time yet, METplus gather job will not run"
echo "Not gather time yet, METplus gather job will not run"
fi


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ set -x

# Set up initial directories and initialize variables

export config=$PARMevs/evs_config/$COMPONENT/config.evs.rtma.prod
source $config

mkdir -p $DATA/logs
mkdir -p $DATA/stat
export finalstat=$DATA/final
Expand Down Expand Up @@ -132,7 +135,7 @@ then
fi

else
echo "WARNING: NO RTMA-RU OR OBS DATA, or not gather time yet, METplus gather job will not run"
echo "Not gather time yet, METplus gather job will not run"
fi

log_dir="$DATA/logs/${MODELNAME}${typtag}"
Expand Down
5 changes: 4 additions & 1 deletion scripts/stats/analyses/exevs_analyses_urma_grid2obs_stats.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ set -x

# Set up initial directories and initialize variables

export config=$PARMevs/evs_config/$COMPONENT/config.evs.urma.prod
source $config

mkdir -p $DATA/logs
mkdir -p $DATA/stat
export finalstat=$DATA/final
Expand Down Expand Up @@ -273,7 +276,7 @@ then
cpreq -v $finalstat/evs.stats.${regionnest}${typtag}.${RUN}.${VERIF_CASE}.v${VDATE}.stat $COMOUTfinal
fi
else
echo "WARNING: NO URMA OR OBS DATA, or not gather time yet, METplus gather job will not run"
echo "Not gather time yet, METplus gather job will not run"
fi

log_dir="$DATA/logs/${MODELNAME}${typtag}"
Expand Down
3 changes: 3 additions & 0 deletions scripts/stats/cam/exevs_cam_nam_firewxnest_grid2obs_stats.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

set -x

export config=$HOMEevs/parm/evs_config/cam/config.evs.cam_nam_firewxnest.prod
source $config

mkdir -p $DATA/logs
mkdir -p $DATA/stat
mkdir -p $DATA/statanalysis
Expand Down

0 comments on commit 71e97b5

Please sign in to comment.