- ←Prev
- KAPLIBS – Internal subroutines used within the KAPPA package.
- Next→
- TOC ↑
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:
-
If a WCS FrameSet is created form an IRAS90 astrometry structure or a FITS extension, it will be
stored in the supplied NDF if write access is available for the NDF.
-
The preferred AST encodings to use when interpreting FITS headers can be specified as a
comma-delimited string using environment variable KAPPA_ENCODINGS. If this variable is not
defined, then the normal default encodings are used (see FITSDIN).
- ←Prev
- KAPLIBS – Internal subroutines used within the KAPPA package.
- Next→
- TOC ↑