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.
Mark, You can redirect the output of a gempak program to a file, and parse that output. eg from a script using: gdplot2 << EOF > prognam.$$ .... DEVICE = gif|outfile.$$ EOF Then rename the gif file (outfile.$$) to something relevant after parsing the prognam.$$ output. Otherwise, there isn't a convenient way to specify the filename using a template that gets replaced within GEMPAK. Steve Chiswell Unidata User Support >From: "Mark Lilly" <address@hidden> >Organization: UCAR/Unidata >Keywords: 200405270102.i4R12RTb011868 >Institution: Sonoma Technology >Package Version: I believe the newest version of Gempak is installed (5.7?) >Operating System: Reed Hat Linux >Hardware Information: 1.7 GHZ AMD Athlon Processor/1024 MB memory >Inquiry: To Whom It May Concern, > >I am trying to automate the process of creating plots with EDAS data using Gem > pak. I was wondering if it were possible to export any of the variables used > by Gempak (ie. GDATTIM) to a variable so it can be used later in the script > (outside of Gempak). The reason I ask is because the EDAS files are labeled > by time from 00Z or 12Z and this makes constructing an output .gif filename h > ard, especially switching from one day/month/year to the next. Gempak accoun > ts for this time shift when labeling the plot, so if it make constructing out > put gif filenames more straight forward if this was possible. Any help is gr > eatly appreciated. Thanks for your time. > >Mark Lilly (address@hidden) > > > -- NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publically available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.