Description:
This function opens an existing FITS file with a given path, and returns a logical unit
number that can be used to access it using CVG and FITSIO functions.
Invocation
CALL
CVG_OPEN( PATH, MODE, FUNIT, BLOCKF, STATUS )
Arguments
PATH = CHARACTER
∗ (
∗ ) (Given)
The path
to the file to be created. A file type of "
.fit"
will be added if there is no file type in the supplied string.
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.