Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 
Previous: NMAP Locator Next: NMAP Examples Table of contents Frames User Manual GEMPAK Online Tutorial > NPROGS > NMAP2

9.0.14 Adding GEMPAK data sets to GUIs

Adding a Surface or Upper air data set to NMAP

  1. Create a data set alias
  2. You will need a file alias for your data set in $GEMTBL/config/datatype.tbl. For example, to add the Suominet data set as a surface dataset (CAT_SFC) with an alias of SUOMI, and the 6 minute profiler dataset as an upperair dataset (CAT_SND) called PRO6:
    SUOMI        $GEMDATA/gps              YYYYMMDD_suomi.gem        CAT_SFC  SCAT_SFC   10   3600     -1
    PRO6         $GEMDATA/profiler         YYYYMMDD_6min.gem         CAT_SND  SCAT_SND    4   2880     -1
    

  3. Define data set plot parameters
  4. A table of available parameters for a data set can be provided as $GEMTBL/nmap/alias_parms.tbl. This file will contain a list of parameters and a symbol position flag such as:
    !
    !       SUOMI_PARMS.TBL
    !
    ! This table contains the available parameters used in the
    ! station model editing panel in NMAP for the SUOMI data type.
    !
    !       pos_zero_flag:  1 = plot at position 0 only
    !                       0 = plot at any position
    !
    ! Log:
    ! S. Chiswell/Unidata    10/03  Created
    !
    ! parameter       pos_zero_flag
    !
    pres              0
    tmpc              0
    relh              0
    pwvm              0
    pwve              0
    delw              0
    deld              0
    delt              0
    delf              0
    pifc              0
    mflg              0
    

    Similarly for the 6 minute profiler data:

    ! 
    !       PRO6_PARMS.TBL
    !
    ! This table contains the available parameters used in the
    ! station model editing panel in NMAP for PRO6 data types. 
    !
    !       pos_zero_flag:  1 = plot at position 0 only
    !                       0 = plot at any position
    !
    ! Log:
    !
    ! parameter       pos_zero_flag  
    !
    brbk:1:2:112      1        
    brbm:1:2          1       
    hght              0      
    drct              0     
    sped              0    
    wwnd              0   
    sigs              0  
    sigw              0        
    lmod              0       
    stid              0      
    stnm              0
    

  5. Add plot parameter configurations
  6. Create a default set of station plotting model configurations for each data set in $GEMTBL/config/prmlst.tbl. The configuration choices should specify a plot alias and data set name followed by lines that specify the GEMPAK parameters, colors, and other plotting attributes. These parameters are defined using the GEMPAK syntax rules. The only difference between our CAT_SFC data set and CAT_SND is that we need to provide the vertical coordinate and level (VCOORD & LEVEL) fields following the parameter and color lines.

    ^PRECIP_WATER | SUOMI
    SFPARM = PWVM
    COLORS = 5
    FILTER=0
    TEXT=1/21/HW
    !
    !
    ^PWV_COLOR | SUOMI
    SFPARM = PWVM
    COLORS=(3-48-3/14-30//U)
    FILTER=0
    TEXT=1/21/HW
    !
    !
    ^PWV_MET | SUOMI
    SFPARM = PWVM
    COLORS=(65;88/3;2;5/MFLG/L)
    FILTER=0
    TEXT=1/21/HW
    !
    !
    ^PRO6_STND | PRO6
    SNPARM=BRBK:1:2:112;SPED;SPAC;STID;SPAC;SPAC;DRCT
    COLORS=6;           2;        5;             3
    VCOORD=HGHT
    LEVEL=3000
    FILTER=0
    TEXT=1/21/HW
    !
    !
    

    Pre-defined station models specified in this table are used in GEMPAK plotting programs by setting the value of SFPARM or SNPARM to the desired alias name. NMAP2 accesses the station models in this table by presenting them as choices in its "Data Source" GUI.

Adding a Gridded Data Set to NMAP

  1. Create a gridded data set alias
  2. Here is an example of an entry to define the Workstation ETA output grids that are stored in individual forecast hour files.
    ! Workstation ETA
    WSETA        $MODEL/wseta              YYYYMMDDHHfFFF_wseta.gem  CAT_GRD  SCAT_FCT   -1     -1     -1
    

  3. Update model restore file MOD_RES.TBL entries
  4. Add the newly defined grid alias to the list of models in desired restore file entries in $GEMTBL/nmap/mod_res.tbl, or create new product restore files appropriate to the data set.
    PRECIP_1hr                     $NMAP_RESTORE/prcp/precip_1hr                        3.precip       wseta
    

 


Previous: NMAP Locator Next: NMAP Examples Table of contents Frames User Manual GEMPAK Online Tutorial > NPROGS > NMAP2

 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690