[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
20040929: Gempak - Bug in GDWIND
- Subject: 20040929: Gempak - Bug in GDWIND
- Date: Mon, 04 Oct 2004 10:40:00 -0600
Steve,
It appears that the "clear" screen is called after the panel
input is defined and the box draw. This affects the xw
driver as well. I see that the gdplot2 program works as
youi would expect also, so would suggest that as the workaround
if you are drawing boxes around your region etc. since it
combines the functionality of gdplot (gdcntr, gdwind) as
well as gdstream and gdmap.
I'll forward this on to NCEP to see about a resolution of the problem,
but it still exists in the 5.7.3 distribution I am packaging for release.
Steve Chiswell
Unidata User Support
>From: "Steve Decker" <address@hidden>
>Organization: UCAR/Unidata
>Keywords: 200409292030.i8TKUExa007978
>Institution: UW-Madison
>Package Version: 5.7.2p2
>Operating System: Solaris 8
>Hardware Information: Sun Workstations
>Inquiry: Hi there,
>
>I believe I've found a bug in gdwind, although I've only performed a cursory s
> earch of the support archives. I should note that the same behavior described
> below also happens with version 5.6.j on an SGI running IRIX 6.2.
>
>The problem is that, when the clear variable is set to yes, a panel border is
> drawn before the x-window is cleared, or, if dev=ps, page 1 will be the panel
> border, while page 2 will be everything else. gdplot does not exhibit this b
> ehavior.
>
>Here's a specific example. If I run the following script:
>#! /bin/csh -f
>
>gdwind << EOF
> GDATTIM = f72
> GLEVEL = 850
> GVCORD = PRES
> GVECT = geo
> GDFILE = /f5/raid5/class2/fall01/sgdecker/lab452/04092806_thin_avn.gem
> GAREA = 43;-119;58;-85
> IJSKIP =
> SATFIL =
> RADFIL =
> IMCBAR =
> SKIP = 0
> WIND = bk1/.7
> REFVEC =
> MAP = 8
> LATLON = 0
> PANEL = 1/1/1/1
> TITLE = 1/-2/~ 850-mb Geostrophic Wind(kt)
> DEVICE = ps|testcase.ps
> PROJ = lcc/45;-105;65
> CLEAR = y
> SCALE = 0
> TEXT = 1
> LUTFIL =
> STNPLT =
>r
>
>e
>EOF
>gpend
>
>I get a two-page PostScript file, with the first page simply being a box aroun
> d panel 1, and page 2 being the actual plot. Changing gdwind to gdplot in the
> above script produces a one-page PostScript file containing both the plot an
> d a border around it. I would expect that gdwind should exhibit the same beha
> vior as gdplot in this case.
>
>Cheers,
>Steve
>
>
>
--
NOTE: All email exchanges with Unidata User Support are recorded in the
Unidata inquiry tracking system and then made publicly available
through the web. If you do not want to have your interactions made
available in this way, you must let us know in each email you send to us.