[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GEMPAK #WAE-500163]: Gempak PNG satellite image
- Subject: [GEMPAK #WAE-500163]: Gempak PNG satellite image
- Date: Mon, 22 Jan 2007 09:53:50 -0700
Jamie,
Make sure your script sources the GEMPAK Gemenviron file, such as:
source /home/gempak/Gemenviron
The source command in csh will load the environmental variables defined in that
Gemenviron file,
and add the executable directory containing the GEMPAK programs to your path.
The error message below indicates that your executable path does not have the
GEMEXE location
defined which leans to the GPLT program not being found. You will also need to
ensure that
your DISPLAY environmental variable is set and you have an X display which your
script can use (eg, if you are running from cron, you
may need to be running Xvfb so that the cron can talk to some display when you
are not logged in to the terminal).
Also, I can't see from your script, but make sure you do not call your script
"png" since
that would conflict with the png executable device driver. Conventionally, call
your script something.csh.
Be sure your script runs "gpend" at the end to close down the message queues
and output
your png file to disk. You may need to clean up your message queues now with
the "cleanup -c"
command if you have run your script with failures
Steve Chiswell
Unidata User Support
> I am running a c shell script that turns the current satellite data into a png
> file. I ran my script and it resulted in this output:
>
> /home/jlahowet/cronsat/png
> /data/gempak/surface/20070122_sao.gem
> /data/gempak/images/sat/GOES-12/4km/VIS/VIS_20070122_0145
> 0145
> [GEMPLT -101] NOPROC - Nonexistent executable.
> AREA Data area GAREA
> GAREA Graphics area 23.0;-117;50;-63
> SATFIL Satellite image filename(s)
> /data/gempak/images/sat/GOES-12/4km/VIS/VIS_20070122_0145
> RADFIL Radar image filename(s)
> IMCBAR Color/ornt/anch/x;y/ln;wd/freq
> SFPARM Surface parameter list blnk
> DATTIM Date/time 22/01
> SFFILE Surface data file
> /data/gempak/surface/20070122_sao.gem
> COLORS Color list 2;15;25;24;24;23;23;11;32;2
> MAP Map color/dash/width/filter flag 31/10
> MSCALE fgc;bgc;mask/units/lat;hide/valu 0
> LATLON Line color/dash/width/freq/inc/l 6/4/1/2/10;10
> TITLE Title color/line/title 2/-1/GOES-12 Visible Image
> 22Jan2007 0145 UTC OU SoM
> CLEAR Clear screen flag yes
> PANEL Panel loc/color/dash/width/regn 0
> DEVICE Device|name|x size;y size|color png | vis_sat.png | 800;600
> PROJ Map projection/angles/margins|dr SAT/90.0;-100.0;0.0
> FILTER Filter data factor .5
> TEXT Size/fnt/wdth/brdr/N-rot/just/hw 0.9/13/1/hw
> LUTFIL Enhancement lookup table filenam gemtbl:visgray.tbl
> STNPLT Txtc/txt attr|marker attr|stnfil
> CLRBAR Color/ornt/anch/x;y/ln;wd/freq|t
> Parameters requested: AREA,GAREA,SATFIL,RADFIL,IMCBAR,SFPARM,DATTIM,SFFILE,
> COLORS,MAP,MSCALE,LATLON,TITLE,CLEAR,PANEL,DEVICE,PROJ,FILTER,TEXT,LUTFIL,
> STNPLT,CLRBAR.
> GEMPAK-SFMAP> GEMPAK-SFMAP> GEMPAK-SFMAP> GEMPAK-SFMAP> GEMPAK-SFMAP>
> GEMPAK-SFMAP> GEMPAK-SFMAP> GEMPAK-SFMAP> GEMPAK-SFMAP> GEMPAK-SFMAP>
> GEMPAK-SFMAP> GEMPAK-SFMAP> GEMPAK-SFMAP> GEMPAK-SFMAP> GEMPAK-SFMAP>
> GEMPAK-SFMAP> GEMPAK-SFMAP> GEMPAK-SFMAP> GEMPAK-SFMAP> GEMPAK-SFMAP>
> GEMPAK-SFMAP> GEMPAK-SFMAP> GEMPAK-SFMAP> [SFMAP -3] Fatal error initializing
> GEMPLT.
> Error in message send = 22
> itype, ichan, nwords,0,1343488,3
> [GEMPLT -101] NOPROC - Nonexistent executable.
> [GPEND -3] Fatal error initializing GEMPLT.
>
> I do not know GEMPAK very well at all and I'm not sure how to solve this
> problem.
>
>
> ===================================
> Jamie Lahowetz
> Undergraduate of Meteorology
> University of Nebraska - Lincoln
> P: 402-304-0766
> M:address@hidden
>
>
Ticket Details
===================
Ticket ID: WAE-500163
Department: Support GEMPAK
Priority: Normal
Status: Closed