1WMLABS(3NCARG) NCAR GRAPHICS WMLABS(3NCARG)
2
3
4
6 WMLABS - plots weather map special symbols and daily weather icons.
7
9 CALL WMLABS (X, Y, SYMTYP)
10
12 #include <ncarg/gks.h>
13
14 void c_wmlabs(float x, float y, char *symtyp)
15
17 X (Real, Input) - An X coordinate (specified in world coordi‐
18 nates) of a point that specifies a position for the symbol
19 type in SYMTYP.
20
21 Y (Real, Input) - A Y coordinate (specified in world coordi‐
22 nates) of a point that specifies a position for the symbol
23 type in SYMTYP.
24
25 SYMTYP (Character, Input) - A character variable that indicates
26 the desired symbol.
27
28 Legal values for SYMTYP are:
29
30 'HI' for high pressure symbols.
31
32 'LOW' for low pressure symbols.
33
34 'ARROW' for arrows.
35
36 'DOT' for dots.
37
38 'CLOUD' for a cloud daily weather icon.
39
40 'ICE' for an ice daily weather icon.
41
42 'IS' for the intermittent shower daily weather
43 icon.
44
45 'IT' for the sunny, chance of T-storms daily
46 weather icon.
47
48 'MC' for the mostly cloudy daily weather icon.
49
50 'RAIN' for the daily weather icon indicating rain.
51
52 'RS' for the daily weather icon indicating rain and
53 snow.
54
55 'SNOWFLAKES' for the daily weather icon indicating
56 snow.
57
58 'SUN' for the sunny daily weather icon.
59
60 'THUNDERSTROM' for the daily weather icon indicat‐
61 ing thunderstorms.
62
63 'WIND' for the windy daily weather icon.
64
66 Set the values for the appropriate internal parameters before calling
67 WMLABS to produce the desired symbol. The internal parameters that
68 control the appearance of the symbols and icons are: SHT, HIB, HIF,
69 HIS, HIC (for the high symbols); SHT, LOF, LOB, LOS (for the low sym‐
70 bols); ARS, AWC, ARD, ASC, AOC (for arrows); DBC, DTC, DTS (for dots);
71 CC1, CC2, CC3 (for the cloud icon); LC1, LC2, LC3 (for lightening
72 bolts); SC1, SC2, SC3, SC4 (for the sun icon); COL.
73
75 To use WMLABS or c_wmlabs, load the NCAR Graphics libraries ncarg,
76 ncarg_gks, and ncarg_c, preferably in that order.
77
79 Online: wmap, wmdflt, wmgetc, wmgeti, wmgetr, wmsetc, wmseti, wmsetr,
80 wmap_params
81
82 Hardcopy: WMAP - A Package for Producing Daily Weather Maps and Plot‐
83 ting Station Model Data
84
86 Copyright (C) 1987-2009
87 University Corporation for Atmospheric Research
88 The use of this Software is governed by a License Agreement.
89
90
91
92UNIX January 1995 WMLABS(3NCARG)