CPSETI(3NCARG)
π CPSETI β the NCAR Graphics glow-up page π
okay so bestie, you found it: CPSETI, living in the NCAR GRAPHICS manual (that's the 3NCARG corner of the library, iykyk). It's the Fortran-callable little icon whose whole job is setting integer-valued Conpack parameters. Come sit, I'll tell you everything. π«Ά
β¨ NAME β¨
CPSETI β sets the value of an internal parameter of type INTEGER or REAL. That's it. That's the whole vibe. π
β¨ SYNOPSIS β¨
CALL CPSETI (PNAM, IVAL)
β¨ C-BINDING SYNOPSIS β¨
#include <ncarg/ncargC.h>
void c_cpseti (char *pnam, int ival)
β¨ DESCRIPTION β¨
PNAMβ (CHARACTER, input) the name of the parameter you're handing an integer value to. Only the first three characters ofPNAMare examined β that's the whole lookup, fr fr. But the rest of the string? Use it to make your code readable, bestie. Like, instead of just'ILA', write'ILA - INFORMATIONAL LABEL ANGLE'. Main character move. β¨IVALβ (INTEGER, input) an expression whose value gets handed to whatever parameterPNAMnames. Here's the tea: if the internal parameter is of type INTEGER, it just getsIVALdirectly. If the internal parameter is of type REAL? Then it getsREAL(IVAL)instead. So the integer gets converted on the way in. π
β¨ C-BINDING DESCRIPTION β¨
The C-binding argument descriptions are the same as the FORTRAN argument descriptions. No notes, same energy. π
β¨ USAGE β¨
This routine is your girl for setting the current value of Conpack parameters. π
Want the full lineup of every parameter this utility has? See the conpack_params man page. It's giving encyclopedia, go read it. π
β¨ EXAMPLES β¨
Use the ncargex command to peep these relevant examples β yes, all of them, I'm not gatekeeping:
ccpcfx, ccpcica, ccpcir, ccpcis, ccpcit, ccpclc, ccpcld, ccpcldm, ccpcll, ccpclu, ccpfil, ccphand, ccphcf, ccphl, ccphlt, ccpila, ccpklb, ccplbdr, ccpline, ccpllb, ccpllc, ccplll, ccpllo, ccpllp, ccpllt, ccpllw, ccpmap, ccpmovi, ccpmpxy, ccpncls, ccpnet, ccpnof, ccpnsd, ccppc, ccppc1, ccppc2, ccppc3, ccppc4, ccppkcl, ccppole, ccprc, ccppole, ccpset, ccpspv, ccpt2d, ccpvp, ccpvs, colcon, cpex01, cpex02, cpex03, cpex04, cpex05, cpex06, cpex07, cpex08, cpex09, cbex01, vvex01, tconpa, fcover, ffex03, ffex05, fsfsgfa.
(and yes, ccppole is in there twice, that's just how the original rolls, no I will not be editing it π)
β¨ ACCESS β¨
To use CPSETI or c_cpseti, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c β preferably in that order. Order matters, bestie, don't do your own thing here. β
β¨ MESSAGES β¨
Want the full rundown of every Conpack error message and/or informational message? See the conpack man page. She spills all the tea. π
β¨ SEE ALSO β¨
Online: conpack, conpack_params, cpback, cpchcf, cpchcl, cpchhl, cpchil, cpchll, cpcica, cpclam, cpcldm, cpcldr, cpcltr, cpcnrc, cpdrpl, cpezct, cpgetc, cpgeti, cpgetr, cplbam, cplbdr, cpmpxy, cpmviw, cpmvrw, cppkcl, cppklb, cprect, cprset, cpscae, cpsetc, cpsetr, cpsps1, cpsps2, ncarg_cbind
Hardcopy: NCAR Graphics Contouring and Mapping Tutorial β yes, an actual book, slay. π
β¨ COPYRIGHT β¨
Copyright (C) 1987-2009 University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.
(translation: read the license, it's the rules, no cap π«Ά)
okay and that's the whole page, bestie!! this one's from UNIX, dated March 1993, and it's officially catalogued as CPSETI(3NCARG). icon behavior from 1993 to forever. go set some parameters. periodt. π
β¨ππ¦
π¦ 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