#! /bin/ksh # ** upeggrs.scr ** update skewt comparisons for nominal SoCenUS region GOES Sndr DPI displays. # updates: # 2009-04-21 -gsw- vers for EGGRS,EGRS-ML comparisons ovr SoCenUS (SPC - Prov Grnd domain). #----- # Display script name as well as time and date at the beginning of the script. #----- command=$0 echo echo "**********************************************************************" echo echo " ** $command began at ..." echo echo " ** `date -u +\"%T UT on %a %d %b %Y {%j}\"` **" echo ###/home/gops/seegsw/gswn.scr cd /var/apache/cimss/htdocs/goes/realtime/scus/skewts pwd echo sysdate=`date -u +%Y%j` # system date [ccyyddd] syshour=`date -u +%H` # system hour (UT) [hh] defdate=-1 defhour=12 defuaidn=72250 # Only reasonable hours, for now, are 00 and 12 (being the raob times). #----- # Determine input parameters. #----- if [ -z "$1" -o "$1" -lt 0 ] then ccyyddd=$sysdate else ccyyddd=$1 fi if [ -z "$2" ] then ihr=$defhour else ihr=$2 fi # force 2-digit hour. ihr2=$(fullnumber.scr $ihr 2 r) if [ -z "$3" ] then uaidn=$defuaidn else uaidn=$3 fi # Show parameters that have been keyed in or derived. #----- echo "($command)" echo echo "Input values for: ccyyddd, ihr2, ua-idn = $ccyyddd , $ihr2 , $uaidn" # for selectable {toggle on-off} comparison of 4 skewT/logP comparisons # for 15 select upper air sites over SoCenUS: # -1- Ma retrvl vs guess --EGGS-ML1 # -2- Li retrvl vs guess --EGGS-ML2 # -3- Ma retrvl vs raob --EGRS-ML1 # -4- Li retrvl vs raob --EGRS-ML2 ls -1 EG?S-ML?-${uaidn}-${ccyyddd}-${ihr2}Z.GIF > list-eggrs-${uaidn}-${ihr2}.txt echo echo "list-eggrs-${uaidn}-${ihr2}.txt" ; echo ; cat list-eggrs-${uaidn}-${ihr2}.txt echo echo " ** $command ended at ..." echo echo " ** `date -u +\"%T UT on %a %d %b %Y {%j}\"` **" echo echo "**********************************************************************" echo