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.
Gustavo, NMAP2 implements the drawing of the model products through GDPLOT2 restore files. The $GEMTBL/nmap/mod_res.tbl file provides the restore file used for the product you are displaying. In your case below, the PMSL_EST_1000-500_THICK menu entry is using the restore file: $NMAP_RESTORE/modl/ecmwfg/pmsl_ethkn You can load this in your script which runs GDPLOT2 by the GEMPAK command: restore $NMAP_RESTORE/modl/ecmwfg/pmsl_ethkn You can then add the GDFILE, GDATTIM, GAREA and PROJ parameters from your script since these are generally something particular to your script or the GUI. Steve Chiswell Unidata User Support > Dear Gempak’s staff, > > I’m trying to run a script. By using the NMAP2 I can create a model > product. The commands are saved as a spf’s file. > > Let�s say this: > > <loop1_source1> > CAT_GRD|GRID/ecmwfg/[cycle_time]/A1.standard/PMS > L_EST_1000-500_THICK > <loop1_source1_interval> -1 > <loop1_source1_range> -1 > <loop1_dominant> 1 > <loop1_frames> 9 > <loop1_skip> 0 > <loop1_delta_rt> -1 > <loop1_roam> 0 > <loop1_auto_update> 1 > <loop1_map> South_America > <loop1_proj> MER > <loop1_garea> -60.00;-120.00;20.00;-20.00| > <loop1_map_ovl> Map:1 1 1| > Lat/Lon:10 2 1 10 1| > <loop1_single_time> 0 > > Is there a way to run that as a script to be run under a #!/bin/csh > environment? Or in other words, which gempak program I should use to do > this instead of using NMAPS2? > > Thank you and good 2007 for you! > > Gustavo > > Ticket Details =================== Ticket ID: HCR-177261 Department: Support GEMPAK Priority: Normal Status: Closed