Processing math: 100%

CVG_ASSOC

Opens an existing FITS file specified by an environment parameter

Description:

This function opens an existing FITS file with a path obtained from the environment, and returns a logical unit number that can be used to access it using CVG and FITSIO functions.

Invocation

CALL CVG_ASSOC( PARAM, MODE, FUNIT, BLOCKF, STATUS )

Arguments

PARAM = CHARACTER ( ) (Given)
The name of the environemt parameter to use.
MODE = CHARACTER ( ) (Given)
The access mode: READ or UPDATE. Case insensitive. Abbreviations can be used.
FUNIT = INTEGER (Returned)
The logical unit number of the FITS file. Returned equal to CVG_NOLUN if an error occurs.
BLOCKF = INTEGER (Returned)
The logical record blocking factor.
STATUS = INTEGER (Given and Returned)
The global status.