CPMVRW(3NCARG)

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

πŸ’– 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 type REAL, dimensioned as specified in the last call to CPRECT, CPSPS1, CPSPS2, or CPMVIW. this is the old real workspace array. the one you're moving away from πŸ₯²
  • IWKN β€” an output array of type REAL, dimensioned LWKN. this is the new real workspace array. the glow-up destination ✨
  • LWKN β€” an input expression of type INTEGER that specifies the length of RWKN.

πŸ’« 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 (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