GDPROF draws profiles of a scalar grid and/or a vector grid. INPUT PARAMETERS GPOINT *Grid point GDATTIM *Grid date/time GVCORD *Grid vertical coordinate GFUNC *Grid function GVECT *Grid vector function GDFILE *Grid file LINE *Line color/type/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/filename 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 each level in the grid file are interpolated to the point. GPOINT specifies the location for the profile. It may be entered as a latitude and longitude separated with a semicolon, as a station character identifier or station number, or as a set of x and y grid points separated with a semicolon and preceded with an @. 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. 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, a warning message is written and plotting continues. GVECT specifies a vector to be plotted in the right margin. 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. GVECT specifies a vector grid to be displayed as arrows or barbs in one of three display columns on the right of the profile plot. The number of the column is specified in WINPOS. 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. 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 = tmpc GPOINT = iad GDFILE = ngm.grd GVECT = wnd LINE = 1 MARKER = 1 BORDER = 1 PTYPE = LOG SCALE = 0 XAXIS = -40/40/10 YAXIS = 1000/100/100 WIND = bm1 WINPOS = 1 FILTER = yes TITLE = 1 PANEL = 0 CLEAR = yes TEXT = DEVICE = xw 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 CLEAR = yes 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 YAXIS is invalid. [GDPROF -12] Input ... for XAXIS is invalid.