WMGETC(3NCARG)
π WMGETC β bestie, come get your character π
okay so this is WMGETC, a lil NCAR Graphics routine from the 3NCARG manual, and honestly? it's giving "quiet support character who does one job perfectly." it grabs the current value of an internal Wmap parameter that happens to be of type character. that's it. that's the whole gig. and she ate. π
β¨ SYNOPSIS β¨
CALL WMGETC (PNAM,CVAL)
π C-BINDING SYNOPSIS π
#include <ncarg/ncargC.h>
void c_wmgetc (char *pnam, char *cval, int len)
π DESCRIPTION π
PNAMβ an input constant or variable of typeCHARACTER, and she's the one telling us which parameter we're getting. lowkey important detail: the name has to show up as the first three characters of the string. like, the first three. not somewhere in the middle. fr fr. πCVALβ an output variable of typeCHARACTER. this is the name of the variable where the value of the internal parameter you named inPNAMgets retrieved into. she's the lil bucket catching the answer. πͺ£β¨
π¦ C-BINDING DESCRIPTION π¦
the C-binding argument descriptions are the same as the FORTRAN argument descriptions, with exactly one exception, and here she is:
lenβ the size ofcvalas dimensioned in the calling program. that's it. that's the plot twist. π«Ά
π USAGE π
this routine lets you retrieve the current value of Wmap parameters. so if you're wondering what a Wmap parameter is set to right now, this is your girl. πββοΈ
for a complete list of parameters available in this utility, go read the wmap_params man page. she has the receipts. π
π₯ ACCESS π₯
to use WMGETC or c_wmgetc, you gotta load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c β preferably in that order. not me stressing the order, but also yes me stressing the order. π
πΈ SEE ALSO πΈ
Online: wmap, wmdflt, wmgetr, wmgeti, wmlabs, wmsetc, wmseti, wmsetr, wmap_params
Hardcopy: WMAP - A Package for Producing Daily Weather Maps and Plotting Station Model Data
like the whole squad is here.wmgetrandwmgetiare her siblings for real and integer values,wmsetcis the setter bestie, andwmdfltresets the defaults. iykyk. π§
π 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 page, bestie!! π this one came straight out of the NCAR GRAPHICS manual, WMGETC(3NCARG), and the version/date stamp on the original footer was UNIX, January 1995 β so yeah, she's been iconic since way before you were born. periodt. ππ
π
π¦ where this page comes from
- epel 9: ncl-devel 6.6.2-59.el9 Β· LicenseRef-Callaway-BSD
- fedora 43: ncl-devel 6.6.2-58.fc43 Β· LicenseRef-Callaway-BSD
- fedora 44: ncl-devel 6.6.2-62.fc44 Β· LicenseRef-Callaway-BSD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms