### NDF_PTSZx

Set new scale and zero values for an NDF array component

#### Description:

The routine sets new values for the scale and zero values associated with an NDF arraycomponent. If the array is stored in simple or primitive form, then the storage form is changed to scaled. See also NDF_ZSCAL which provides a higher level interface for creating SCALED arrays.

#### Invocation

CALL NDF_PTSZx( SCALE, ZERO, INDF, COMP, STATUS )

#### Arguments

##### SCALE = ? (Given)
The new value for the scaling factor.
##### ZERO = ? (Given)
The new value for the zero offset.
NDF identifier.
##### COMP = CHARACTER $\ast$ ( $\ast$ ) (Given)
Name of the NDF array component; ’DATA’ or ’VARIANCE’.
##### STATUS = INTEGER (Given and Returned)
The global status.

#### Notes:

• There is a routine for each of the standard Fortran numerical data types: integer, real and double precision. Replace the (lower case) "x" in the routine name by I, R or D as appropriate.

• A comma-separated list of component names may also be supplied, in which case the same scale and zero values will be used for each component in turn.

• This routine may only be used to change the scaling of a base NDF. If it is called with an array which is not a base array, then it will return without action. No error will result.

• An error will result if the array component, or any part of it, is currently mapped for access (e.g. through another identifier).

• This routine has no effect on components which are in an undefined state.