CPSETI(3NCARG)

πŸ“¦ version 6.6.2, in epel 9, fedora 43, fedora 44

πŸ’– 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 of PNAM are 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 parameter PNAM names. Here's the tea: if the internal parameter is of type INTEGER, it just gets IVAL directly. If the internal parameter is of type REAL? Then it gets REAL(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 (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