CPGETR(3NCARG)
π CPGETR β it's giving "get the real value" π
okay bestie, welcome to CPGETR, part of the NCAR GRAPHICS fam (that's the manual name, we're keeping it cute but keeping it accurate π ). This lil routine lives in section 3NCARG and it's literally just here to hand you the real value of an internal parameter that's either REAL or INTEGER. no cap.
β¨ NAME β¨
CPGETR β retrieves the real value of an internal parameter of type REAL or INTEGER. that's the whole job. she does one thing and she slays it π
πΈ SYNOPSIS πΈ
CALL CPGETR (PNAM, RVAL)
π¦ C-BINDING SYNOPSIS π¦
#include <ncarg/ncargC.h>
void c_cpgetr (char *pnam, float *rval)
π DESCRIPTION π
PNAMβ (CHARACTER, input) this is the name of the parameter whose real value you wanna retrieve, bestie. heads up: only the first three characters ofPNAMare examined π. so the rest of the string? it's literally just there for β¨readabilityβ¨. it is recommended that you use the rest of the character string to improve the readability of the code. like, instead of just'SFS', use'SFS - SCALE FACTOR SELECTOR'. do it for the girlies who have to read your code later πRVALβ (REAL, output) this is the variable where the value of the parameter specified byPNAMgets returned π«Ά. here's the tea: if the internal parameter is a value "r" of type REAL, the value returned is "r". and if the internal parameter is a value "i" of type INTEGER, the value returned is "REAL(i)". yes, it converts for you. she's versatile π
π C-BINDING DESCRIPTION π
the C-binding argument descriptions are the same as the FORTRAN argument descriptions. literally the same. no notes π
β USAGE β
this routine allows you to retrieve the current value of Conpack parameters π. and if you want the complete list of parameters available in this utility, go check the conpack_params man page. it's all there, iykyk.
π₯ EXAMPLES π₯
use the ncargex command to see the following relevant examples: ccpclc, ccpklb, ccpllt, colcon, cpex01, cpex06, cpex07, cbex01. go look at them, they ate fr fr π
π ACCESS π
to use CPGETR or c_cpgetr, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c β preferably in that order. the order matters, don't do her dirty π
π§ MESSAGES π§
see the conpack man page for a description of all Conpack error messages and/or informational messages. that's where the drama lives.
π SEE ALSO π
Online: conpack, conpack_params, cpback, cpchcf, cpchcl, cpchhl, cpchil, cpchll, cpcica, cpclam, cpcldm, cpcldr, cpcltr, cpcnrc, cpdrpl, cpezct, cpgetc, cpgeti, cplbam, cplbdr, cpmpxy, cpmviw, cpmvrw, cppkcl, cppklb, cprect, cprset, cpscae, cpsetc, cpseti, cpsetr, cpsps1, cpsps2, ncarg_cbind
Hardcopy: NCAR Graphics Contouring and Mapping Tutorial
π COPYRIGHT π
Copyright (C) 1987-2009 University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.
π okay that's the whole page bestie, every single detail intact, no cap. go get those parameter values, you absolute icon. periodt. π β¨
UNIX β March 1993 β CPGETR(3NCARG) π that's the source, the version vibe and the date, all wrapped up with a lil bow π bye bestie π«Ά
π¦ 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