C-BINDING SYNOPSIS#include <ncarg/ncargC.h>
int c_mpiola (int iaid, int ilvl)
- is an input expression of type INTEGER, specifying the area identifier of a particular area of interest.
- is an input expression of type INTEGER, specifying the level of the containing area to be found.
C-BINDING DESCRIPTIONThe C-binding argument description is the same as the FORTRAN argument description.
USAGEThe statement "IOLA=MPIOLA(IAIN,ILVL)" retrieves in IOLA the area identifier of the largest area, at level ILVL, that contains the area with area identifier IAIN. For example, if IMAD is the area identifier of the little island in Lake Superior called "Lake Madeline", then MPIOLA(IMAD,3) is the area identifier of an area called "United States".
EXAMPLESUse the ncargex command to see the following relevant examples: mpex11, mpex12.
ACCESSTo use MPIOLA or c_mpiola, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c, preferably in that order.
COPYRIGHTCopyright (C) 1987-2009
University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.