KPG1_ASFIX

Modifies the WCS FrameSet of an NDF to take account of re-gridding the pixel array

Description:

This routine copies the WCS FrameSet from NDF1 to NDF2, re-mapping the PIXEL Frame using the specified Mapping in the process. It should be used to set up the WCS FrameSet of a newly created output NDF which has been formed by applying a geometric transformation to an input NDF.

Invocation

CALL KPG1_ASFIX( MAP, INDF1, INDF2, STATUS )

Arguments

MAP = INTEGER (Given)
An AST Mapping from pixel co-ordinates in the INDF1 to pixel co-ordinates in INDF2.
INDF1 = INTEGER (Given)
The input NDF.
INDF2 = INTEGER (Given)
The output NDF. Any existing WCS FrameSet is discarded and replaced by a re-mapped copy of the WCS FrameSet from the input NDF.
STATUS = INTEGER (Given and Returned)
The global status.