NGWSYM(3NCARG)
π NGWSYM β the WMO/NOAA weather symbol girlie π
okay so bestie, meet NGWSYM, from NCAR GRAPHICS (yes, the 3NCARG one, iykyk π
). She draws a symbol from the standard WMO/NOAA meteorological fonts, and you get to pick which one by name and by the symbol number inside that font. no cap, that's the whole vibe.
β¨ NAME β¨
NGWSYM β draws a symbol from the standard WMO/NOAA meteorological fonts by reference to the font name and symbol number within that font. π
π«Ά SYNOPSIS π«Ά
CALL NGWSYM(FTYPE,NUM,X,Y,SIZE,ICOLOR,IALT)
π C-BINDING SYNOPSIS π
#include <ncarg/ncargC.h>
void c_ngwsym(char *ftype, int num, float x, float y,
float size, int icolor, int ialt)
π« DESCRIPTION π«
Here's the whole cast, one by one π«Ά
FTYPEβ an input parameter of type CHARACTER, and it's the one specifying the desired font. The legal values are:'WW'β Present weather.'C'β Cloud types.'CL'β Low clouds.'CM'β Medium clouds.'CH'β High clouds.'W'β Past weather.'N'β Sky cover.'a'β Pressure tendency.
NUMβ an input parameter of type INTEGER, specifying the number of the desired symbol within the specified font.Xβ 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.Yβ 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.SIZEβ an input parameter of type REAL, and its value is the height, in world coordinates, of the symbol.ICOLORβ an input parameter of type INTEGER, and its value is the GKS color index specifying what color the symbol will be.IALTβ an input parameter of type INTEGER, indicating whether an alternate representation for the specified symbol is to be used. IfIALT=1, then the alternate symbol for the one specified is drawn. Heads up bestie: this applies only to a few symbols, like numbers 7, 93, 94, 95, 97 in theWWfont and number 3 in theWfont. π
π§ C-BINDING DESCRIPTION π§
The C binding argument descriptions are the same as the FORTRAN argument descriptions. literally the same, we're not doing it twice π«Ά
πΈ USAGE πΈ
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: π₯
0β Cloud development NOT observed or NOT observable during past hour1β Clouds generally dissolving or becoming less developed during past hour2β State of sky on the whole unchanged during past hour3β Clouds generally forming or developing during past hour4β Visibility reduced by smoke5β Haze6β Widespread dust in suspension in the air, NOT raised by wind, at time of observation7β Dust or sand raised by wind at time of observation8β Well-developed dust whirl(s) within past hour9β Dust storm or sandstorm within sight of or at station during past hour10β Light fog (mist)11β Patches of shallow fog at station, NOT deeper than 6 feet on land12β More or less continuous shallow fog at station, NOT deeper than 6 feet on land13β Lightning visible, no thunder heard14β Precipitation within sight, but NOT reaching the ground15β Precipitation within sight, reaching the ground but distant from station16β Precipitation within sight, reaching the ground, near to but NOT at station17β Thunderstorm, but no precipitation at the station18β Squall(s) within sight during past hour or at time of observation19β Funnel cloud(s) within sight of station at time of observation20β Drizzle (NOT freezing) or snow grains (NOT falling as showers) during past hour, but NOT at time of observation21β Rain (NOT freezing and not falling as showers) during past hour, but NOT at time of observation22β Snow (NOT falling as showers) during past hour, but NOT at time of observation23β Rain and snow or ice pellets (NOT falling as showers) during past hour, but NOT at time of observation24β Freezing drizzle or freezing rain (NOT falling as showers) during past hour, but NOT at time of observation25β Showers of rain during past hour, but NOT at time of observation26β Showers of snow or of rain and snow, during past hour, but NOT at time of observation27β Showers of hail or of hail and rain, during past hour, but NOT at time of observation28β Fog during past hour, but NOT at time of observation29β Thunderstorm (with or without precipitation) during past hour, but NOT at time of observation30β Slight or moderate dust storm or sandstorm, has decreased during past hour31β Slight or moderate dust storm or sandstorm, no appreciable change during past hour32β Slight or moderate dust storm or sandstorm has begun or increased during past hour33β Severe dust storm or sandstorm, has decreased during past hour34β Severe dust storm or sandstorm, no appreciable change during past hour35β Severe dust storm or sandstorm has begun or increased during past hour36β Slight or moderate drifting snow, generally low (less than 6 feet)37β Heavy drifting snow, generally low38β Slight or moderate blowing snow, generally high (more than 6 feet)39β Heavy blowing snow, generally high40β For or ice fog at distance at time of observation, but NOT at station during past hour41β Fog or ice fog in patches42β Fog or ice fog, sky discernible, has become thinner during past hour43β Fog or ice fog, sky NOT discernible, has become thinner during past hour44β Fog or ice fog, sky discernible, no appreciable change during past hour45β Fog or ice fog, sky NOT discernible, no appreciable change during past hour46β Fog or ice fog, sky discernible, has begun or become thicker during past hour47β Fog or ice fog, sky NOT discernible, has begun or become thicker during past hour48β Fog depositing rime, sky discernible49β Fog depositing rime, sky NOT discernible50β Intermittent drizzle (NOT freezing), slight at time of observation51β Continuous drizzle (NOT freezing), slight at time of observation52β Intermittent drizzle (NOT freezing), moderate at time of observation53β Continuous drizzle (NOT freezing), moderate at time of observation54β Intermittent drizzle (NOT freezing), heavy at time of observation55β Continuous drizzle (NOT freezing), heavy at time of observation56β Slight freezing drizzle57β Moderate or heavy freezing drizzle58β Drizzle and rain, slight59β Drizzle and rain, moderate or heavy60β Intermittent rain (NOT freezing), slight at time of observation61β Continuous rain (NOT freezing), slight at time of observation62β Intermittent rain (NOT freezing), moderate at time of observation63β Continuous rain (NOT freezing), moderate at time of observation64β Intermittent rain (NOT freezing), heavy at time of observation65β Continuous rain (NOT freezing), heavy at time of observation66β Slight freezing rain67β Moderate or heavy freezing rain68β Rain or drizzle and snow, slight69β Rain or drizzle and snow, moderate or heavy70β Intermittent fall of snowflakes, slight at time of observation71β Continuous fall of snowflakes, slight at time of observation72β Intermittent fall of snowflakes, moderate at time of observation73β Continuous fall of snowflakes, moderate at time of observation74β Intermittent fall of snowflakes, heavy at time of observation75β Continuous fall of snowflakes, heavy at time of observation76β Ice prisms (with or without fog)77β Snow grains (with or without fog)78β Isolated starlike snow crystals (with or without fog)79β Ice pellets or snow pellets80β Slight rain shower(s)81β Moderate or heavy rain shower(s)82β Violent rain shower(s)83β Slight shower(s) of rain and snow mixed84β Moderate or heavy shower(s) of rain and snow mixed85β Slight snow shower(s)86β Moderate or heavy snow shower(s)87β Slight shower(s) of snow pellets, or ice pellets with or without rain, or rain and snow mixed88β Moderate or heavy shower(s) of snow pellets, or ice pellets, or ice pellets with or without rain or rain and snow mixed89β Slight shower(s) of hail, with or without rain or rain and snow mixed, not associated with thunder90β Moderate or heavy shower(s) of hail, with or without rain, or rain and snow mixed, not associated with thunder91β Slight rain at time of observation; thunderstorm during past hour, but NOT at time of observation92β Moderate or heavy rain at time of observation; thunderstorm during past hour, but NOT at time of observation93β Slight snow, or rain and snow mixed, or hail at time of observation; thunderstorm during past hour, but NOT at time of observation94β Moderate or heavy snow, or rain and snow mixed, or hail at time of observation; thunderstorm during past hour, but NOT at time of observation95β Slight or moderate thunderstorm without hail, but with rain and/or snow at time of observation96β Slight or moderate thunderstorm, with hail at time of observation97β Heavy thunderstorm, without hail, but with rain and/or snow at time of observation98β Thunderstorm combined with dust storm or sandstorm at time of observation99β Heavy thunderstorm with hail at time of observation
π¦ For the C (cloud types) font: π¦
0β Ci - Cirrus1β Cc - Cirrocumulus2β Cs - Cirrostratus3β Ac - Altocumulus4β As - Altostratus5β Ns - Nimbostratus6β Sc - Stratocumulus7β St - Stratus8β Cu - Cumulus9β Cb - Cumulonimbus
π For the CL (low clouds) font: π
0β not defined1β Cu of fair weather, little vertical development and seemingly flattened2β Cu of considerable development, generally towering, with or without other Cu or Sc bases all at same level3β Cb with tops lacking clear-cut outlines, but distinctly not cirriform or anvil-shaped; with or without Cu, Sc, St4β Sc formed by spreading out of Cu; Cu often present also
and bestie, the list keeps goingβ¦ part 2 is coming π π«Ά
5β Sc that was not formed by spreading out of Cu β no cap. π¦6β St or StFra (stratus fractus), but not the StFra of bad weather. π7β StFra and/or CuFra of bad weather (aka scud). π8β Cu and Sc (not formed by spreading out of Cu) with bases at different levels. π9β Cb with a clearly fibrous (cirriform) top, often anvil-shaped, with or without Cu, Sc, St, or scud. π
For the CM (medium clouds) font: β medium cloud crew rise up π
0β not defined, bestie. π1β Thin As (most of the cloud layer is semitransparent). β¨2β Thick As where the greater part is dense enough to hide the sun (or moon), or Ns. π§οΈ3β Thin Ac, mostly semitransparent: cloud elements aren't changing much and are at a single level. π«Ά4β Thin Ac in patches; cloud elements are continually changing and/or occurring at more than one level. π¦5β Thin Ac in bands or in a layer gradually spreading over the sky and usually thickening as a whole. π6β Ac formed by the spreading out of Cu or Cb. π7β Double-layered Ac, or a thick layer of Ac, not increasing; or Ac with As and/or Ns. π8β Ac in the form of Cu-shaped tufts or Ac with turrets. π9β Ac of a chaotic sky, usually at different levels; patches of dense Ci are usually present too. π
For the CH (high clouds) font: β high cloud hive, let's go βοΈ
0β not defined. π1β Filaments of Ci, or "mares tails," scattered and not increasing. πΈ2β Dense Ci in patches or twisted sheaves, usually not increasing, sometimes like remains of Cb; or towers or tufts. β¨3β Dense Ci, often anvil-shaped, derived from or associated with Cb. π₯4β Ci, often hook-shaped, gradually spreading over the sky and usually thickening as a whole. π¦5β Ci and Cs, often in converging bands, or Cs alone; generally overspreading and growing denser; the continuous layer not reaching 45 degree altitude. π6β Ci and Cs, often in converging bands, or Cs alone; generally overspreading and growing denser; the continuous layer exceeding 45 degree altitude. π7β Veil of Cs covering the entire sky. π8β Cs not increasing and not covering the entire sky. πΈ9β Cc alone or Cc with some Ci or Cs, but the Cc being the main cirriform cloud. π
For the W (past weather) font: β weather tea, past tense β
0β Clear or few clouds [no associated symbol]. βοΈ1β Partly cloudy (scattered) or variable sky [no associated symbol]. β2β Cloudy (broken) or overcast [no associated symbol]. βοΈ3β Sandstorm or dust storm, or drifting or blowing snow. πͺοΈ4β Fog, ice fog, thick haze or thick smoke. π«οΈ5β Drizzle. π¦οΈ6β Rain. π§οΈ7β Snow, or rain and snow mixed, or ice pellets. βοΈ8β Shower(s). π¦οΈ9β Thunderstorm, with or without precipitation. βοΈ
For the N (sky cover) font: β how much sky is serving cloud realness π₯οΈ
0β No clouds. βοΈ1β One-tenth or less. π€οΈ2β Two-tenths or three-tenths. β3β Four-tenths. π₯οΈ4β Five-tenths. βοΈ5β Six-tenths. π₯οΈ6β Seven-tenths or eight tenths. βοΈ7β Nine-tenths or overcast with openings. π«οΈ8β Completely overcast (ten-tenths). βοΈ9β Sky obscured. π«οΈ
For the a (pressure tendency) font: β barometric pressure mood ring ππ
0β Rising, then falling; same as or higher than 3 hours ago. ππ1β Rising, then steady; or rising, then rising more slowly. π2β Rising steadily, or unsteadily. π3β Falling or steady, then rising; or rising, then rising more rapidly. ππ4β Steady; same as 3 hours ago. β‘οΈ5β Falling, then rising; same as or lower than 3 hours ago. ππ6β Falling, then steady; or falling, then falling more slowly. π7β Falling steadily, or unsteadily. π8β Steady or rising, then falling; or falling, then falling more rapidly. β‘οΈπ9β not defined. π
β¨ EXAMPLES β¨
okay bestie, here are the actual calls you'd type into your code: π
CALL NGWSYM('N',5,.5,.5,.25,1,0)
This one plots the symbol for six-tenths cloud cover at position (.5,.5) and height .25 in the foreground color. β¨
CALL NGWSYM('a',6,.2,.8,.3,1,0)
This one plots the symbol for barometric pressure that is falling then steady. π
CALL NGWSYM('WW',95,.5,.5,.2,1,1)
This one plots the alternate symbol for slight or moderate thunderstorm without hail. βοΈ
Also, use the ncargex command to see the following relevant example: fngwsym. π
β¨ ACCESS β¨
To use NGWSYM or c_ngwsym, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c, preferably in that order. π
β¨ MESSAGES β¨
If an illegal font, or symbol number within a font, is requested, then a warning is issued. π
β¨ SEE ALSO β¨
Online: plotchar(3NCARG), ncarg_cbind(3NCARG)
Hardcopy: NCAR Graphics Fundamentals, UNIX Version
β¨ COPYRIGHT β¨
Copyright (C) 1987-2009 University Corporation for Atmospheric Research The use of this Software is governed by a License Agreement.
and that's the whole NGWSYM(3NCARG) page, bestie! π This iconic manual page is from the UNIX manual, version NGWSYM(3NCARG), dated March 1993. periodt. π
π¦ where this page comes from
- debian bookworm: libncarg-dev 6.6.2.dfsg.1-1
- debian trixie: libncarg-dev 6.6.2.dfsg.1-10+b2
- ubuntu jammy: libncarg-dev 6.6.2-10build2
- ubuntu questing: libncarg-dev 6.6.2.dfsg.1-10build2
- ubuntu resolute: libncarg-dev 6.6.2.dfsg.1-12
- ubuntu stonking: libncarg-dev 6.6.2.dfsg.1-12build2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms