GDPROF draws profiles of gridded data.

INPUT PARAMETERS
 
    GDATTIM   *Grid date/time
    GVCORD    *Grid vertical coordinate
    GFUNC     *Grid function
    GPOINT    *Grid point
    GDFILE    *Grid file
    GVECT     *Grid vector function
    LINE      *Line color/dash/width/label
    MARKER    *Marker color/type/size/width/hw
    BORDER    *Background color/dash/width
    PTYPE     *Plot type/h:w ratio/margins
    SCALE     *Scaling factor
    XAXIS     *Xstrt/xstop/xinc/lbl;gln;tck
    YAXIS     *Ystrt/ystop/yinc/lbl;gln;tck
    WIND      *Wind symbol/siz/wdth/typ/hdsz
    WINPOS    *Wind position
    FILTER    *Filter data factor
    TITLE     *Title color/line/title
    PANEL     *Panel location/color/dash/width
    CLEAR     *Clear screen flag
    TEXT      *Text size/font/width/hw flag
    DEVICE    *Graphics device
    OUTPUT    *Output device (TPF)
    THTALN    *THTA color/dash/width/mn/mx/inc
    THTELN    *THTE color/dash/width/mn/mx/inc
    MIXRLN    *MIXR color/dash/width/mn/mx/inc
 
 

PROGRAM DESCRIPTION
 
    GDPROF draws vertical profiles at a point.  Data from all
    levels in the grid file are interpolated to the point.

    GPOINT specifies the point for the profile.  It may be
    entered as a set of x and y grid points separated with a
    semicolon and preceded with an @, as a latitude and
    longitude separated with a semicolon, or as a station
    character identifier or station number.

    The vertical coordinate, set in GVCORD, can be PRES, THTA, or
    HGHT.  The vertical axis type, set in PTYPE, can be LIN,
    LOG, KAP, or SKEW.  Only temperatures may be plotted on a
    skew T plot.  The height-to-width ratio of the plot may
    be specified in PTYPE following a /.  If no value is entered,
    a value of 0 will be used.

    The value in GFUNC is computed at every level in the data set.
    No errors are returned if the function cannot be computed at
    any level, except at the surface.  If data at the surface
    cannot be computed, an error message is written and
    plotting continues.  GVECT specifies a vector to be
    plotted in the right margin.

    If M is entered in WIND, winds will be displayed in m/s unless
    the KNOTV operator has been specified in GVECT, in which case the
    winds will be displayed in knots.  If K is entered in WIND,
    the wind is displayed in knots.

    If GFUNC is a temperature or dewpoint temperature, background
    lines of potential temperature, equivalent potential
    temperature and mixing ratio can be displayed by specifying
    THTALN, THTELN, and MIXRLN.  If these background lines are
    requested and GFUNC is not a temperature, an error message
    is generated.


EXAMPLES
 
    1.  Plot temperature in Celsius on a log P chart at IAD for
        the latest time in the file.   Use the default line, marker,
        title and background colors.  Label the Y axis from 1000 mb
        to 100 mb in increments of 100 mb.  Label the X axis from
        -40 degrees to +40 degrees in increments of 10 degrees.  Add
        all the background lines as dotted lines.  Plot wind barbs in
        the right margin.

        GDATTIM  =  last
        GVCORD   =  pres
        GFUNC    =  temp
        GPOINT   =  IAD
        GDFILE   =  ngm.grd
        GVECT    =  obs
        LINE     =  1
        MARKER   =  1
        BORDER   =  1
        PTYPE    =  LOG
        SCALE    =  0
        XAXIS    =  -40/40/10
        YAXIS    =  1000/100/100
        WIND     =  bm1
        WINPOS   =
        FILTER   =  YES
        TITLE    =  1
        PANEL    =  0
        CLEAR    =  yes
        TEXT     =
        DEVICE   =  vt
        OUTPUT   =  no
        THTALN   =  1/10
        THTELN   =  1/10
        MIXRLN   =  1/10


    2.  Using the same file, plot the same parameters at HAT.
        The winds will be plotted to the right of the winds
        plotted above.

        GPOINT   =  hat
        BORDER   =  0
        CLEAR    =  no
        THTALN   =  0
        THTELN   =  0
        MIXRLN   =  0

    3.  Clear the screen and plot the relative humidity at BWI in
        color number 2 using a dotted line.  Do not plot any
        winds.

        GFUNC    =  relh
        GVECT    =
        LINE     =  2/10
        GPOINT   =  bwi


ERROR MESSAGES
 
    [gdprof  +1]    Invalid parameter for background lines.
    [gdprof  -1]    Fatal error initializing TAE.
    [gdprof  -2]    Fatal error reading TAE parameters.
    [gdprof  -3]    Fatal error initializing GEMPLT.
    [gdprof  -4]    Input for GPOINT is invalid.
    [gdprof  -5]    Input for GDATTIM is invalid.
    [gdprof  -6]    Input for GVCORD is invalid.
    [gdprof  -7]    Input for PTYPE is invalid.
    [gdprof  -8]    Error defining graph coordinates.
    [gdprof  -9]    No points found for profile.
    [gdprof -10]    There are no levels at this time.
    [gdprof -11]    Input ... for y axis is invalid.
    [gdprof -12]    Input ... for x axis is invalid.