This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Nancy, 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: #!/bin/csh -f sfmap << SFMAP_EOF <general_param_settings> SFFILE=metar CLEAR=y DEV=gf|surfacemap.gif|900;700 r CLEAR=no SFFILE=mesonet r e 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. gpend #------------------------------------------------------ Steve Chiswell 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 > > 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: address@hidden > >