Draws a symbol from the standard wmo/noaa meteorological fonts by reference to the font name and symbol number within that font.
CALL NGWSYM(FTYPE,NUM,X,Y,SIZE,ICOLOR,IALT)
#include <ncarg/ncargC.h>
void c_ngwsym(char *ftype, int num, float x, float y,
float size, int icolor, int ialt)
(an input parameter of type CHARACTER) specifying the desired font. Legal values are:
- Present weather.
- Cloud types.
- Low clouds.
- Medium clouds.
- High clouds.
- Past weather.
- Sky cover.
- Pressure tendency.
(an input parameter of type INTEGER) specifying the number of the desired symbol within the specified font.
(an input parameter of type REAL) specifying the X coordinate position, in world coordinates, where the symbol is to be positioned. This X position marks the horizontal center of the symbol.
(an input parameter of type REAL) specifying the Y coordinate position, in world coordinates, where the symbol is to be positioned. This Y position marks the vertical center of the symbol.
(an input parameter of type REAL) the value of which is the height, in world coordinates, of the symbol.
(an input parameter of type INTEGER) the value of which is the GKS color index specifying what color the symbol will be.
(an input parameter of type INTEGER) indicating whether an alternate representation for the specified symbol is to be used. If IALT=1, then the alternate symbol for the one specified is drawn. This applies only to a few symbols such as numbers 7, 93, 94, 95, 97 in the WW font and number 3 in the W font.
The C binding argument descriptions are the same as the FORTRAN argument descriptions.
This function simply looks up the appropriate symbol in either font 36 or 37 of Plotchar and uses Plotchar to draw the symbol.
To produce a table of all the weather symbols broken down by font and symbol number, execute "ncargex fngwsym".
For the WW (present weather) font, the descriptions for the symbols are:
Cloud development NOT observed or NOT observable during past hour
Clouds generally dissolving or becoming less developed during past hour
State of sky on the whole unchanged during past hour
Clouds generally forming or developing during past hour
Visibility reduced by smoke
Haze
Widespread dust in suspension in the air, NOT raised by wind, at time of observation
Dust or sand raised by wind at time of observation
Well-developed dust whirl(s) within past hour
Dust storm or sandstorm within sight of or at station during past hour
Light fog (mist)
Patches of shallow fog at station, NOT deeper than 6 feet on land
More or less continuous shallow fog at station, NOT deeper than 6 feet on land
Lightning visible, no thunder heard
Precipitation within sight, but NOT reaching the ground
Precipitation within sight, reaching the ground but distant from station
Precipitation within sight, reaching the ground, near to but NOT at station
Thunderstorm, but no precipitation at the station
Squall(s) within sight during past hour or at time of observation
Funnel cloud(s) within sight of station at time of observation
Drizzle (NOT freezing) or snow grains (NOT falling as showers) during past hour, but NOT at time of observation
Rain (NOT freezing and not falling as showers) during past hour, but NOT at time of observation
Snow (NOT falling as showers) during past hour, but NOT at time of observation
Rain and snow or ice pellets (NOT falling as showers) during past hour, but NOT at time of observation
Freezing drizzle or freezing rain (NOT falling as showers) during past hour, but NOT at time of observation
Showers of rain during past hour, but NOT at time of observation
Showers of snow or of rain and snow, during past hour, but NOT at time of observation
Showers of hail or of hail and rain, during past hour, but NOT at time of observation
Fog during past hour, but NOT at time of observation
Thunderstorm (with or without precipitation) during past hour, but NOT at time of observation
Slight or moderate dust storm or sandstorm, has decreased during past hour
Slight or moderate dust storm or sandstorm, no appreciable change during past hour
Slight or moderate dust storm or sandstorm has begun or increased during past hour
Severe dust storm or sandstorm, has decreased during past hour
Severe dust storm or sandstorm, no appreciable change during past hour
Severe dust storm or sandstorm has begun or increased during past hour
Slight or moderate drifting snow, generally low (less than 6 feet)
Heavy drifting snow, generally low
Slight or moderate blowing snow, generally high (more than 6 feet)
Heavy blowing snow, generally high
For or ice fog at distance at time of observation, but NOT at station during past hour
Fog or ice fog in patches
Fog or ice fog, sky discernible, has become thinner during past hour
Fog or ice fog, sky NOT discernible, has become thinner during past hour
Fog or ice fog, sky discernible, no appreciable change during past hour
Fog or ice fog, sky NOT discernible, no appreciable change during past hour
Fog or ice fog, sky discernible, has begun or become thicker during past hour
Fog or ice fog, sky NOT discernible, has begun or become thicker during past hour
Fog depositing rime, sky discernible
Fog depositing rime, sky NOT discernible
Intermittent drizzle (NOT freezing), slight at time of observation
Continuous drizzle (NOT freezing), slight at time of observation
Intermittent drizzle (NOT freezing), moderate at time of observation
Continuous drizzle (NOT freezing), moderate at time of observation
Intermittent drizzle (NOT freezing), heavy at time of observation
Continuous drizzle (NOT freezing), heavy at time of observation
Slight freezing drizzle
Moderate or heavy freezing drizzle
Drizzle and rain, slight
Drizzle and rain, moderate or heavy
Intermittent rain (NOT freezing), slight at time of observation
Continuous rain (NOT freezing), slight at time of observation
Intermittent rain (NOT freezing), moderate at time of observation
Continuous rain (NOT freezing), moderate at time of observation
Intermittent rain (NOT freezing), heavy at time of observation
Continuous rain (NOT freezing), heavy at time of observation
Slight freezing rain
Moderate or heavy freezing rain
Rain or drizzle and snow, slight
Rain or drizzle and snow, moderate or heavy
Intermittent fall of snowflakes, slight at time of observation
Continuous fall of snowflakes, slight at time of observation
Intermittent fall of snowflakes, moderate at time of observation
Continuous fall of snowflakes, moderate at time of observation
Intermittent fall of snowflakes, heavy at time of observation
Continuous fall of snowflakes, heavy at time of observation
Ice prisms (with or without fog)
Snow grains (with or without fog)
Isolated starlike snow crystals (with or without fog)
Ice pellets or snow pellets
Slight rain shower(s)
Moderate or heavy rain shower(s)
Violent rain shower(s)
Slight shower(s) of rain and snow mixed
Moderate or heavy shower(s) of rain and snow mixed
Slight snow shower(s)
Moderate or heavy snow shower(s)
Slight shower(s) of snow pellets, or ice pellets with or without rain, or rain and snow mixed
Moderate or heavy shower(s) of snow pellets, or ice pellets, or ice pellets with or without rain or rain and snow mixed
Slight shower(s) of hail, with or without rain or rain and snow mixed, not associated with thunder
Moderate or heavy shower(s) of hail, with or without rain, or rain and snow mixed, not associated with thunder
Slight rain at time of observation; thunderstorm during past hour, but NOT at time of observation
Moderate or heavy rain at time of observation; thunderstorm during past hour, but NOT at time of observation
Slight snow, or rain and snow mixed, or hail at time of observation; thunderstorm during past hour, but NOT at time of observation
Moderate or heavy snow, or rain and snow mixed, or hail at time of observation; thunderstorm during past hour, but NOT at time of observation
Slight or moderate thunderstorm without hail, but with rain and/or snow at time of observation
Slight or moderate thunderstorm, with hail at time of observation
Heavy thunderstorm, without hail, but with rain and/or snow at time of observation
Thunderstorm combined with dust storm or sandstorm at time of observation
Heavy thunderstorm with hail at time of observation
Ci - Cirrus
Cc - Cirrocumulus
Cs - Cirrostratus
Ac - Altocumulus
As - Altostratus
Ns - Nimbostratus
Sc - Stratocumulus
St - Stratus
Cu - Cumulus
Cb - Cumulonimbus
not defined
Cu of fair weather, little vertical development and seemingly flattened
Cu of considerable development, generally towering, with or without other Cu or Sc bases all at same level
Cb with tops lacking clear-cut outlines, but distinctly not cirriform or anvil-shaped; with or without Cu, Sc, St
Sc formed by spreading out of Cu; Cu often present also
Sc not formed by spreading out of Cu
St or StFra (stratus fractus), but no StFra of bad weather
StFra and/or CuFra of bad weather (scud)
Cu and Sc (not formed by spreading out of Cu) with bases at different levels
Cb having clearly fibrous (cirriform) top, often anvil-shaped, with or without Cu, Sc, St, or scud
not defined
Thin As (most of cloud layer semitransparent)
Thick As, greater part sufficiently dense to hide sun (or moon), or Ns
Thin Ac, mostly semitransparent: cloud elements not changing much and at a single level
Thin Ac in patches; cloud elements continually changing and/or occurring at more than one level
Thin Ac in bands or in a layer gradually spreading over sky and usually thickening as a whole
Ac formed by the spreading out of Cu or Cb
Double-layered Ac, or a thick layer of Ac, not increasing; or Ac with As and/or Ns
Ac in the form of Cu-shaped tufts or Ac with turrets
Ac of a chaotic sky, usually at different levels; patches of dense Ci are usually present also
not defined
Filaments of Ci, or "mares tails," scattered and not increasing
Dense Ci in patches or twisted sheaves, usually not increasing, sometimes like remains of Cb; or towers or tufts
Dense Ci, often anvil-shaped, derived from or associated with Cb
Ci, often hook-shaped, gradually spreading over the sky and usually thickening as a whole
Ci and Cs, often in converging bands, or Cs alone; generally overspreading and growing denser; the continuous layer not reaching 45 degree altitude
Ci and Cs, often in converging bands, or Cs alone; generally overspreading and growing denser; the continuous layer exceeding 45 degree altitude
Veil of Cs covering the entire sky
Cs not increasing and not covering entire sky
Cc alone or Cc with some Ci or Cs, but the Cc being the main cirriform cloud
Clear or few clouds [no associated symbol]
Partly cloudy (scattered) or variable sky [no associated symbol]
Cloudy (broken) or overcast [no associated symbol]
Sandstorm or dust storm, or drifting or blowing snow
Fog, ice fog, thick haze or thick smoke
Drizzle
Rain
Snow, or rain and snow mixed, or ice pellets
Shower(s)
Thunderstorm, with or without precipitation
No clouds
One-tenth or less
Two-tenths or three-tenths
Four-tenths
Five-tenths
Six-tenths
Seven-tenths or eight tenths
Nine-tenths or overcast with openings
Completely overcast (ten-tenths)
Sky obscured
Rising, then falling; same as or higher than 3 hours ago
Rising, then steady; or rising, then rising more slowly
Rising steadily, or unsteadily
Falling or steady, then rising; or rising, then rising more rapidly
Steady; same as 3 hours ago
Falling, then rising; same as or lower than 3 hours ago
Falling, then steady; or falling, then falling more slowly
Falling steadily, or unsteadily
Steady or rising, then falling; or falling, then falling more rapidly
not defined
Plots the symbol for six-tenths cloud cover at position (.5,.5) and height .25 in the foreground color.
Plots the symbol for barometric pressure that is falling then steady.
Plots the alternate symbol for slight or moderate thunderstorm without hail.
Use the ncargex command to see the following relevant example: fngwsym.
To use NGWSYM or c_ngwsym, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c, preferably in that order.
If an illegal font, or symbol number within a font, is requested, then a warning is issued.
Online: plotchar(3NCARG), ncarg_cbind(3NCARG)
Hardcopy: NCAR Graphics Fundamentals, UNIX Version
Copyright (C) 1987-2009
University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.