### 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

##### FTYPE = CHARACTER $\ast$ ( $\ast$ ) (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).
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.