KPG1_DANOT

Generates an annotation from the NDF s label and units

Description:

This routine examines the NDF for a label and units. It creates a string of the form " label (units)" or " label" if the label but not the units are present. If neither are present a string comprising the array component followed by values in FILE is created. Where " FILE" is the NDF filename. If the label is defined but is blank, this same default is used. Blank units are omitted. The units are squared for the variance component.

Invocation

CALL KPG1_DANOT( NDF, COMP, DATLAB, STATUS )

Arguments

NDF = INTEGER (Given)
The NDF identifier.
COMP = CHARACTER ( ) (Given)
Name of the NDF array component: DATA , QUALITY , VARIANCE , or ERROR , though it is used literally and not checked to be a member of this set.
DATLAB = CHARACTER ( ) (Returned)
The composite annotation.
STATUS = INTEGER (Given and Returned)
The global status.

Prior Requirements