Skip to content

Commit

Permalink
Merge pull request NOAA-EMC#269 from DavidHuber-NOAA/fix_mon_ports
Browse files Browse the repository at this point in the history
GitHub Issue NOAA-EMC#267. Corrected the OznMon and RadMon ports for S4 and Jet
  • Loading branch information
MichaelLueken authored Dec 14, 2021
2 parents eed3d40 + 3675384 commit a62dec6
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
5 changes: 4 additions & 1 deletion util/Ozone_Monitor/data_xtrct/ush/find_cycle.pl
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,13 @@
do {

$hr_ctr = $hr_ctr - 1;

$newdir = "${dirpath}/${sortmm[$ctr]}/${hrs[$hr_ctr]}/atmos/oznmon/time";
if( ! -d $newdir ) {
$newdir = "${dirpath}/${sortmm[$ctr]}/${hrs[$hr_ctr]}/oznmon/time";
if( ! -d $newdir ) {
$newdir = "${dirpath}/${sortmm[$ctr]}/time";
}
}

if( -d $newdir ) {
Expand Down
6 changes: 6 additions & 0 deletions util/Ozone_Monitor/image_gen/ush/mk_err_rpt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,9 @@ fi


OZN_TANKDIR_TIME=${TANKDIR}/${RUN}.${PDY}/${cyc}/oznmon/time
if [[ ! -d ${OZN_TANKDIR_TIME} ]]; then
OZN_TANKDIR_TIME=${TANKDIR}/${RUN}.${PDY}/time
fi
echo "OZN_TANKDIR_TIME = $OZN_TANKDIR_TIME"


Expand All @@ -132,6 +135,9 @@ prev_pdy=`echo $prev_cycle | cut -c1-8`
prev_cyc=`echo $prev_cycle | cut -c9-10`

OZN_TANKDIR_PREV=${TANKDIR}/${RUN}.${prev_pdy}/${prev_cyc}/oznmon/time
if [[ ! -d ${OZN_TANKDIR_PREV} ]]; then
OZN_TANKDIR_TIME=${TANKDIR}/${RUN}.${prev_pdy}/time
fi
echo "OZN_TANKDIR_PREV = $OZN_TANKDIR_PREV"

prev_bad_cnt=`ls $OZN_TANKDIR_PREV/bad_cnt.${prev_cycle}`
Expand Down
2 changes: 1 addition & 1 deletion util/Radiance_Monitor/build_RadMon_cmake.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ elif [[ -d /scratch1 ]] ; then
. /apps/lmod/lmod/init/sh
target=hera
elif [[ -d /data ]] ; then
. /opt/apps/lmod/lmod/init/sh
. /usr/share/lmod/lmod/init/sh
target=s4
elif [[ -d /work ]]; then
. $MODULESHOME/init/sh
Expand Down

0 comments on commit a62dec6

Please sign in to comment.