next up previous 207
Next: NDG_NDFCR - Obtain an NDF identifier for a new simple NDF
Up: Routines for accessing groups of NDFs
Previous: NDG_NDFCO - Obtain an NDF identifier for a new NDF created by copying an existing NDF


NDG_NDFCP - Obtain an NDF identifier for a new primitive NDF

Description:
The routine returns an NDF identifier for a new primitive NDF created with the specified attributes. The name of the new NDF is held at a given index within a given group. It is equivalent to NDF_CREP.

Invocation:
CALL NDG_NDFCP( IGRP, INDEX, FTYPE, NDIM, UBND, INDF, STATUS )

Arguments:

IGRP = INTEGER (Given)
A GRP identifier for a group holding the names of NDFs. This will often be created using NDG_ASSOC, but groups created "by hand" using GRP directly (i.e. without the supplemental groups created by NDG_ASSOC) can also be used.
INDEX = INTEGER (Given)
The index within the group at which the name of the NDF to be created is stored.
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.



next up previous 207
Next: NDG_NDFCR - Obtain an NDF identifier for a new simple NDF
Up: Routines for accessing groups of NDFs
Previous: NDG_NDFCO - Obtain an NDF identifier for a new NDF created by copying an existing NDF

NDG [1ex
Starlink User Note 2
D.S. Berry
M.B. Taylor
22nd October 2009
E-mail:ussc@star.rl.ac.uk

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