ncl_armvam - Man Page
Moves an area map from one integer array to another.
Synopsis
CALL ARMVAM (IAM,IAN,LAN)
C-Binding Synopsis
#include <ncarg/ncargC.h>
void c_armvam (int *iam, int *ian, int lan)
Description
- IAM
(an input array of type INTEGER) - An array containing an area map that has at least been initialized by a call to ARINAM.
Note: As part of initializing the area map, ARINAM stores the dimension of MAP in MAP(1); therefore, the dimension does not have to be given as an argument in calls to ARMVAM.)
- IAN
(an input array, dimensioned LAN, of type INTEGER) - An array to which the area map in the array IAM is to be moved.
- LAN
(an input expression of type INTEGER) - The length of the array IAN. This may be less than or greater than the length of the array IAM.
C-Binding Description
The C-binding argument descriptions are the same as the FORTRAN argument descriptions.
Usage
This routine may be used for two purposes: 1) to pack an area map down into the smallest possible space in the area map array; 2) during recovery from an area map array overflow condition, to move the area map from a smaller array to a larger array.
The area-map array IAM must at least have been initialized by a call to ARINAM, and it may have appeared in calls to one or more of AREDAM, ARPRAM, ARGTAI, ARDRLN, and ARSCAM. If the arrays IAM and IAN overlap in memory, they must start at the same location in memory.
Examples
Use the ncargex command to see the following relevant examples: arex02.
Access
To use ARMVAM or c_armvam, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c, preferably in that order.
Messages
See the areas man page for a description of all Areas error messages and/or informational messages.
See Also
Online: areas, areas_params, ardbpa, ardrln, argeti, argetr, argtai, arinam, arpram, arscam, arseti, arsetr, 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.