SNPROF draws profiles of upper air data.


INPUT PARAMETERS
 
    SNFILE    *Sounding data file
    DATTIM    *Date/time
    AREA      *Data area
    SNPARM    *Sounding parameter list
    LINE      *Line color/type/width/label
    PTYPE     *Plot type/h:w ratio/margins
    VCOORD    *Vertical coordinate type
    STNDEX    *Stability indices
    STNCOL    *Stability index color
    WIND      *Wind symbol/siz/wdth/typ/hdsz
    WINPOS    *Wind position
    MARKER    *Marker color/type/size/width/hw
    BORDER    *Background color/dash/width
    TITLE     *Title color/line/title
    DEVICE    *Device|name
    YAXIS     *Ystrt/ystop/yinc/lbl;gln;tck
    XAXIS     *Xstrt/xstop/xinc/lbl;gln;tck
    FILTER    *Filter data factor
    CLEAR     *Clear screen flag
    PANEL     *Panel location/color/dash/width
    TEXT      *Text size/font/width/hw flag
    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
 
    SNPROF draws profiles of upper air data.

    Any two parameters can be plotted; e.g., temperature and
    dewpoint temperature.  These parameters are specified in SNPARM.
    The color, line type, and width are specified in LINE.  Markers
    can be plotted by setting a color in MARKER.

    The type of y axis is specified in PTYPE.  LIN, LOG, STUVE,
    and SKEW are all valid.  Note that SKEW is only valid when
    plotting temperature vs. pressure.  The bottom and top of
    the axis, along with an increment for labels, are set in
    YAXIS.  If the panel is changed to be less than the full
    screen, the default margins will often be too large.  The
    margins can be set explicitly in PTYPE.

    Winds are plotted in the right margin and can be specified in
    WIND.  There are three positions available for plotting winds.
    They are numbered 1 to 3, with 1 being the leftmost position.
    The location for the wind to be plotted is specified in WINPOS.
    The positions also apply to the station identifier, date/time
    and stability indices which are plotted above the diagram.

    Dry adiabats, moist adiabats and mixing ratio background
    lines can be added to the diagram.  The attributes of these
    lines are specified in THTALN, THTELN, and MIXRLN.  The
    format for the specification is:

	color / line type / width / start / stop / increment

    If the color is set to 0, no lines will be plotted.  If the
    start, stop and increment are not set, defaults will be
    supplied.  Note that these lines can only be drawn on plots
    of pressure versus temperature.

    FILTER in this program determines whether the wind barbs are
    filtered.

 
EXAMPLES
 
    1.  Plot a Skew T chart for stations ACY, IAD, and HAT for the
        latest time in the file.  Display the Showalter index and
        the bulk Richardson number.  Plot TMPC in color 1 using
        a solid line with width of 5.  Plot DWPC in color 2 using
        a dashed line with width of 5.  Include theta, theta-e,
        and mixing ratio lines.  Plot filtered wind barbs in color
        4 in position 3.

        SNFILE  =  sound.snd
        DATTIM  =  last
        AREA    =  @acy;iad;hat
        SNPARM  =  tmpc;dwpc
        LINE    =  1;2/1;3/5
        PTYPE   =  skewt
        VCOORD  =  pres
        STNDEX  =  show;brch
        STNCOL  =  1
        WIND    =  bm4
        WINPOS  =  3
        MARKER  =
        BORDER  =  1
        TITLE   =  4
        DEVICE  =  xw
        YAXIS   =
        XAXIS   =
        FILTER  =  yes
        CLEAR   =  yes
        PANEL   =  0
        TEXT    =
        THTALN  =  3/4
        THTELN  =  4/4
        MIXRLN  =  5/4

     2. Plot relative humidity with a logarithmic pressure axis.
        Plot markers at the sounding data points up to 10 mb.  The
        theta, theta-e, and mixing ratio lines are turned off, and
        no stability indices are computed.

        PTYPE   =  log
        STNDEX  =
        SNPARM  =  relh
        YAXIS   =  1050/10
        THTALN  =  0
        THTELN  =  0
        MIXRLN  =  0
        MARKER 	=  1

    3.  Plot equivalent potential temperature on the x axis vs.
        potential temperature on the y axis.

        PTYPE   =  lin
        SNPARM  =  thte
        VCOORD  =  thta
        YAXIS   =  250/450/50


ERROR MESSAGES
 
    [SNPROF  +6]    Background lines cannot be drawn.
    [SNPROF  +5]    Stability indicies are specified with color = 0
    [SNPROF  +4]    Parameter ... was requested with color set to 0.
    [SNPROF  +3]    Winds cannot be computed.
    [SNPROF  +2]    Parameter ... is a character type.
    [SNPROF  +1]    Parameter ... cannot be computed.
    [SNPROF  -1]    Fatal error initializing TAE.
    [SNPROF  -2]    Fatal error reading TAE parameters.
    [SNPROF  -3]    Fatal error initializing GEMPLT.
    [SNPROF  -4]    The plot type ... is invalid.
    [SNPROF  -5]    The the x-axis range must be specified in XAXIS.
    [SNPROF  -6]    The two parms use different temperature units.
    [SNPROF  -7]    The vertical coordinate ... cannot be computed.
    [SNPROF  -8]    The range along the x or y axis is invalid.
    [SNPROF  -9]    No valid stations were found.
    [SNPROF -10]    SNPARM has not been specified.