CPSCAE(3NCARG)
π CPSCAE π β the NCAR Graphics one (man page section 3NCARG)
okay bestie, sit down, hydrate, because we're talking about CPSCAE from NCAR GRAPHICS. β¨
πΈ NAME πΈ
CPSCAE β the little routine that gets called over and over again by CPCICA while it's doing its thing. It updates one specific element of your cell array. And here's the slay part: the default version of CPSCAE can be replaced by you with a version that does something completely different. main character energy fr fr. π
β¨ SYNOPSIS β¨
CALL CPSCAE (ICRA, ICA1, ICAM, ICAN, XCPF, YCPF, XCQF,
+ YCQF, IND1, IND2, ICAF, IAID)
π¦ DESCRIPTION π¦
So the first eight arguments of CPSCAE are literally just describing your cell array, and they come straight from your own call to CPCICA. no middleman, no drama. π
ICRAβ (INTEGER array, dimensionedICA1by "n", where "n" is greater than or equal to the value of the argumentICAN, input/output) this is your cell array, bestie. Generally speaking, a user version ofCPSCAEshould only reset the value of the single elementICRA(IND1,IND2). just the one. one element. that's the vibe. πICA1β (INTEGER, input) the first dimension of the FORTRAN arrayICRA, which contains your cell array.ICAMβ (INTEGER, input) the first dimension of your cell array.ICANβ (INTEGER, input) the second dimension of your cell array.XCPFandYCPFβ (REAL, input) the coordinates, in the fractional coordinate system, of a pointP. AndPis the point at that corner of the rectangular area into which the cell array maps that corresponds to the cell(1,1). iykyk πXCQFandYCQFβ (REAL, input) the coordinates, in the fractional coordinate system, of a pointQ. AndQis the point at that corner of the rectangular area into which the cell array maps that corresponds to the cell(ICAM,ICAN). so P and Q are the two opposite corners, iconic. πIND1andIND2β (INTEGER, input) the indices of an element in the cell array that is to be reset. the chosen one. βICAFβ (INTEGER, input) the value of the internal parameter'CAF', which will be a negative integer (because, when'CAF'is greater than or equal to zero, the routineCPSCAEis not called at all β it's giving ghosted π»). Different values of'CAF'may be used in a user version ofCPSCAEto select different schemes for picking color indices. choose your fighter. πIAIDβ (INTEGER, input) the value of the area identifier associated with the midpoint of the cell(IND1,IND2). The four possibilities are as described for the routineCPCICA. go read that one too, bestie. π«Ά
π USAGE π
okay so real talk: CPSCAE is not called by the user. like, at all. nope. π
When a user calls the routine CPCICA and the internal parameter 'CAF' is negative, CPSCAE is called by CPCICA exactly once for each cell in the cell array. every single one. no skips. π―
The default version of CPSCAE just sets the cell's color index equal to the area identifier associated with the cell, if that area identifier is greater than or equal to zero; otherwise, it does nothing. literally nothing. it's at peace. π
A user-supplied version of CPSCAE may do something more complicated; for example, it may take into account both the value of the area identifier associated with the cell and the current value of the color index for the cell in determining the new value of the color index for the cell. now that's the level of customization we're talking about. π₯
π ACCESS π
To use CPSCAE, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c, preferably in that order. order matters bestie, don't play. π
π SEE ALSO π
Online: conpack, 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, cpsetc, cpseti, cpsetr, cpsps1, cpsps2, ncarg_cbind
the whole friend group. go say hi. π¦
π COPYRIGHT π
Copyright (C) 1987-2009 University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.
and that's the whole page, bestie π«Ά this one's from the UNIX manual, dated March 1993, and it lives under CPSCAE(3NCARG) β version vibes from way back, still serving. 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