c_nngetr(3NCARG)
β¨ NAME β¨
c_nngetr β bestie, this one gets you the value of an internal parameter of type float. it's giving "tell me what you're currently set to" energy π
(also hi, this is a page from the NCAR GRAPHICS manual, in case you were wondering who was texting π«Ά)
π FUNCTION PROTOTYPE π
void c_nngetr(char *, float *);
πΈ SYNOPSIS πΈ
c_nngetr (pnam,fval)
π¦ DESCRIPTION π¦
pnamβ a string that tells us the name of the parameter you wanna get. heads up tho: the name has to appear as the first three characters of the string. so like, the first three chars, that's the name, no cap.fvalβ*fvalis gonna be the value that's currently assigned to the control parameter whose name is pointed to bypnam. so you hand it a pointer, it fills in the tea. slay β¨
π USAGE π
okay so this routine is literally just here so you can retrieve the current value of Natgrid parameters. that's it, that's the whole job, and it does it flawlessly, periodt.
for a complete list of the parameters available in this utility, go look at the natgrid_params man page. it's all in there, iykyk π
π₯ ACCESS π₯
to use c_nngetr, load the NCAR Graphics library ngmath. that's the vibe check you gotta pass π«Ά
π SEE ALSO π
natgridnatgrid_paramsc_natgridsc_nnsetr
complete documentation for Natgrid is available at URL http://ngwww.ucar.edu/ngdoc/ng/ngmath/natgrid/nnhome.html β go read it, it's iconic β
π COPYRIGHT π
Copyright (C) 2000 University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.
not me ending every man page with a little bow π anyway, this one came straight outta the UNIX manual, dated March 1997-1998, and it's c_nngetr(3NCARG). stay hydrated, read your params, and go get those floats bestie π
π¦ 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