next up previous
Next: NDF_CREP - Create a new primitive NDF via the ADAM parameter system
Up: FORTRAN ROUTINE DESCRIPTIONS
Previous: NDF_CPUT - Assign a value to an NDF character component

   
NDF_CREAT - Create a new simple NDF via the ADAM parameter system

Description:
The routine creates a new simple NDF via the ADAM parameter system, associates it with a parameter, and returns an NDF identifier for it.

Invocation:
CALL NDF_CREAT( PARAM, FTYPE, NDIM, LBND, UBND, INDF, STATUS )

Arguments:
PARAM = CHARACTER * ( * ) (Given)
Name of the ADAM parameter.
FTYPE = CHARACTER * ( * ) (Given)
Full data type of the NDF's DATA component (e.g. '_DOUBLE' or 'COMPLEX_REAL').
NDIM = INTEGER (Given)
Number of NDF dimensions.
LBND( NDIM ) = INTEGER (Given)
Lower pixel-index bounds of the NDF.
UBND( NDIM ) = INTEGER (Given)
Upper pixel-index bounds of the NDF.
INDF = INTEGER (Returned)
NDF identifier.
STATUS = INTEGER (Given and Returned)
The global status.

Notes:
  • This routine creates a "simple" NDF, i.e. one whose array components will be stored in "simple" form by default (see SGP/38).
  • The full data type of the DATA component is specified via the FTYPE argument and the data type of the VARIANCE component defaults to the same value. These data types may be set individually with the NDF_STYPE routine if required.
  • If this routine is called with STATUS set, then a value of NDF__NOID will be returned for the INDF 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.



next up previous
Next: NDF_CREP - Create a new primitive NDF via the ADAM parameter system
Up: FORTRAN ROUTINE DESCRIPTIONS
Previous: NDF_CPUT - Assign a value to an NDF character component


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