[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GEMPAK #RLP-791299]: Using gdthgt with GF
- Subject: [GEMPAK #RLP-791299]: Using gdthgt with GF
- Date: Mon, 12 Apr 2010 17:08:30 -0600
Thanks for the info.
I understand that the GF driver is not producing gif images but the GIf driver
is. Is there a reason you can't use the GIF driver? (are you running the
script from the cron/don't need or have access to the X server?)
Because the GF device is not tied to the X server and does not generate a gplt
process, it will not display a graphics window and will create a separate file
for each active frame either when the device is closed or a new file name is
given. If you're trying to overlay more graphics on the same image (by running
two instances of gdhght) you'll have to use the GIF driver as the gplt process
will remain open and the image file will not be written out and saved until the
gpend command end the process.
-Michael
> Michael,
>
> I should have been more specific with the error.
> You are correct that the problem is that the image file is not being
> created when using the GF driver.
> I have attached the script that I am using, as well as the output that I
> get when running gdthgt. I do not notice it throwing any errors, but the
> file is not created. If I simply change the line for device, either to
> GIF or PS it does not plot.
>
> Thanks for the quick response.
>
> Ben
>
> On 04/09/2010 06:31 PM, Unidata GEMPAK Support wrote:
> > Hi Benjamin,
> >
> > Can you describe with as much detail as possible any error messages you're
> > receiving? Is the problem that the image file is not being created when
> > using the GF driver?
> >
> > Michael James
> > Unidata
> >
> >
> >
> >
> >> GEMPAK Support,
> >>
> >> I am attempting to use gdthgt, and am running into a problem when
> >> setting DEVICE = GF|out.gif
> >>
> >> The same script works fine if I set DEVICE = GIF or DEVICE = PS
> >> I am using GEMPAK version 5.11.1
> >>
> >> uname -a
> >> Linux coates-fe01.rcac.purdue.edu 2.6.18-164.9.1.el5 #1 SMP Wed Dec 9
> >> 03:27:37 EST 2009 x86_64 x86_64 x86_64 GNU/Linux
> >>
> >> I would really appreciate it if you could point me to what may be going
> >> on here.
> >>
> >> Thanks for the help,
> >>
> >> Ben
> >>
> >> --
> >> Benjamin R. J. Schwedler
> >>
> >>
> >>
> >
> >
> > Ticket Details
> > ===================
> > Ticket ID: RLP-791299
> > Department: Support GEMPAK
> > Priority: Normal
> > Status: Open
> >
> >
>
> --
> Benjamin R. J. Schwedler
>
>
> COLORS Color list 101=255:255:255;1=0:0:0
> DEVICE Device|name|x size;y size|color GF|xtime.gif
> Parameters requested: COLORS,DEVICE.
> GEMPAK-GPCOLOR> GEMPAK-GPCOLOR> GEMPAK-GPCOLOR> GEMPAK-GPCOLOR> Parameters
> requested: COLORS,DEVICE.
> GEMPAK-GPCOLOR> GEMPAK-GPCOLOR> GPOINT Grid point
> MSP
> GDATTIM Grid date/time fall
> GVCORD Grid vertical coordinate pres
> GFUNC Scalar grid thta
> GVECT Vector grid wnd
> GDFILE Grid file
> /usr/rmt_share/eas-mebaldwi-fc/bschwedl/BLM/YSU/gemYSU/profile_700_12-60.gem
> PTYPE Plot type/h:w ratio/margins LOG
> TAXIS Time1-time2-tinc;lbl;gln;tck
> YAXIS Ystrt/ystop/yinc/lbl;gln;tck 1000/700
> BORDER Background color/type/width 1
> LINE Color/type/width/label/smth/fltr 1//2
> CINT Contour interval/min/max 1/200/350
> WIND Wind symbol/siz/wdth/typ/hdsz bk1/0.8/1/122/0.7
> TITLE Title color/line/title 1/-1/~ Purdue WRF: Theta, Wind
> (kts), and Relative Humidity
> CLEAR Clear screen flag n
> SCALE Scalar scale / vector scale
> PANEL Panel loc/color/dash/width/regn 0
> DEVICE Device|name|x size;y size|color GF
> TEXT Size/fnt/wdth/brdr/N-rot/just/hw 1.1/1/2/HW
> Parameters requested: GPOINT,GDATTIM,GVCORD,GFUNC,GVECT,GDFILE,PTYPE,TAXIS,
> YAXIS,BORDER,LINE,CINT,WIND,TITLE,CLEAR,SCALE,PANEL,DEVICE,TEXT.
> GEMPAK-GDTHGT> GEMPAK-GDTHGT> GEMPAK-GDTHGT> GEMPAK-GDTHGT> GEMPAK-GDTHGT>
> GEMPAK-GDTHGT> GEMPAK-GDTHGT> GEMPAK-GDTHGT> GEMPAK-GDTHGT> GEMPAK-GDTHGT>
> GEMPAK-GDTHGT> GEMPAK-GDTHGT> GEMPAK-GDTHGT> GEMPAK-GDTHGT> GEMPAK-GDTHGT>
> GEMPAK-GDTHGT> GEMPAK-GDTHGT> GEMPAK-GDTHGT> GEMPAK-GDTHGT> GEMPAK-GDTHGT>
> GEMPAK-GDTHGT> GEMPAK-GDTHGT> GEMPAK-GDTHGT> GEMPAK-GDTHGT> GEMPAK-GDTHGT>
> GDTHGT PARAMETERS
>
> Grid file:
> /usr/rmt_share/eas-mebaldwi-fc/bschwedl/BLM/YSU/gemYSU/profile_700_12-60.gem
> Date/time: fall
> Vertical coordinate: PRES
> Grid function: RELH
> Vector function:
> Scaling factor: 10** 0 Panel: 0
> Max: 100.0049 -- Min: 28.3964
>
> LEVELS: 70.00 80.00 90.00 95.00
> COLORS: 3 26 24 15
> LINTYP: 5 5 5 5
> LINWID: 1 1 1 1
> LABEL: 1 1 1 1
> Enter <cr> to accept parameters or type EXIT: Parameters requested:
> GPOINT,GDATTIM,GVCORD,GFUNC,GVECT,GDFILE,PTYPE,TAXIS,
> YAXIS,BORDER,LINE,CINT,WIND,TITLE,CLEAR,SCALE,PANEL,DEVICE,TEXT.
> GEMPAK-GDTHGT> GPOINT Grid point MSP
> GDATTIM Grid date/time fall
> GVCORD Grid vertical coordinate pres
> GFUNC Scalar grid RELH
> GVECT Vector grid
> GDFILE Grid file
> /usr/rmt_share/eas-mebaldwi-fc/bschwedl/BLM/YSU/gemYSU/profile_700_12-60.gem
> PTYPE Plot type/h:w ratio/margins LOG
> TAXIS Time1-time2-tinc;lbl;gln;tck
> YAXIS Ystrt/ystop/yinc/lbl;gln;tck 1000/700
> BORDER Background color/type/width 1
> LINE Color/type/width/label/smth/fltr 3;26;24;15/5;5;5;5
> CINT Contour interval/min/max 70;80;90;95
> WIND Wind symbol/siz/wdth/typ/hdsz
> TITLE Title color/line/title 1/-1/~ Purdue WRF: Theta, Wind
> (kts), and Relative Humidity
> CLEAR Clear screen flag y
> SCALE Scalar scale / vector scale
> PANEL Panel loc/color/dash/width/regn 0
> DEVICE Device|name|x size;y size|color GF|xtime.gif
> TEXT Size/fnt/wdth/brdr/N-rot/just/hw 1.1/1/2/HW
> Parameters requested: GPOINT,GDATTIM,GVCORD,GFUNC,GVECT,GDFILE,PTYPE,TAXIS,
> YAXIS,BORDER,LINE,CINT,WIND,TITLE,CLEAR,SCALE,PANEL,DEVICE,TEXT.
> GEMPAK-GDTHGT> GEMPAK-GDTHGT> GEMPAK-GDTHGT> GEMPAK-GDTHGT> GEMPAK-GDTHGT>
> GEMPAK-GDTHGT> GEMPAK-GDTHGT> GEMPAK-GDTHGT> GEMPAK-GDTHGT> GEMPAK-GDTHGT>
> GEMPAK-GDTHGT> GEMPAK-GDTHGT> GDTHGT PARAMETERS
>
> Grid file:
> /usr/rmt_share/eas-mebaldwi-fc/bschwedl/BLM/YSU/gemYSU/profile_700_12-60.gem
> Date/time: fall
> Vertical coordinate: PRES
> Grid function: thta
> Vector function: wnd
> Scaling factor: 10** 0 Panel: 0
> Max: 310.5613 -- Min: 292.2099
>
> LEVELS: 293.00 294.00 295.00 296.00 297.00 298.00 299.00
> COLORS: 1 1 1 1 1 1 1
> LINTYP: 1 1 1 1 1 1 1
> LINWID: 2 2 2 2 2 2 2
> LABEL: 1 1 1 1 1 1 1
>
> LEVELS: 300.00 301.00 302.00 303.00 304.00 305.00 306.00
> COLORS: 1 1 1 1 1 1 1
> LINTYP: 1 1 1 1 1 1 1
> LINWID: 2 2 2 2 2 2 2
> LABEL: 1 1 1 1 1 1 1
>
> LEVELS: 307.00 308.00 309.00 310.00
> COLORS: 1 1 1 1
> LINTYP: 1 1 1 1
> LINWID: 2 2 2 2
> LABEL: 1 1 1 1
> Enter <cr> to accept parameters or type EXIT: Parameters requested:
> GPOINT,GDATTIM,GVCORD,GFUNC,GVECT,GDFILE,PTYPE,TAXIS,
> YAXIS,BORDER,LINE,CINT,WIND,TITLE,CLEAR,SCALE,PANEL,DEVICE,TEXT.
> GEMPAK-GDTHGT>
Ticket Details
===================
Ticket ID: RLP-791299
Department: Support GEMPAK
Priority: Normal
Status: Open