next up previous 207
Next: NDG_CREXP - Store the names of a specified group of NDF to be created
Up: Routines for accessing groups of NDFs
Previous: NDG_CREAT - Obtain the names of a group of NDF to be created from the environment


NDG_CREP1 - Create a single new primitive NDF using a specified parameter

Description:
This routine is equivalent to NDF_CREP except that it allows the NDF to be specified using a GRP group expression (for instance, its name may be given within a text file, etc). The first NDF in the group expression is returned. Any other names in the group expression are ignored. Any modification elements in the supplied group expression will be treated literally.

Invocation:
CALL NDG_CREP1( PARAM, FTYPE, NDIM, UBND, INDF, NAME, 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.
NAME = CHARACTER $*$ ( $*$ ) (Returned)
The full file specification for the NDF.
STATUS = INTEGER (Given and Returned)
The global status.



next up previous 207
Next: NDG_CREXP - Store the names of a specified group of NDF to be created
Up: Routines for accessing groups of NDFs
Previous: NDG_CREAT - Obtain the names of a group of NDF to be created from the environment

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