Skip to content

Commit

Permalink
Ref #99 (#100)
Browse files Browse the repository at this point in the history
Fix control file overwrite and summary plot list update.
  • Loading branch information
EdwardSafford-NOAA authored Oct 20, 2023
1 parent cbdceac commit 26a81d4
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/Ozone_Monitor/image_gen/ush/mk_summary.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ for ptype in ${data_source}; do
# levels, so when nlev = 1 the plot script doesn't work.
#
if [[ $type != "omi_aura" && $type != "gome_metop-a" && \
$type != "gome_metop-b" && $type != "ompstc8_npp" ]]; then
$type != "gome_metop-b" && $type != "ompstc8_npp" && $type != "ompstc8_n20" ]]; then
if [[ ${MY_MACHINE} = "hera" || ${MY_MACHINE} = "jet" ||
${MY_MACHINE} = "s4" || ${MY_MACHINE} = "orion" ]]; then
echo "${ctr} ${OZN_IG_SCRIPTS}/plot_summary.sh $type $ptype" >> $cmdfile
Expand Down
2 changes: 1 addition & 1 deletion src/Ozone_Monitor/image_gen/ush/plot_horiz.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ while [[ $ctr -le 3 ]]; do

if [[ -d ${tankdir_cdate} ]]; then

if [[ -e ${tankdir_cdate}/${SATYPE}.${dsrc}.ctl ]]; then
if [[ ! -e ./${SATYPE}.${dsrc}.ctl && -e ${tankdir_cdate}/${SATYPE}.${dsrc}.ctl ]]; then
$NCP ${tankdir_cdate}/${SATYPE}.${dsrc}.ctl ./
fi

Expand Down
4 changes: 2 additions & 2 deletions src/Ozone_Monitor/image_gen/ush/plot_summary.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ while [[ $ctr -le 120 ]]; do
tankdir_cdate=${tankdir_cdate}/time

if [[ -d ${tankdir_cdate} ]]; then
if [[ -e ${tankdir_cdate}/${SATYPE}.${ptype}.ctl ]]; then

if [[ ! -e ./${SATYPE}.${ptype}.ctl && -e ${tankdir_cdate}/${SATYPE}.${ptype}.ctl ]]; then
$NCP ${tankdir_cdate}/${SATYPE}.${ptype}.ctl ./
fi

Expand Down
2 changes: 1 addition & 1 deletion src/Ozone_Monitor/image_gen/ush/plot_time.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ while [[ $ctr -le 119 ]]; do

if [[ -d ${tankdir_cdate} ]]; then

if [[ -e ${tankdir_cdate}/${SATYPE}.${dsrc}.ctl ]]; then
if [[ ! -e ./${SATYPE}.${dsrc}.ctl && -e ${tankdir_cdate}/${SATYPE}.${dsrc}.ctl ]]; then
$NCP ${tankdir_cdate}/${SATYPE}.${dsrc}.ctl ./
fi

Expand Down

0 comments on commit 26a81d4

Please sign in to comment.