From 06fd1052f138dd9e45e7bfe111ec1c35ae7bb094 Mon Sep 17 00:00:00 2001 From: "Edward.Safford" Date: Fri, 17 Jan 2025 20:18:34 +0000 Subject: [PATCH] Ref #153 File cleanup. --- src/Radiance_Monitor/image_gen/html/install_glb.sh | 1 - src/Radiance_Monitor/image_gen/html/install_rgn.sh | 10 +++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/Radiance_Monitor/image_gen/html/install_glb.sh b/src/Radiance_Monitor/image_gen/html/install_glb.sh index 68408b5..cdd20f9 100755 --- a/src/Radiance_Monitor/image_gen/html/install_glb.sh +++ b/src/Radiance_Monitor/image_gen/html/install_glb.sh @@ -216,7 +216,6 @@ done # Sort the list by Satellite # `sort -d -u $UNSORTED_LIST > $SORTED_LIST` -#echo SORTED_LIST = $SORTED_LIST #-------------------------------------------------------------- # Read the sorted list and create the platform table diff --git a/src/Radiance_Monitor/image_gen/html/install_rgn.sh b/src/Radiance_Monitor/image_gen/html/install_rgn.sh index edd3199..385af73 100755 --- a/src/Radiance_Monitor/image_gen/html/install_rgn.sh +++ b/src/Radiance_Monitor/image_gen/html/install_rgn.sh @@ -162,16 +162,16 @@ fi # Use the SATYPE list to construct the platform table. # UNSORTED_LIST=./unsorted.txt ->$UNSORTED_LIST +>${UNSORTED_LIST} export SORTED_LIST=./sorted.txt ->$SORTED_LIST +>${SORTED_LIST} -for satype in $SATYPE; do +for satype in ${SATYPE}; do ins=${satype%_*} tmp="${ins}_" - sat=${satype#$tmp} + sat=${satype#${tmp}} - sat_num=`echo $sat | tr -d '[[:alpha:]]'` + sat_num=`echo ${sat} | tr -d '[[:alpha:]]'` #----------------------------------------------------------------- # If sat_num has a length > 0 then we have a goes or noaa series