Next: NDF_PTWCS - Store world coordinate system information in an NDF
Up: FORTRAN ROUTINE DESCRIPTIONS
Previous: NDF_PROP - Propagate NDF information to create a new NDF via the ADAM parameter system
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.
-
INDF = INTEGER (Given)
-
NDF identifier.
-
COMP = CHARACTER
(
) (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.
Next: NDF_PTWCS - Store world coordinate system information in an NDF
Up: FORTRAN ROUTINE DESCRIPTIONS
Previous: NDF_PROP - Propagate NDF information to create a new NDF via the ADAM parameter system
NDF [1ex
Starlink User Note 33
R.F. Warren-Smith & D.S. Berry
16th July 2012
E-mail:starlink@jiscmail.ac.uk
Copyright © 2013 Science and Technology Facilities Council