[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20000109: follow up to AVN 12Z and McIDAS (cont.)



Tom,

Sorry it took so long we are trying to launch.  The 10m
winds from 18 to 60 hours are missing, but there with GEMPAK.

Here is the CGI script that prodcues the image for McIDAS:

#!/bin/sh 

MCHOME=/export/home/mcidas
MCDATA=$MCHOME/workdata
MCPATH=${MCDATA}:$MCHOME/data:$MCHOME/help
DATE=`date +%Y%j`
export DATE
if [ $WWW_dat = date ]
then
   DAT=$DATE
else
  if [ $WWW_dat = dat1 ]
  then
     DAT=`expr $DATE - 1`
  fi
fi
export DAT
case "$WWW_prm" in
      P) TIMES=0
         export TIMES;;
      Z) TIMES=0
         export TIMES;;
      T) TIMES=0
         export TIMES
         UNIT=C
         export UNIT;;
     RH) TIMES=0
         export TIMES;;
  WINDB) TIMES=0
         export TIMES
         UNIT=KT
         export UNIT;;
    PCP) TIMES=0
         export TIMES;;
      W) TIMES=1 
         export TIMES;
esac
case "$WWW_drv" in
    SPD) TIMES=0
         export TIMES
         UNIT=KT
         export UNIT;;
    VOR) TIMES=5
         export TIMES;;
    DVG) TIMES=6
         export TIMES;
esac
#
# Setup PATH so that the McIDAS-X executables can be found

PATH=$MCHOME/bin:$PATH

# Set LD_LIBRARY_PATH to include all directories (other than those
searched
# by default) that are needed to be searched to find shared libraries.
# For this example, I assume that the shared Fortran library is located
# in /opt/SUNWspro/SC4.2/lib

LD_LIBRARY_PATH=/usr/openwin/lib:/opt/SUNWspro/SC5.0/lib:$MCHOME/lib:/usr/ucblib:/usr/lib

# cd to the MCDATA directory
cd $MCDATA

MCPATH=$MCPATH PATH=$PATH LD_LIBRARY_PATH=$LD_LIBRARY_PATH mcenv << 'EOF'
2>/dev/null 1>&2
#MCPATH=$MCPATH PATH=$PATH LD_LIBRARY_PATH=$LD_LIBRARY_PATH mcenv << 'EOF'
rm /var/http/sws_server/websites/default_site/public/wximages/antmod*.gif
gu.k REST BRIEF1.GRX
rvf.k 1 1 $WWW_map
grddisp.k RTGRIDS/$WWW_sat TIME=$WWW_mot GPRO=MERC PARAM=$WWW_prm
DERIVE=$WWW_drv LEV=$WWW_mlv TDA=CAL CINT=$WWW_int NAV=C DAY=$DAT
FHOUR=$WWW_tim DASH=NEG POWER=$TIMES UNIT=$UNIT
#pc.k $WWW_cen $WWW_sta
#za.k 5 7 C \"$WWW_txt
svgif.k 1
/var/http/sws_server/websites/default_site/public/wximages/antmod$WWW_sat$WWW_mot$WWW_prm$WWW_drv$UNIT$WWW_mlv$WWW_int$WWW_tim$WWW_map.gif

EOF
/var/http/sws_server/websites/default_site/cgi-bin/drantmod

# Done
exit 0

I use lev=10 param=windb, current ZULU day, 12Z.

I have  GEMPAK script that produces the same thing and it worked
fine all 72 hours.  The same thing for Sweden.  The base map
for antarctica (the script above) is a PIX which goes
from ~-88 to -60 and 140W to 140E which included the Ross Ice Shelf
and Ross Island (NZCM is -77.75S 167.05E)

Thanks,
Robert


From address@hidden  Tue Jan 11 10:30:51 2000
Received: from psnldm.nsbf.nasa.gov (psnldm.nsbf.nasa.gov [192.149.107.23])
        by unidata.ucar.edu (8.8.8/8.8.8) with ESMTP id KAA06919
        for <address@hidden>; Tue, 11 Jan 2000 10:30:50 -0700 (MST)
From: address@hidden
Organization: .
Keywords: 200001111730.KAA06919
Received: from localhost (weather@localhost)
        by psnldm.nsbf.nasa.gov (8.9.3+Sun/8.9.1) with ESMTP id RAA16410
        for <address@hidden>; Tue, 11 Jan 2000 17:30:40 GMT
Date: Tue, 11 Jan 2000 17:30:40 +0000 (GMT)
To: Unidata Support <address@hidden>
Subject: Re: 200019: 20000108: follow up to AVN 12Z and McIDAS (cont.) 
In-Reply-To: <address@hidden>
Message-ID: <address@hidden>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

This morning, I have no MSL, Z, T, winds, etc for Antarctica
or Sweden with McIDAS, it's there with GEMPAK.

Thanks,
Robert