NGGETR(3NCARG)
β¨ NGGETR β bestie, let's go get that real number β¨
okay so this is the NGGETR(3NCARG) page from the NCAR GRAPHICS manual, and it's genuinely iconic. it's all about pulling a REAL value out of Ngmisc's internal params. π«Ά
π NAME π
NGGETR β gets the current real value of an internal parameter of Ngmisc of type REAL. and like, if you want the whole list of every Ngmisc internal parameter that exists? go read the ngmisc_params man page, bestie, it's all there. π
πΈ SYNOPSIS πΈ
CALL NGGETR (PNAM, RVAL)
that's it. two args. we love a low-effort queen. π
π¦ C-BINDING SYNOPSIS π¦
#include <ncarg/ncargC.h>
void c_nggetr (char *pnam, float *rval)
C girlies, this one's for you. π
β¨ DESCRIPTION β¨
PNAMβ an input constant or variable of typeCHARACTER. it's the name of the parameter whose value you're tryna retrieve. and here's the tea: only the first two characters of the string are examined. so like. don't get cute with it. πRVALβ an output variable of typeREAL. this is where the value of the internal parameter lands. she's the main character of this function fr. π
π C-BINDING DESCRIPTION π
the C-binding argument descriptions are literally the same as the FORTRAN argument descriptions. no notes. same vibes, different syntax. β¨
π§ USAGE π§
this routine is your girl for retrieving the current value of Ngmisc parameters. and if you need the complete list of parameters available in this utility, the ngmisc_params man page has you covered. no cap. π
π ACCESS π
to use NGGETR or c_nggetr, you gotta load the NCAR Graphics libraries ncarg, ncarg_gks, ncarg_c, and ncarg_c β preferably in that order. yes bestie, ncarg_c really is listed twice. that's not a typo on my end, that's just how the page says it. write it down exactly like that. ππ
π₯ SEE ALSO π₯
- Online:
ngmisc_params,ngsetr,ngsetc,nggetc,ngseti,nggeti,ncarg_cbind. - Online URL:
http://ngwww.ucar.edu/ngdoc/ng/gks/gkshome.html - Hardcopy:
NCAR Graphics Fundamentals, UNIX Version;
a whole squad. go read all of them, i'm obsessed. π«Ά
π COPYRIGHT π
Copyright (C) 1987-2009
University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.
okay so real talk: this software is governed by a License Agreement. not optional, not a vibe, it's the rules. read it. respect it. π
and that's the whole page, babe. this was the NGGETR(3NCARG) entry from the UNIX manual, dated April 1994 β yeah, she's vintage but she still slays. πβ¨ππ¦πΈ
π¦ 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