From 7f41bb44516b99ac20c66557a7fc2e572763c2db Mon Sep 17 00:00:00 2001 From: "edward.safford" Date: Mon, 25 Apr 2022 17:59:11 +0000 Subject: [PATCH] Github issue #310. Correct mean correction time series plots. Fixes #310. --- .../image_gen/html/Install_html.sh | 37 ++-- .../image_gen/html/comp.html.glb | 90 --------- .../image_gen/html/comp.html.rgn | 90 --------- .../image_gen/html/install_glb.sh | 189 ++++++++---------- .../image_gen/html/install_rgn.sh | 88 ++------ .../image_gen/html/menu.html.glb | 53 ----- .../image_gen/html/menu.html.rgn | 53 ----- .../image_gen/html/mk_intro.sh | 51 +---- .../image_gen/html/sum_thumbs.tar | Bin 0 -> 204800 bytes .../src/radmon_ig_angle.fd/angle.f90 | 36 +--- util/Radiance_Monitor/parm/RadMon_config | 10 +- .../parm/RadMon_user_settings | 2 +- 12 files changed, 142 insertions(+), 557 deletions(-) delete mode 100755 util/Radiance_Monitor/image_gen/html/comp.html.glb delete mode 100644 util/Radiance_Monitor/image_gen/html/comp.html.rgn delete mode 100755 util/Radiance_Monitor/image_gen/html/menu.html.glb delete mode 100644 util/Radiance_Monitor/image_gen/html/menu.html.rgn create mode 100644 util/Radiance_Monitor/image_gen/html/sum_thumbs.tar diff --git a/util/Radiance_Monitor/image_gen/html/Install_html.sh b/util/Radiance_Monitor/image_gen/html/Install_html.sh index 8ecb71d1da..0d968be994 100755 --- a/util/Radiance_Monitor/image_gen/html/Install_html.sh +++ b/util/Radiance_Monitor/image_gen/html/Install_html.sh @@ -1,5 +1,4 @@ #!/bin/sh -set -ax #-------------------------------------------------------------------- #-------------------------------------------------------------------- @@ -27,7 +26,7 @@ if [[ $nargs -ne 2 ]]; then exit 2 fi -RADMON_SUFFIX=$1 +export RADMON_SUFFIX=$1 echo RADMON_SUFFIX = $RADMON_SUFFIX export RAD_AREA=$2 @@ -36,28 +35,38 @@ this_dir=`dirname $0` top_parm=${this_dir}/../../parm -if [[ -s ${top_parm}/RadMon_config ]]; then - . ${top_parm}/RadMon_config -else - echo "ERROR: Unable to source ${top_parm}/RadMon_config" - exit +radmon_config=${radmon_config:-${top_parm}/RadMon_config} +if [[ ! -e ${radmon_config} ]]; then + echo "Unable to source ${radmon_config}" + exit 2 fi -if [[ -s ${top_parm}/RadMon_user_settings ]]; then - . ${top_parm}/RadMon_user_settings -else - echo "ERROR: Unable to source ${top_parm}/RadMon_user_settings" - exit +. ${radmon_config} +if [[ $? -ne 0 ]]; then + echo "Error detected while sourcing ${radmon_config} file" + exit $? fi +radmon_user_settings=${radmon_user_settings:-${top_parm}/RadMon_user_settings} +if [[ ! -e ${radmon_user_settings} ]]; then + echo "Unable to locate ${radmon_user_settings} file" + exit 4 +fi + +. ${radmon_user_settings} +if [[ $? -ne 0 ]]; then + echo "Error detected while sourcing ${radmon_user_settings} file" + exit $? +fi + #-------------------------------------------------------------- # call the appropriate child script for glb or rgn # if [[ $RAD_AREA == "glb" ]]; then - ${RADMON_IMAGE_GEN}/html/install_glb.sh $RADMON_SUFFIX + ${RADMON_IMAGE_GEN}/html/install_glb.sh else - ${RADMON_IMAGE_GEN}/html/install_rgn.sh $RADMON_SUFFIX + ${RADMON_IMAGE_GEN}/html/install_rgn.sh fi diff --git a/util/Radiance_Monitor/image_gen/html/comp.html.glb b/util/Radiance_Monitor/image_gen/html/comp.html.glb deleted file mode 100755 index e1f9d07680..0000000000 --- a/util/Radiance_Monitor/image_gen/html/comp.html.glb +++ /dev/null @@ -1,90 +0,0 @@ - - - - - Radiance Monitoring - - - - - - - - -

