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

[GEMPAK #IOO-295182]: GEMPAK radmap problem



> I'm running radmap from a perl script and I'm getting some kind of
> device error:
> 
> Producing Composite Radar plots via:.
> /home/gempak/NAWIPS/Gemenviron.profile ;
> /home/gempak/NAWIPS/os/linux/bin/radmap -s
> /ingest/ldm/data/gempak/nexrad/NIDS/EMX/NCR/NCR_20060719_1952
> /ftp/pub/incoming/catalog/cupido/ops.NEXRAD.200607191952.EMX_comp_reflectivity.gif
> " EMX Radar 20060719 1952 UTC "
> RADMAP:  GSDEVA - ier =  -47

Greg,

This seems to indicate that either your DISPLAY environmental variable is not
set in your script, or the X server that the gf driver will contect is not
configured.

> 
> I've tried running radmap_sw instead. That seems to work when I run
> the script manually but when I run it from crontab it generates a seg
> fault. Any idea what I'm doing wrong?

Sounds like your script does not change its working directory or
source the Gemenviron such that your normal environment is not set
when running from cron.
> 
> P.S. I'm also running several other radmap scripts from crontab at the
> same time as this one and they work.

These may work because they are correctly setting their environment or
have the right tables/files etc in the directory that radmap needs.

Steve Chiswell
Unidata User Support 



> 
> Thanks,
> Greg
> --
> 
> ~~N~A~T~I~O~N~A~L~~C~E~N~T~E~R~~F~O~R~~A~T~M~O~S~.~~R~E~S~E~A~R~C~H
> Greg Stossmeister                      e-mail: address@hidden
> NCAR/EOL                               phone: (303)497-8692
> P.O. Box 3000                          web: http://www.eol.ucar.edu
> Boulder, CO 80307-3000
> ~~~~~~~~E~A~R~T~H~~~O~B~S~E~R~V~I~N~G~~~L~A~B~O~R~A~T~O~R~Y~~~~~~~~
> 
> 


Ticket Details
===================
Ticket ID: IOO-295182
Department: Support GEMPAK
Priority: Normal
Status: Closed