NDG_PUTPROV

Add an NDF to the list of ancestors

Description:

This routine modifies the supplied provenance structure to indicate that a given NDF was used in the creation of the NDF associated with the supplied provenance structure.

Invocation

CALL NDG_PUTPROV( IPROV, INDF, MORE, ISROOT, STATUS )

Arguments

IPROV = INTEGER (Given)
An identifier for a structure holding the provenance information read from an NDF, as returned by NDG_READPROV.
INDF = INTEGER (Given)
An identifier for an NDF that is to be added into the list of ancestor NDFs in the supplied provenance information.
MORE = INTEGER (Given)
A pointer to an AstKeyMap holding arbitrary additional information about the new ancestor NDF, and how it was used in the creation of the output NDF.
ISROOT = LOGICAL (Given)
If TRUE, then the new ancestor NDF will be treated as a root NDF. That is, any provenance information in the supplied NDF is ignored. If FALSE, then any provenance information in the NDF is copied into the supplied provenance structure. The new ancestor NDF is then only a root NDF if it contains no provenance information.
STATUS = INTEGER (Given and Returned)
The global status.