next up previous
Next: NDF_DELET - Delete an NDF
Up: FORTRAN ROUTINE DESCRIPTIONS
Previous: NDF_CREAT - Create a new simple NDF via the ADAM parameter system

   
NDF_CREP - Create a new primitive NDF via the ADAM parameter system

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

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

Arguments:
PARAM = CHARACTER * ( * ) (Given)
Name of the ADAM parameter.
FTYPE = CHARACTER * ( * ) (Given)
Type of the NDF's DATA component (e.g. '_REAL'). Note that complex types are not permitted when creating a primitive NDF.
NDIM = INTEGER (Given)
Number of NDF dimensions.
UBND( NDIM ) = INTEGER (Given)
Upper pixel-index bounds of the NDF (the lower bound of each dimension is taken to be 1).
INDF = INTEGER (Returned)
NDF identifier.
STATUS = INTEGER (Given and Returned)
The global status.

Notes:
  • This routine creates a "primitive" NDF, i.e. one whose array components will be stored in "primitive" form by default (see SGP/38).
  • The 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_DELET - Delete an NDF
Up: FORTRAN ROUTINE DESCRIPTIONS
Previous: NDF_CREAT - Create a new simple NDF via the ADAM parameter system


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