Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 
Previous: GARP Data Display Types Next: GARP Menu bar Table of contents Frames User Manual GEMPAK Online Tutorial > NPROGS > GARP

9.6.3 GARP FDF's

Defining FDF's

The FDF (Function Definition File) is a simple text file which defines a GFUNC or GVECT specification. You can easily create FDF's for your favorite simple or complex diagnostic functions. All the FDF's for plan view graphics are stored in the $(GARPHOME)/fdf/scalar and $(GARPHOME)/fdf/vector directories. Cross section FDFs are stored in the $(GARPHOME)/fdf/xsscalar and $(GARPHOME)/fdf/xsvector directories. These directories are defined in the config/Garp_defaults file.

FDF's are further grouped into sections below each of these directories, to provide better FDF organization. For example, FDF's are groupled into 3 groups under fdf/scalar: general, convective and winter, to allow one to group particular FDF'd into seasonal groups. Users can create other groupings and populate them with their own FDF's if desired.

The FDF format allows you to specify a simple GFUNC or GVECT, or you can make a complete specification, including most of the GEMPAK variables. For a sample FDF, please see the $(GARPHOME)/fdf/ directories. For a blank FDF template, please see the file valid_fdf_keys, in the $(GARPHOME)/fdf/ directory, and here, in this directory.

Lines beginning with a "!" are comments. The required variables are indicated. The optional variables may be specified, or left blank. GEMPAK will use default values for blank variables.

The file name you choose for the FDF will be the name that appears in the "Scalar Field" or "Vector Field" scroll window in the Gridded Data or Cross Section selection window. The addition of FDF's is dynamic, so you can add new FDF's to GARP at any time.

To create a new FDF, I suggest that you copy an existing FDF, and make the necessary changes to the required and/or optional variables. You must also choose an appropriate file name. You must put the file in the appropriate directory ($GARPHOME/fdf/scalar/*, $GARPHOME/fdf/vector/*, $GARPHOME/fdf/xsscalar/* $GARPHOME/fdf/xsvector/*), and it is ready to be used. Sometimes, functions can be used in both plan projection and cross section graphics. If this is the case, I recomment that you put the FDF in the $GARPHOME/fdf/scalar directory, and create a link to the $GARPHOME/fdf/xsscalar directory. For example, if I create an FDF called "Temp_K" and placed it in the $GARPHOME/fdf/scalar/general directory, I can use the following command to create a link in the $GARPHOME/dfd/xsscalar/general directory:

ln -s $GARPHOME/fdf/scalar/general/Temp_K $GARPHOME/fdf/xsscalar/general/Temp_K

 


Previous: GARP Data Display Types Next: GARP Menu bar Table of contents Frames User Manual GEMPAK Online Tutorial > NPROGS > GARP

 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Office of Programs University Corporation for Atmospheric Research (UCAR)   Unidata is a member of the UCAR Office of 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