c_nngetrd(3NCARG)
β¨ c_nngetrd β the little getter that could π
okay bestie, welcome to the NCAR GRAPHICS section of the manual (yes, that's the manual name, we're fancy here), where c_nngetrd lives rent-free. she's a function. she fetches numbers. she's lowkey iconic for it.
πΈ NAME πΈ
c_nngetrd β retrieves the value of an internal parameter of type double.
like, that's her whole job. she goes and gets the double. no notes. π
π FUNCTION PROTOTYPE π
void c_nngetrd(char *, double *);
that's the whole signature, copy it exactly, do not freestyle it bestie, it's giving very specific.
π¦ SYNOPSIS π¦
c_nngetrd (pnam, dval)
two args. that's it. she's efficient. β¨
π DESCRIPTION π
pnamβ a string that specifies the name of the parameter to get. heads up though: the name has to show up as the first three characters of the string. so like, the first three, fr fr. don't come at her with the name buried in the middle, she will not find it. πdvalβ*dvalis the value currently assigned to the control parameter whose name is pointed to bypnam. so she's handing you back the actual current value, straight from the parameter itself. no cap. π
π₯ USAGE π₯
this routine lets you retrieve the current value of Natgrid parameters. that's the whole vibe β you want to know what a Natgrid parameter is set to right now, you ask c_nngetrd, she tells you.
and for the full tea on every parameter this utility has to offer, go read the natgrid_params man page. she has the complete list, we're not repeating all of it here. π
π ACCESS π
to use c_nngetrd, you gotta load the NCAR Graphics library ngmath. that's the requirement, bestie. load it or she simply will not run. periodt.
π SEE ALSO π
natgridnatgrid_paramsc_natgridsc_nnsetrd
and if you want the FULL complete documentation for Natgrid, it lives at this URL, go read it, it's a whole journey:
http://ngwww.ucar.edu/ngdoc/ng/ngmath/natgrid/nnhome.html
π COPYRIGHT π
Copyright (C) 2000 University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.
yes, that's the legal bit, we don't play with the legal bit. π«Ά
and that's the whole page, bestie. this one came out in the UNIX manual, March 1997-1998, filed under c_nngetrd(3NCARG). she's been serving accurate doubles since the 90s and she's still slaying. mwah. π
β¨π
π¦ 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