### NDF_SECT

Create an NDF section

#### Description:

The routine creates a new NDF section which refers to a selected region of an existing NDF (or NDF section). The region may be larger or smaller in extent than the initial NDF.

#### Invocation

CALL NDF_SECT( INDF1, NDIM, LBND, UBND, INDF2, STATUS )

#### Arguments

##### INDF1 = INTEGER (Given)
Identifier for the initial NDF.
##### NDIM = INTEGER (Given)
Number of dimensions for the new section.
##### LBND( NDIM ) = INTEGER (Given)
Lower pixel-index bounds of the section.
##### UBND( NDIM ) = INTEGER (Given)
Upper pixel-index bounds of the section.
##### INDF2 = 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 NDF. Pixel-index bounds will be padded with 1’s as necessary to identify the pixels to which the new section should refer.

• The array components of sections which extend beyond the pixel-index bounds of the initial NDF will be padded with bad pixels.

• If the section bounds extend beyond the bounds of the associated base NDF and any of the NDF’s axis arrays have defined values, then these values will be extrapolated as necessary.

• If this routine is called with STATUS set, then a value of NDF__NOID will be returned for the INDF2 argument, although no further processing will occur. The same value will also be returned if the routine should fail for any reason. The NDF__NOID constant is defined in the include file NDF_PAR.