Skip to content

Commit

Permalink
Ref #122 (#123)
Browse files Browse the repository at this point in the history
Update use of rgn_find_cycle, change default use to radmon.
  • Loading branch information
EdwardSafford-NOAA authored Mar 6, 2024
1 parent 12a37f8 commit d1ce96a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Radiance_Monitor/image_gen/ush/RadMon_IG_rgn.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions ush/rgn_find_cycle.pl
Original file line number Diff line number Diff line change
Expand Up @@ -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.
#
#------------------------------------------------------------------------

Expand Down Expand Up @@ -50,7 +50,7 @@
##------------------------------------------------------------------

my $dir = '';
my $mon = 'conmon';
my $mon = 'radmon';

GetOptions( 'dir=s' => \$dir,
'mon:s' => \$mon );
Expand Down

0 comments on commit d1ce96a

Please sign in to comment.