Comparison plots

- -
- - - - - -
Select Platform:
-

-

Click button to...
-
-
- - -
- - - - - diff --git a/util/Radiance_Monitor/image_gen/html/comp.html.rgn b/util/Radiance_Monitor/image_gen/html/comp.html.rgn deleted file mode 100644 index e1f9d07680..0000000000 --- a/util/Radiance_Monitor/image_gen/html/comp.html.rgn +++ /dev/null @@ -1,90 +0,0 @@ - - - - - Radiance Monitoring - - - - - - - - -

Comparison plots

- -
- - - - - -
Select Platform:
-

-

Click button to...
-
-
- - -
- - - - - diff --git a/util/Radiance_Monitor/image_gen/html/install_glb.sh b/util/Radiance_Monitor/image_gen/html/install_glb.sh index 4c70951df9..5a54b5ff97 100755 --- a/util/Radiance_Monitor/image_gen/html/install_glb.sh +++ b/util/Radiance_Monitor/image_gen/html/install_glb.sh @@ -1,5 +1,4 @@ -#!/bin/sh -set -ax +#!/bin/bash #-------------------------------------------------------------------- #-------------------------------------------------------------------- @@ -11,40 +10,57 @@ set -ax #-------------------------------------------------------------------- #-------------------------------------------------------------------- -function usage { - echo "Usage: install_glb.sh suffix" - echo " Suffix is data source identifier that matches data in " - echo " the $TANKDIR/stats directory." -} - echo "BEGIN install_glb.sh" echo "" +echo "" + +do_cmp=0 +cmp_src="" + +#-------------------------------------------------------------- +# Allow user to enable comparison plots +# +echo "Do you wish to enable data plots to include comparison to" +echo " operational GDAS data, or another data source?" +echo "" +echo -n " Enter YES to enable comparison plots, any other input to disable. > " +read text +short=`echo $text | cut -c1` + +if [[ $short = "Y" || $short = "y" ]]; then + do_cmp=1 + cmp_src="GDAS" + + echo "Please specify the suffix of your comparison data source," + echo " or just hit the return key to use the operational GDAS as " + echo " the comparison source" + echo "" + echo -n " > " + read text + + if [[ ${#text} -gt 0 ]]; then + cmp_src=${text} + fi -nargs=$# -if [[ $nargs -lt 0 ]]; then - usage - exit 2 + echo "${cmp_src} will be used as the comparison source." fi -SUFFIX=$1 -echo SUFFIX = $SUFFIX + +SUFFIX=$RADMON_SUFFIX RAD_AREA="glb" this_file=`basename $0` this_dir=`dirname $0` - - new_webdir=${WEBDIR}/${SUFFIX} -echo RAD_AREA = $RAD_AREA -echo TANKverf = $TANKverf - #-------------------------------------------------------------- # Create a temporary working directory. # workdir=$STMP_USER/${SUFFIX}_html -rmdir $workdir +if [[ -e $workdir ]]; then + rm -rf $workdir +fi mkdir $workdir cd $workdir @@ -56,13 +72,10 @@ cd $workdir #----------------------------------------------------------- # Find the first date with data. Start at today and work -# backwards. Stop after 90 days and exit. +# backwards. If not found stop after 90 days and exit. # PDATE=`${IG_SCRIPTS}/nu_find_cycle.pl --dir ${TANKverf} --cyc 1` -echo PDATE= $PDATE - limit=`$NDATE -2160 $PDATE` # 90 days -echo limit, PDATE = $limit, $PDATE #----------------------------------------------------------- # Build test_list which will contain all data files for @@ -81,14 +94,22 @@ while [[ data_found -eq 0 && $PDATE -ge $limit ]]; do test_dir=${TANKverf}/${RUN}.${PDY} fi - echo "test_dir = ${test_dir}" - if [[ -d ${test_dir} ]]; then echo " test_dir is GO " - if [[ -e ${test_dir}/angle.tar ]]; then - test_list=`tar -tv ${test_dir}/angle.tar` + if [[ -e ${test_dir}/radmon_angle.tar || -e ${test_dir}/radmon_angle.tar.gz ]]; then + gzipped=0 + if [[ -e ${test_dir}/radmon_angle.tar.gz ]]; then + gunzip ${test_dir}/radmon_angle.tar.gz + gzipped=1 + fi + + test_list=`tar -tf ${test_dir}/radmon_angle.tar` data_found=1 + + if [[ $gzipped -eq 1 ]]; then + gzip ${test_dir}/radmon_angle.tar + fi else test=`ls ${test_dir}/angle.*${PDATE}*.ieee_d* | wc -l` if [[ $test -gt 0 ]]; then @@ -102,10 +123,10 @@ while [[ data_found -eq 0 && $PDATE -ge $limit ]]; do if [[ data_found -eq 0 ]]; then PDATE=`$NDATE -24 $PDATE` - echo PDATE = $PDATE fi done + if [[ $data_found -eq 0 ]]; then echo Unable to locate any data files in the past 90 days for $SUFFIX echo in $TANKverf/angle. @@ -115,25 +136,24 @@ fi #----------------------------------------------------------- # Go through test_list and identify all unique # sat_instrument combinations. The results are the -# SATYPE list for this source. +# SATYPE list for this source. Avoid _anl and ctl files +# since they will give us duplicate satypes. # - for test in ${test_list}; do this_file=`basename $test` + + test_anl=`echo $this_file | grep "_anl"` + test_ctl=`echo $this_file | grep "ctl"` + if [[ $test_anl != "" || $test_ctl != "" ]]; then + continue + fi + tmp=`echo "$this_file" | cut -d. -f1` if [[ $tmp == "angle" ]]; then tmp=`echo "$this_file" | cut -d. -f2` fi - - #---------------------------------------------------------- - # remove sat/instrument_anl names so we don't end up - # with both "airs_aqua" and "airs_aqua_anl" if analysis - # files are being generated for this source. - #---------------------------------------------------------- - test_anl=`echo $tmp | grep "_anl"` - if [[ $test_anl = "" ]]; then - SATYPE_LIST="$SATYPE_LIST $tmp" - fi + + SATYPE_LIST="$SATYPE_LIST $tmp" done export SATYPE=$SATYPE_LIST @@ -143,7 +163,6 @@ if [[ ${#SATYPE} -le 0 ]]; then exit fi -echo $SATYPE #-------------------------------------------------------------- # Use the SATYPE list to construct the platform table. @@ -171,6 +190,7 @@ for satype in $SATYPE; do sat="GOES-${sat_num}" elif [[ $char == "n" ]]; then sat="NOAA-${sat_num}" + else sat=`echo $sat | tr 'a-z' 'A-Z'` fi @@ -178,9 +198,8 @@ for satype in $SATYPE; do sat=`echo $sat | tr 'a-z' 'A-Z'` fi - #----------------------------------------------------------------- - # + # Certain instruments require specific formatting. # amsu_test=`expr match ${ins} "amsu"` hirs_test=`expr match ${ins} "hirs"` @@ -203,7 +222,7 @@ done #-------------------------------------------------------------- # Sort the list by Satellite # -`sort -d $UNSORTED_LIST > $SORTED_LIST` +`sort -d -u $UNSORTED_LIST > $SORTED_LIST` #-------------------------------------------------------------- # Read the sorted list and create the platform table @@ -234,7 +253,6 @@ done < "$SORTED_LIST" imgndir=`dirname ${IMGNDIR}` - #-------------------------------------------------------------- # Edit the html files to add the platform table to each. # @@ -261,39 +279,16 @@ for html_file in $mod_html_files; do # switch all 'INSERT_SUFFIX' tags to the actual suffix # and route output to $html_file and we're done. sed s/INSERT_SUFFIX/${SUFFIX}/g ${tmp_html} > ${html_file} + rm ${tmp_html} done #-------------------------------------------------------------- -# Optionally enable comparison plots to the operational -# GDAS data +# Enable comparison plots # -set +ax -comp_html_files="plot_summary.html plot_time.html" - -echo "Do you wish to enable data plots to include comparison to" -echo " operational GDAS data, or another data source?" -echo "" -echo -n " Enter YES to enable comparison plots, any other input to disable. > " -read text -short=`echo $text | cut -c1` +if [[ $do_cmp == 1 ]]; then -if [[ $short = "Y" || $short = "y" ]]; then - - cmp_src="GDAS" - - echo "Please specify the suffix of your comparison data source," - echo " or just hit the return key to use the operational GDAS as " - echo " the comparison source" - echo "" - echo -n " > " - read text - - if [[ ${#text} -gt 0 ]]; then - cmp_src=${text} - fi - - echo "Enabling ${cmp_src} as the comparison source." + comp_html_files="plot_summary.html plot_time.html" #------------------------------------------------------------------------- # If cmp_src == GDAS we only have to uncomment the comparison check box @@ -327,8 +322,6 @@ if [[ $short = "Y" || $short = "y" ]]; then done fi -set -ax - #-------------------------------------------------------------- # Generate the intro.html file. # @@ -336,21 +329,7 @@ $NCP ${RADMON_IMAGE_GEN}/html/mk_intro.sh . $NCP ${RADMON_IMAGE_GEN}/html/intro.html intro.html.stock ./mk_intro.sh - - -#-------------------------------------------------------------- -# Copy the menu.html file and change "Experimental" to -# "Operational" if the suffix is wopr or nrx (operational GDAS -# or NDAS. -# -$NCP ${RADMON_IMAGE_GEN}/html/menu.html.$RAD_AREA . - -if [[ $SUFFIX == "wopr" || $SUFFIX == "nrx" ]]; then - tmp_menu=./tmp_menu.html.${RAD_AREA} - sed s/Experimental/Operational/1 menu.html.${RAD_AREA} > ${tmp_menu} - mv -f ${tmp_menu} menu.html.${RAD_AREA} -fi - +rm mk_intro.sh #-------------------------------------------------------------- # Copy the index.html file and change INSERT_SUFFIX to actual suffix. @@ -360,7 +339,7 @@ new_index="index.html" $NCP ${RADMON_IMAGE_GEN}/html/${index_file} . sed s/INSERT_SUFFIX/${SUFFIX}/g $index_file > ${tmp_index} -if [[ $SUFFIX == "wopr" || $SUFFIX == "nrx" ]]; then +if [[ $SUFFIX == "GFS" || $SUFFIX == "nrx" ]]; then sed s/Experimental/Operational/1 ${tmp_index} > ${new_index} fi @@ -372,16 +351,13 @@ if [[ ! -s ${new_index} ]]; then fi fi -support_files="jsuri-1.1.1.js stats.js latest_cycle.php" +rm ./${index_file} #-------------------------------------------------------------- # Make starting directory in $imgndir and copy over html, # misc, and thumb images. # -subdirs="angle bcoef bcor comp horiz summary time" -subdirs="summary" - if [[ ! -d ${IMGNDIR} ]]; then mkdir -p ${IMGNDIR} fi @@ -390,7 +366,7 @@ imgndir=`dirname ${IMGNDIR}` #----------------------- # move html files to imgndir # -all_html_files="${mod_html_files} index.html menu.html intro.html" +all_html_files="${mod_html_files} index.html intro.html" for file in $all_html_files; do $NCP ${file} ${imgndir}/${file} done @@ -398,6 +374,7 @@ done #----------------------- # mk image dirs # +subdirs="angle bcoef summary time" for dir in $subdirs; do mkdir -p ${imgndir}/pngs/${dir} done @@ -405,6 +382,7 @@ done #----------------------- # js files # +support_files="jsuri-1.1.1.js stats.js latest_cycle.php" for file in $support_files; do $NCP ${RADMON_IMAGE_GEN}/html/${file} ${imgndir}/. done @@ -419,7 +397,7 @@ done #----------------------- # summary thumb images -# If any are missing dummy one in using a copy of sndrdr1_g15. +# If any are missing dummy one in using ssmis_f18. # thumbs="sum_thumbs.tar" $NCP ${RADMON_IMAGE_GEN}/html/${thumbs} ${imgndir}/pngs/summary/. @@ -429,7 +407,7 @@ rm -f ${thumbs} for satype in $SATYPE; do if [[ ! -e ${satype}.summary.png ]]; then - $NCP sndrd1_g15.summary.png ${satype}.summary.png + $NCP ssmis_f18.summary.png ${satype}.summary.png fi done @@ -447,19 +425,24 @@ done #--------------------------------------------------- # if on wcoss then cd $imgndir and do the rsync here # -if [[ $MY_MACHINE = "wcoss" ]]; then +if [[ $MY_MACHINE = "wcoss_d" || $MY_MACHINE = "wcoss2" ]]; then + if [[ ${imgndir} != "/" ]]; then # sanity check to avoid serious embarrassment /usr/bin/rsync -ave ssh --exclude *.ctl.${Z} ${imgndir}/ \ - ${WEB_USER}@${WEB_SVR}.ncep.noaa.gov:${WEBDIR}/ + ${WEB_USER}@${WEB_SVR}.ncep.noaa.gov:${WEBDIR}/${SUFFIX}/ fi + + ssh ${WEB_USER}@${WEB_SVR} mkdir ${WEBDIR}/${SUFFIX}/gdas + ssh ${WEB_USER}@${WEB_SVR} ln -s ${WEBDIR}/${SUFFIX}/pngs ${WEBDIR}/${SUFFIX}/gdas/pngs + fi #------------------------ # clean up $workdir # -#cd $workdir -#cd ../ -#rm -rf $workdir +cd $workdir +cd ../ +rm -rf $workdir echo "" echo "END install_glb.sh" diff --git a/util/Radiance_Monitor/image_gen/html/install_rgn.sh b/util/Radiance_Monitor/image_gen/html/install_rgn.sh index 6ceb1a4caf..4a1a1666e6 100755 --- a/util/Radiance_Monitor/image_gen/html/install_rgn.sh +++ b/util/Radiance_Monitor/image_gen/html/install_rgn.sh @@ -1,5 +1,4 @@ #!/bin/sh -set -ax #-------------------------------------------------------------------- #-------------------------------------------------------------------- @@ -10,60 +9,23 @@ set -ax # the server (rgn only, regional is handled by Install_html.sh). #-------------------------------------------------------------------- #-------------------------------------------------------------------- - -function usage { - echo "Usage: install_rgn.sh suffix" - echo " Suffix is data source identifier that matches data in " - echo " the $TANKDIR/stats directory." -} - echo "BEGIN install_rgn.sh" echo "" -nargs=$# -if [[ $nargs -lt 0 ]]; then - usage - exit 2 -fi - -SUFFIX=$1 -echo SUFFIX = $SUFFIX +SUFFIX=$RADMON_SUFFIX RAD_AREA="rgn" this_file=`basename $0` this_dir=`dirname $0` -top_parm=${this_dir}/../../parm - -if [[ -s ${top_parm}/RadMon_config ]]; then - . ${top_parm}/RadMon_config -else - echo "ERROR: Unable to source ${top_parm}/RadMon_config" - exit -fi - -if [[ -s ${top_parm}/RadMon_user_settings ]]; then - . ${top_parm}/RadMon_user_settings -else - echo "ERROR: Unable to source ${top_parm}/RadMon_user_settings" - exit -fi - - -#-------------------------------------------------------------- -# Get the area for this SUFFIX from the data_map file -# -new_webdir=${WEBDIR}/${SUFFIX} - -echo RAD_AREA = $RAD_AREA -echo TANKverf = $TANKverf - #-------------------------------------------------------------- # Create a temporary working directory. # workdir=$STMP_USER/${SUFFIX}_html -rmdir $workdir +if [[ -d ${workdir} ]]; then + rm -rf $workdir +fi mkdir $workdir cd $workdir @@ -75,13 +37,10 @@ cd $workdir #----------------------------------------------------------- # Find the first date with data. Start at today and work -# backwards. Stop after 90 days and exit. +# backwards. If not found, stop after 90 days and exit. # -PDATE=`${IG_SCRIPTS}/find_cycle.pl 1 ${TANKverf}` -echo PDATE= $PDATE - +PDATE=`${IG_SCRIPTS}/find_cycle.pl --cyc 1 --dir ${TANKverf}` limit=`$NDATE -2160 $PDATE` # 90 days -echo limit, PDATE = $limit, $PDATE #----------------------------------------------------------- # Build test_list which will contain all data files for @@ -106,8 +65,6 @@ while [[ data_found -eq 0 && $PDATE -ge $limit ]]; do test_dir=${TANKverf}/${MONITOR}.${PDY} fi - echo "test_dir = ${test_dir}" - if [[ -d ${test_dir} ]]; then echo " test_dir is GO " @@ -134,7 +91,6 @@ while [[ data_found -eq 0 && $PDATE -ge $limit ]]; do if [[ data_found -eq 0 ]]; then PDATE=`$NDATE -24 $PDATE` - echo PDATE = $PDATE fi done @@ -183,8 +139,6 @@ if [[ ${#SATYPE} -le 0 ]]; then exit fi -echo "SATYPE = $SATYPE" - #-------------------------------------------------------------- # Use the SATYPE list to construct the platform table. # @@ -245,9 +199,6 @@ done # `sort -d $UNSORTED_LIST > $SORTED_LIST` -echo -echo -cat $SORTED_LIST #-------------------------------------------------------------- # Read the sorted list and create the platform table @@ -285,7 +236,6 @@ imgndir=`dirname ${IMGNDIR}` mod_html_files="plot_summary.html.rgn plot_time.html.rgn plot_angle.html.rgn plot_bcoef.html.rgn" for html_file in $mod_html_files; do - echo "processing ${html_file}" $NCP ${RADMON_IMAGE_GEN}/html/${html_file} . tmp_html=./tmp_${html_file} @@ -304,7 +254,6 @@ for html_file in $mod_html_files; do # rm the .rgn extension on the html file names new_html_file=`echo $html_file | cut -d'.' -f-2` - echo "new_html_file = $new_html_file" # switch all 'INSERT_SUFFIX' tags to the actual suffix # and route output to $new_html_file and we're done. @@ -364,14 +313,6 @@ if [[ $SUFFIX == "wopr" || $SUFFIX == "nrx" ]]; then sed s/Experimental/Operational/1 ${tmp_index} > ${new_index} fi -#if [[ ! -s ${new_index} ]]; then -# if [[ -s ${tmp_index} ]]; then -# $NCP ${tmp_index} ${new_index} -# else -# $NCP ${index_file} ${new_index} -# fi -#fi - if [[ -s ${tmp_index} ]]; then rm ${tmp_index} fi @@ -440,7 +381,6 @@ done img_list=`ls *.png` # rm any images for sources not in $SATYPE for img in ${img_list}; do tmp=`echo "$img" | cut -d. -f1` - echo $tmp img_match=`echo $SATYPE | grep $tmp` if [[ ${#img_match} -le 0 ]]; then rm -f ${img} @@ -448,22 +388,24 @@ for img in ${img_list}; do done -#--------------------------------------------------- -# if on wcoss then cd $imgndir and do the rsync here +#------------------------------------------------------ +# if on wcoss_d then cd $imgndir and do the rsync here # -if [[ $MY_MACHINE = "wcoss" ]]; then +new_webdir=${WEBDIR}/regional/${SUFFIX} + +if [[ $MY_MACHINE = "wcoss_d" || $MY_MACHINE = "wcoss2" ]]; then if [[ ${imgndir} != "/" ]]; then # sanity check to avoid serious embarrassment /usr/bin/rsync -ave ssh --exclude *.ctl.${Z} ${imgndir}/ \ - ${WEB_USER}@${WEB_SVR}.ncep.noaa.gov:${WEBDIR}/ + ${WEB_USER}@${WEB_SVR}.ncep.noaa.gov:${new_webdir}/ fi fi #------------------------ # clean up $workdir # -#cd $workdir -#cd ../ -#rm -rf $workdir +cd $workdir +cd ../ +rm -rf $workdir echo "" echo "END install_rgn.sh" diff --git a/util/Radiance_Monitor/image_gen/html/menu.html.glb b/util/Radiance_Monitor/image_gen/html/menu.html.glb deleted file mode 100755 index 40a6a6fe45..0000000000 --- a/util/Radiance_Monitor/image_gen/html/menu.html.glb +++ /dev/null @@ -1,53 +0,0 @@ - - - - - Radiance Data Monitoring - - - - - - - -

