The process works similar to an interactive session. The output file is
only created after GPEND is run. You can run SFMAP multiple time,
as well as other GEMPAK programs to create the overlays (with CLEAR=NO).
When the plot is complete, then run GPEND. You don't need to change
DEVICE in between displays.
For example, your script might look like:
sfmap << SFMAP_EOF
# Other programs for overlay....such as gdcntr, gpmap etc can be
# run here followed by gpend. Output file isn't created until gpend.
Unidata User Support
On Thu, 2005-03-24 at 13:03, Nancy Selover wrote:
Does anyone know how to create an overlay for a *gif map
generated in crontab? I have two datasets, one being METAR, and the
other being a local mesonet of surface data, that I would like to
appear together on the same map - but not in an interactive session.
I have a cron job generating them. In an interactive Gempak session I
would run sfmap twice, without clearing, changing the SFFILE and Title
location, but I also need to worry about the device. I have the
virtual frame buffer working, and for a single layer I just have
device=gf | directory/outputfile | resolution But that command
creates the *gif file, and I need to run sfmap again before creating
the *.gif file. Is there some other device to use to run sfmap a
second time before sending the output to the *.gif file??
Thanks for the help.
Nancy J. Selover
Asst. State Climatologist
Office of Climatology tel: 480-965-0580
Arizona State University fax: 480-965-1473
Tempe, AZ 85287-1508 e-mail: selover@xxxxxxx