- ←Prev
- ARY
A Subroutine Library for Accessing
ARRAY Data Structures - Next→
- TOC ↑
ARY_SECTK
Create an array section
Description:
The routine creates a new array section which
refers to a selected region of an existing array (or array section). The section may be larger or smaller
in extent than the original array.
Invocation
CALL ARY_SECTK( IARY1, NDIM, LBND, UBND, IARY2,
STATUS )
Arguments
IARY = INTEGER (Given)
Identifier for the initial array.
NDIM =
INTEGER (Given)
Number of dimensions for new section.
LBND( NDIM ) = INTEGER*8 (Given)
Lower pixel-index bounds for the new section.
UBND( NDIM ) = INTEGER*8 (Given)
Upper
pixel-index bounds for the new section.
IARY2 = INTEGER (Returned)
Identifier for the
new section.
STATUS = INTEGER (Given and Returned)
The global status.
Notes:
-
The number of section dimensions need not match the number of dimensions in the initial array.
Pixel-index bounds will be padded with 1’
s as necessary to identify the pixels to which the new
section should refer.
-
Note that sections which extend beyond the pixel-index bounds of the initial array will be padded
with bad pixels.
-
If this routine is called with STATUS set, then a value of ARY__NOID will be returned for the IARY2
argument, although no further processing will occur. The same value will also be returned if the
routine should fail for any reason. The ARY__NOID constant is defined in the include file ARY_PAR.
- ←Prev
- ARY
A Subroutine Library for Accessing
ARRAY Data Structures - Next→
- TOC ↑