From 3b776b284dc2a2ae5c156d423756ffc1819ebe51 Mon Sep 17 00:00:00 2001 From: "Edward.Safford" Date: Wed, 15 Jan 2025 13:59:02 +0000 Subject: [PATCH] Ref #128 Rm block on file cleanup (used testing purposes), clarify code comments. --- .../image_gen/src/radmon_ig_angle.fd/angle.f90 | 5 +++-- src/Radiance_Monitor/image_gen/ush/plot_angle.sh | 6 +++--- src/Radiance_Monitor/image_gen/ush/plot_summary.sh | 6 +++--- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/src/Radiance_Monitor/image_gen/src/radmon_ig_angle.fd/angle.f90 b/src/Radiance_Monitor/image_gen/src/radmon_ig_angle.fd/angle.f90 index efdfcfd5..3235678f 100755 --- a/src/Radiance_Monitor/image_gen/src/radmon_ig_angle.fd/angle.f90 +++ b/src/Radiance_Monitor/image_gen/src/radmon_ig_angle.fd/angle.f90 @@ -441,8 +441,9 @@ program angle ! Note: When cyc_per_day == 24 (rgn sources) the 2nd period (d5_7) will ! actually only be 5 days (120 cycles). It will usually be the ! same as dmax, which is set to ncycles. Regional plots only -! include the d1 and d5, but I don't want to change the output -! format so as not to create backward compatibility problems. +! include the d1 and d5, but I'm keeping the dmax value in the +! output file because global sources still use it and I don't +! want to create a difference in file format. !************************************************************************ d1 = cyc_per_day diff --git a/src/Radiance_Monitor/image_gen/ush/plot_angle.sh b/src/Radiance_Monitor/image_gen/ush/plot_angle.sh index 5b9e8711..7ce5d452 100755 --- a/src/Radiance_Monitor/image_gen/ush/plot_angle.sh +++ b/src/Radiance_Monitor/image_gen/ush/plot_angle.sh @@ -184,9 +184,9 @@ fi #-------------------------------------------------------------------- # Clean $wrkdir # -#cd ${wrkdir} -#cd ../ -#rm -rf ${wrkdir} +cd ${wrkdir} +cd ../ +rm -rf ${wrkdir} exit diff --git a/src/Radiance_Monitor/image_gen/ush/plot_summary.sh b/src/Radiance_Monitor/image_gen/ush/plot_summary.sh index d3ef8dea..cbb0c2e9 100755 --- a/src/Radiance_Monitor/image_gen/ush/plot_summary.sh +++ b/src/Radiance_Monitor/image_gen/ush/plot_summary.sh @@ -218,9 +218,9 @@ done #-------------------------------------------------------------------- # Clean $tmpdir. # -#cd $tmpdir -#cd ../ -#rm -rf $tmpdir +cd $tmpdir +cd ../ +rm -rf $tmpdir echo "End plot_summary.sh"; echo