An alternative method of obtaining an NDF for output is to create an entirely new one. The NDF_CREAT routine will perform this task. For instance:
INTEGER NDIM, LBND( NDIM ), UBND( NDIM )
...
CALL NDF_CREAT( 'OUT', '_REAL', NDIM, LBND, UBND, INDF, STATUS )
will create a new NDF and associate it with the parameter `OUT'. If
you are using ADAM, a similar interface file entry to that in
§ would be required, except that `WRITE' access
would be specified in this case.
This example will create a simple, real NDF; i.e. one whose
data and variance components will be stored as `_REAL'
arrays, and whose array components will have a storage form of `SIMPLE' (see
§).
Its dimensionality and pixel-index bounds are specified by the NDIM, LBND
and UBND arguments.
Initially, all its components will be in an undefined state.