From d1ce96aae423b5c99a90fbda982f6637905264ec Mon Sep 17 00:00:00 2001 From: Ed Safford <62339196+EdwardSafford-NOAA@users.noreply.github.com> Date: Wed, 6 Mar 2024 10:01:51 -0500 Subject: [PATCH] Ref #122 (#123) Update use of rgn_find_cycle, change default use to radmon. --- src/Radiance_Monitor/image_gen/ush/RadMon_IG_rgn.sh | 2 +- ush/rgn_find_cycle.pl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Radiance_Monitor/image_gen/ush/RadMon_IG_rgn.sh b/src/Radiance_Monitor/image_gen/ush/RadMon_IG_rgn.sh index abea390c..75beedd9 100755 --- a/src/Radiance_Monitor/image_gen/ush/RadMon_IG_rgn.sh +++ b/src/Radiance_Monitor/image_gen/ush/RadMon_IG_rgn.sh @@ -131,7 +131,7 @@ fi last_plot_time=${TANKimg}/last_plot_time echo last_plot_time = $last_plot_time -latest_data=`${MON_USH}/rgn_find_cycle.pl --cyc 1 --dir ${TANKverf}` +latest_data=`${MON_USH}/rgn_find_cycle.pl --dir ${TANKverf} --mon radmon` if [[ ${pdate} = "" ]]; then if [[ -e ${last_plot_time} ]]; then diff --git a/ush/rgn_find_cycle.pl b/ush/rgn_find_cycle.pl index b5f1284f..e23fde51 100755 --- a/ush/rgn_find_cycle.pl +++ b/ush/rgn_find_cycle.pl @@ -7,7 +7,7 @@ # # Arguments: # --dir : Required string value containing $TANKdir/$SUFFIX. -# --mon : Optional monitor name, default is conmon. +# --mon : Optional monitor name, default is radmon. # #------------------------------------------------------------------------ @@ -50,7 +50,7 @@ ##------------------------------------------------------------------ my $dir = ''; - my $mon = 'conmon'; + my $mon = 'radmon'; GetOptions( 'dir=s' => \$dir, 'mon:s' => \$mon );