CPMVRW(3NCARG)
π CPMVRW π β the "moving day" of real workspaces
okay so bestie, welcome to the CPMVRW page from the NCAR Graphics crew π
this is a FORTRAN-callable (and C-bindable!) routine, and it does exactly one iconic thing: it moves the contents of an old real workspace into a shiny new one. it's giving moving day but for arrays π
β¨ SYNOPSIS β¨
CALL CPMVRW (RWKO, RWKN, LWKN)
πΈ C-BINDING SYNOPSIS πΈ
#include <ncarg/ncargC.h>
void c_cpback (float *iwko, float *iwkn, int *lwkn)
π¦ DESCRIPTION π¦
So the arguments are literally just the old workspace and the new workspace. that's the whole vibe. here's the tea:
IWKOβ an input array of typeREAL, dimensioned as specified in the last call toCPRECT,CPSPS1,CPSPS2, orCPMVIW. this is the old real workspace array. the one you're moving away from π₯²IWKNβ an output array of typeREAL, dimensionedLWKN. this is the new real workspace array. the glow-up destination β¨LWKNβ an input expression of typeINTEGERthat specifies the length ofRWKN.
π« C-BINDING DESCRIPTION π«
The C-binding argument descriptions are the same as the FORTRAN argument descriptions. no notes, identical twin energy π―
π₯ USAGE π₯
okay bestie this is the part where you lock in, because there's lore.
When, in the execution of a CONPACK routine, the amount of space left in the real workspace array is found to be insufficient, and if the internal parameter 'WSO' has the value 3, the error-handling routine SETER is called with an appropriate error message. that's the alarm going off π¨
If, in addition, the user has turned recovery mode on, execution continues and, eventually, control is returned to the user. At that point, the user should detect the fact that an error has occurred. and if he/she chooses to try to recover from the error, CPMVRW may be of use: it may be called to move everything from the current real workspace to a new (and presumably bigger) one, after which it may be possible to resume execution. bigger array, bigger dreams, main character energy π
fr fr: this is a recovery tool, not a flex. it's for when the workspace ran out of room and you wanna keep going.
π EXAMPLES π
None, at present. (literally none. the cupboard is empty. not a single example. π)
π«Ά ACCESS π«Ά
To use CPMVRW or c_cpmvrw, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c, preferably in that order. yes the order matters, don't be chaotic about it π
π MESSAGES π
See the conpack man page for a description of all Conpack error messages and/or informational messages. go read it, it's the group chat history of this whole saga π±
π 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, 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.
and that's the whole page, bestie β slay, stay hydrated, and may your workspaces always be big enough the first time πΈβ¨
sign-off tea β: this was the CPMVRW page from the NCAR Graphics manual, dated March 1993, on a UNIX system, manual section 3NCARG. 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