NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
>From: Leigh Cheatwood <address@hidden> >Organization: UCAR/Unidata >Keywords: 200404092039.i39KdtCT015616 >Hello, > >Is there a way to look at the files in the Gempak software using the >N-progs? For example, hrcbob.sfc. We want to be able to pull up a file >like hrcbob.sfc and look at it on the N-prog sites. Is that possible? >Please let me know. Thank you. > >Leigh Cheatwood > Leigh, The GUIs use the $GEMTBL/config/datatype.tbl to determine the file naming scheme for each data type. To look at the hrcbob.sfc file, you would want to link this file to a directory tree of hrcbob data that matches the expected file naming. For example, Create a hrcbob surface directory under your user ID as : mkdir -p ~/hrcbob/surface then link the hrcbob.sfc file to a file that follows the surface observation file naming expected by the N-progs, eg: cd ~/hrcbob/surface ln -s $GEMPAK/data/hrcbob.sfc 19910820_sao.gem Similarly for upperair, and ship: mkdir -p ~/hrcbob/upperair cd ~/hrcbob/upperair ln -s $GEMPAK/data/hrcbob.snd 19910820_upa.gem mkdir -p ~/hrcbob/ship cd ~/hrcbob/ship ln -s $GEMPAK/data/hrcbob.shp 1991082012_sb.gem Now, set your GEMDATA environmental variable to point to ~/hrcbob, eg: setenv GEMDATA ~/hrcbob and launch ntl: cd ~ ntl & When you launch a gui from ntl, it will inherit the environmental variable assignment of GEMDATA, so to display surface obs using NMAP2: Launch nmap2 select "Data" from the main icon bar of nmap2 select "New Source" from the Data Selection Window popup select "SURF_OBS", "METAR", "standard" from the data source popup, then accept Now, since the data isn't current, select the "Set Time" radio button on the data selection window, and set the current time to 6Z Aug 20, 1991. The available times back from 6Z appear. To go back further, set the time earlier. Lastly hit "Load". To look at model data, you need to define an environmental variable MODEL (~/hrcbob/model) and link the hrcbob.grd to ~/hrcbob/model/1991081900_ngm211.gem. Although the old ngm grid isn't 211, it is an existing NGM entry in datatype.tbl. Otherwise, youcould create your own and add the key to the $GEMTBL/nmap/mod_res.tbl for appropriate display functions. The main idea here is to maintain an identical file naming with the realtime data sets so that all you have to do is change the GEMDATA, MODEL, SAT, RAD variables that are referenced in datatype.tbl within your environment. Typically, to have case study data sets, a single script would set the variables in a shell and launch ntl so that the use didn't have to make any changes to their environment. The COMET case study library fits into this idea as well. Steve Chiswell Unidata User Support -- 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.