KPG1_GTWCS

Gets an AST FrameSet from an NDF

Description:

This routine returns a FrameSet describing the WCS information in an NDF. If the NDF has no WCS component, any IRAS90 IRA structure is converted into a FrameSet and returned. If the NDF has no IRAS90 IRA structure, then an attempt is made to read a FrameSet from the FITS headers in the FITS extension. If the NDF has no FITS extension, then the default NDF FrameSet is returned.

Invocation

CALL KPG1_GTWCS( INDF, IWCS, STATUS )

Arguments

INDF = INTEGER (Given)
The identifier for the NDF.
IWCS = INTEGER (Returned)
An AST pointer to the WCS FrameSet. Returned equal to AST__NULL if an error occurs.
STATUS = INTEGER (Given and Returned)
The global status.

Notes: