[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
20021017: gpwarn question
- Subject: 20021017: gpwarn question
- Date: Thu, 17 Oct 2002 16:20:11 -0600
Mike,
The example from the tutorial is for the current version, where I
updated the gpwarn program to use the templates in datatype.tbl.
My guess is you are using an older version (pre 5.6.h) before
I had added the ability for gpwarn to use templates.
In the old days, you would want to cat the individual text files to a
single file, and specify that in the WWFIL parameter.
Steve Chiswell
>From: "Mike Dross" <address@hidden>
>Organization: UCAR/Unidata
>Keywords: 200210152112.g9FLCG119659
>
>While I'm bugging you :-)
>
>
>I have been pulling my hair out trying to get a script working with gpwarn
>to plot the
>current watches and warning like you have create, I don't have the link
>handy.
>
>But using the example from the on-line tutorial:
>
>http://www.unidata.ucar.edu/packages/gempak/tutorial/manual/chap4/chap4.shtm
>l?gpwarn
>
>Here is my script:
>
>#!/bin/csh
>env | grep nwx
>
>$GEMEXE/gpwarn <<EOF
>GAREA = uslcc
>PROJ = lcc
>SATFIL =
>RADFIL =
>LATLON = 0
>PANEL = 0
>TITLE = 2/-2/Current Warnings
>TEXT = 1.3/22/1/hw
>CLEAR = yes
>DEVICE = gif|/weather/ldm/data/wxp/watch/test.gif
>SVRL =
>WWFIL = nonpcpwarn;winterwarn;floodwarn;tstormwarn;tornadowarn
>WWS = current
>WWATT = 120/1400
>OUTPUT = t
>
> run
>
> exit
>EOF
>gpend
>exit
>
>I am getting an error message pertaing to the WWFIL line:
>
>$gpwatch.csh
>Check Gemenviron NAWIPS definition -> /home/gempak/GEMPAK5.6
>TORN_WARN=/usr/local/ldm/data/gempak/nwx/watch_warn/torn_warn
>TEXT_DATA=/usr/local/ldm/data/gempak/nwx
>TSTRM_WARN=/usr/local/ldm/data/gempak/nwx/watch_warn/tstrm_warn
>NWX_TABLES=/usr/local/nawips/tables/nwx
>
>Creating process: gplt for queue 262144
> MAP Map color/dash/width 1
> GAREA Graphics area uslcc
> PROJ Map projection/angles/margins lcc
> SATFIL Satellite image filename(s)
> RADFIL Radar image filename(s)
> LATLON Line color/dash/width/label/inc 0
> PANEL Panel loc/color/dash/width/regn 0
> TITLE Title color/line/title 2/-2/Current Warnings
> TEXT Text size/font/width/hw flag 1.3/22/1/hw
> CLEAR Clear screen flag yes
> DEVICE Dev|name|X;Y|colormode|plotmode
>gif|/weather/ldm/data/wxp/watch/test.gif
> WWFIL watchbox data file
>/usr/local/ldm/data/gempak/nwx/watch_warn/tstrm_warn/
> WWS watchbox current/dattim current
> WWATT attributes min_prior/min_future 120/1400
> Parameters requested: MAP,GAREA,PROJ,SATFIL,RADFIL,LATLON,PANEL,TITLE,TEXT,
> CLEAR,DEVICE,WWFIL,WWS,WWATT.
> GEMPAK-GPWARN> GEMPAK-GPWARN> GEMPAK-GPWARN> GEMPAK-GPWARN> GEMPAK-GPWARN>
>GEMPAK-GPWARN> GEMPAK-GPWARN> GEMPAK-GPWARN> GEMPAK-GPWARN> GEMPAK-GPWARN>
>GEMPAK-GPWARN> GEMPAK-GPWARN> GEMPAK-GPWARN> GEMPAK-GPWARN> GEMPAK-GPWARN>
>GEMPAK-GPWARN> GEMPAK-GPWARN>Creating process: gif for queue 294913
> GPMAP PARAMETERS:
>
> Device: gif|/weather/ldm/data/wxp/watch/test.gif
> Projection: lcc
> Graphics area name: uslcc
> Map: 1
> Title: 2/-2/Current Warnings
> Panel: 0
> Latlon: 0
> Clear: YES
>Enter <cr> to accept parameters or type EXIT:error opening
>nonpcpwarn;winterwarn;floodwarn;tstormwarn;tornadowarn
> Parameters requested: MAP,GAREA,PROJ,SATFIL,RADFIL,LATLON,PANEL,TITLE,TEXT,
> CLEAR,DEVICE,WWFIL,WWS,WWATT.
>[nawips@metserver2 scripts]$
>
>
>As you can see from the env statement, the paths to the NWX data directories
>are correct, but gpwarn is complaining about opening the
>"nonpcpwarn;winterwarn;floodwarn;tstormwarn;tornadowarn" entries. I checked
>the $GEMTBL/config/datatype.tbl
>file and there are no entries for
>"nonpcpwarn;winterwarn;floodwarn;tstormwarn;tornadowarn", if that matters.
>
>Maybe you can send me the script you are using or can point me in the right
>direction. I think I am close to
>figuring this thing out but something is a miss.
>
>Thanks for all you do for us out here...!
>
>Mike
>
>