Experimental GDAS

-

Monitoring Plots

- - - - - - - -
- GDAS home page
- Radiance monitoring home page
- - Time and Angle dependent plots
- Horizontal data plots
- Bias correction coefficients
- Bias correction terms
- Summary plots
- Comparison plots
- -
- - diff --git a/util/Radiance_Monitor/image_gen/html/menu.html.rgn b/util/Radiance_Monitor/image_gen/html/menu.html.rgn deleted file mode 100644 index 95ae4be968..0000000000 --- a/util/Radiance_Monitor/image_gen/html/menu.html.rgn +++ /dev/null @@ -1,53 +0,0 @@ - - - - - Radiance Data Monitoring - - - - - - - -

Experimental NDAS

-

Monitoring Plots

- - - - - - - -
- GDAS home page
- Radiance monitoring home page
- - Time and Angle dependent plots
- Horizontal data plots
- Bias correction coefficients
- Bias correction terms
- Summary plots
- Comparison plots
- -
- - diff --git a/util/Radiance_Monitor/image_gen/html/mk_intro.sh b/util/Radiance_Monitor/image_gen/html/mk_intro.sh index 0e2ae95301..9274395e6c 100755 --- a/util/Radiance_Monitor/image_gen/html/mk_intro.sh +++ b/util/Radiance_Monitor/image_gen/html/mk_intro.sh @@ -111,7 +111,6 @@ while read line; do echo ' ' >> $table # end table row if [[ $ctr != $num_sats ]]; then -# row_end=`expr $row_end + $num_rows` row_end=`expr $row_end + $cols` if [[ $extra < $remainder ]]; then row_end=`expr $row_end + 1` @@ -125,54 +124,20 @@ while read line; do done < "$SORTED_LIST" -#echo ' ' >> $table - -#---------------------------------------------------------------- -# process stock intro.html file and add in the customized table -# -table_start=0 -table_end=0 -table_dump=0 #-------------------------------------------------------------- -# Edit the html files to add the platform table to each. +# Edit infile to add the platform table. # -echo "processing ${infile}" - - # copy the $file from start to tag - sed -e '/
/,$d' ${infile} > ${outfile} - - # add the $PLATFORM_TBL (built above) - `cat $table >> ${outfile}` - # copy the $file from 'END_TABLE_INSERT' comment to end - sed -n '/<\/table>/,$p' ${infile} >> ${outfile} +# copy the $file from start to
tag +sed -e '/
/,$d' ${infile} > ${outfile} +# add the $PLATFORM_TBL (built above) +`cat $table >> ${outfile}` -#while read line; do -# echo $line -# test_start=`echo $line | grep "
"` -# test_end=`echo $line | grep "
"` -## echo "test_start len = ${#test_start} -## echo "test_end len = ${#test_end} -# -# if [[ $table_start -eq 0 && ${#test_start} -gt 0 ]]; then -# table_start=1 -# fi -# -# if [[ ${table_start} -eq 0 || ${table_end} -eq 1 ]]; then -# echo $line >> $outfile -# elif [[ ${table_start} -eq 1 && ${table_dump} -eq 0 ]]; then -# cat $table >> $outfile -# table_dump=1 -# fi -# -# if [[ $table_end -eq 0 && ${#test_end} -gt 0 ]]; then -# table_end=1 -# fi -# -#done < $infile - +# copy the $file from 'END_TABLE_INSERT' comment to end +sed -n '/<\/table>/,$p' ${infile} >> ${outfile} +rm ${infile} echo END mk_intro.sh echo diff --git a/util/Radiance_Monitor/image_gen/html/sum_thumbs.tar b/util/Radiance_Monitor/image_gen/html/sum_thumbs.tar new file mode 100644 index 0000000000000000000000000000000000000000..95d6498ba093c4883755062fe1ff789b0d4270b2 GIT binary patch literal 204800 zcmeFYWl&r}v@SXjk^n<+*Fa#9ATzi_a2Z^J!{Dw1A-KB_GB^Q(1Shx$cL)SY2oAv^ zcp%7~oLlwIId$Lrck8}-Rj;R}yLa1OtGoBwYkjLX%-qh@2Exzj;pyZAbAQk2>TCn} z-yOiHz|YGI0E4-C!Tb2HuJQ%{q&j$v)1pn_Q zU=o~Xs!Hv<5KkpKXhYfhVnD5~O_xw5SOSr66-G2_NgFPTep=cFuzD(&J-P=V7+=Nw#x}VWkop2`0^Y@73Bc zd+{gEs|(msP$YnTT&1-YOP;}gsp%7&41Ds^pH7xw=chqMYSx6cR8-fAK=um;hC=*a zp=N`s(fWpYT^*94)5}Y~yTB*tfc>_WBd-j3g+Ct?In{Mn{~_h}H) zp*l_bPLsg9KN^?>vR~I-k*cK{#8~tp4f^T&4ipwLa6xK(0zk(#0Gwb!ESs1Z2a(ZM z3O{k9eq53nt#>4k=vz-Jv0G}Q6ZgZH0!S`+N?|fkM!@RyFnF-(8|LHcst@o_H#Q0n z+Oo5=M=T3d*~ZQ?Oatt)fjcHqN(WeYjlIRSD=B6+EVB~`^_zIIEcdn{Hwn|n>l(!%?`hz96+vJNr{GVx2 zzs_&gU0*U-;8;MFSi_<=Tbv95;K7$0j{F{zbDr^0^9GZx_~xxf=#pk@!@LX@hbpfr zEMf}DBhUcFse?$#*S~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