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 β€” *dval is the value currently assigned to the control parameter whose name is pointed to by pnam. 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 πŸ‘‘

  • natgrid
  • natgrid_params
  • c_natgrids
  • c_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 (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. πŸ’…βœ¨πŸŽ€