WMGETI(3NCARG)
π WMGETI β the NCAR Graphics bestie that grabs your INTEGER values π
okay so this is from the NCAR Graphics manual, page WMGETI(3NCARG), and it's literally the "hey bestie, what's the current value of this internal parameter" routine. It's the INTEGER-flavored one. There's a whole family (c, r, i β you'll meet them in SEE ALSO, iykyk) and this is the one you call when the thing you want back is an integer. π
β¨ NAME β¨
WMGETI β retrieves the integral value of an internal parameter of type INTEGER.
like. it gets you an integer. that's the whole vibe. π
πΈ SYNOPSIS πΈ
CALL WMGETI (PNAM,IVAL)
π¦ C-BINDING SYNOPSIS π¦
#include <ncarg/ncargC.h>
void c_wmgeti (char *pnam, int *ival)
π DESCRIPTION π
PNAMβ an input constant or variable of type CHARACTER, and it's the name of the parameter you wanna get. Important, bestie: the name has to appear as the first three characters of the string. Three. Characters. That's the rule. πIVALβ an output variable of type INTEGER, and it's the variable where the value of the internal parameter named byPNAMgets retrieved into. So you pass it in empty and it comes back with the goods. β¨
π C-BINDING DESCRIPTION π
the C-binding argument descriptions are the same as the FORTRAN argument descriptions. no notes. same energy, different syntax. π
β USAGE β
this routine lets you retrieve the current value of Wmap parameters. that's its whole job and it does it well, no cap. π«Ά
for a complete list of parameters available in this utility, go look at the wmap_params man page. (yes, we're linking you to more reading. it's giving academic. π)
π₯ ACCESS π₯
to use WMGETI or c_wmgeti, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c β preferably in that order. don't get cute with the order, okay? π
π SEE ALSO π
Online:
wmapwmdfltwmgetcwmgetrwmlabswmsetcwmsetiwmsetrwmap_params
Hardcopy:
- WMAP - A Package for Producing Daily Weather Maps and Plotting Station Model Data
(the whole squad. the getters, the setters, the defaults, the labs. iconic lineup fr fr π)
π§ COPYRIGHT π§
Copyright (C) 1987-2009 University Corporation for Atmospheric Research The use of this Software is governed by a License Agreement.
not me ending a manpage with legal text but like, we have to. it's the rules. π
and that's the whole page, bestie β you now know exactly how to pull an INTEGER out of Wmap and you did it without crying. main character energy. periodt. πβ¨
this little love letter to WMGETI came from the UNIX manual, dated January 1995, page WMGETI(3NCARG) β slay forever, king. ππ¦
π¦ 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