next up previous
Next: NDF_XNUMB - Determine the number of extensions in an NDF
Up: FORTRAN ROUTINE DESCRIPTIONS
Previous: NDF_XNAME - Obtain the name of the N'th extension in an NDF

NDF_XNEW - Create a new extension in an NDF   

Description:
The routine creates a new named extension of specified type and shape in an NDF structure, and returns an HDS locator to it.

Invocation:
CALL NDF_XNEW( INDF, XNAME, TYPE, NDIM, DIM, LOC, STATUS )

Arguments:
INDF = INTEGER (Given)
NDF identifier.
XNAME = CHARACTER * ( * ) (Given)
Extension name.
TYPE = CHARACTER * ( * ) (Given)
HDS data type of the extension.
NDIM = INTEGER (Given)
Number of extension dimensions.
DIM( NDIM ) = INTEGER (Given)
Extension dimension sizes.
LOC = CHARACTER * ( * ) (Returned)
Locator to the newly created extension.
STATUS = INTEGER (Given and Returned)
The global status.

Notes:
  • If this routine is called with STATUS set, then an invalid locator will be returned for the LOC argument, although no further processing will occur. The same value will also be returned if the routine should fail for any reason.



next up previous
Next: NDF_XNUMB - Determine the number of extensions in an NDF
Up: FORTRAN ROUTINE DESCRIPTIONS
Previous: NDF_XNAME - Obtain the name of the N'th extension in an NDF


Starlink User Note 33
R.F. Warren-Smith
11th January 2000
E-mail:rfws@star.rl.ac.uk

Copyright © 2000 Council for the Central Laboratory of the Research Councils