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

20020517: Problem with gf driver in scripts with 5.6.f



Kevin,

You may need to verify that your script is running with the 5.6.F
tables and environmental variables, and not still finding
directories from a past distribution. Since your script below does not
source the Gemenviron file, I can't tell what environment you would
expect when you are running from a cron.

Steve Chiswell
Unidata User Support


On Fri, 17 May 2002, Kevin R. Tyle wrote:

> Hi all,
> 
> I've run into a curious problem in 5.6.f.
> 
> When I attempt to create a gif image using the "gf" driver
> in a script, the gif file is never created.  If I create
> the gif file by running the program (e.g. gpmap) interactively,
> it works fine.
> 
> Problem occurs when using local host display as well
> as remote hosts (both real and virtual X servers)
> Versions up to and including 5.6.e.1 work fine.
> 
> Running Solaris 8 (Sparc).
> 
> Here is a short demonstration script:
> 
> #!/bin/csh
> set WORKDIR = /free/kevin/mrf/anom
> set DISPLAY = hostmach:0.0
> cd $WORKDIR
>     gpmap << EOF >> gdplot.out
> dev=gf
> garea=ny*
> proj=lcc
> map=1//2
> l
> r
> 
> exit
> EOF
> gpend
> /bin/mv -f gempak.gif junk.gif
> exit 0
> 
> Anyone else have this problem?
> 
> Thanks,
> 
> Kevin
> ______________________________________________________________________
> Kevin Tyle, Systems Administrator               **********************
> Dept. of Earth & Atmospheric Sciences           address@hidden
> University at Albany, ES-235                    518-442-4571 (voice)
> 1400 Washington Avenue                          518-442-5825 (fax)
> Albany, NY 12222                                **********************
> ______________________________________________________________________
>