HDRUPD
FITS post-1998 date keyword updater for GEIS header files. Given an IPPPSSOOT
on the command line, HDRUPD looks for files in the current working directory of
the form IPPPSSOOT.%%H. If found, the files are assumed to be GEIS header
files, and any keyword values in the headers matching a keyword in the list
OPUS_DEFINITIONS_DIR:HDRUPD_KEYS.DAT are reformatted to the new IAU date
format (YYYY-MM-DD) subject to the following conditions:
- any targeted keyword date values must be in the old format (DD/MM/YY)
- the system clock must indicate that it is 1999 or later, or the
override logical OPUS_FITS_NEW_DATE must be defined in the process'
environment
Format: HDRUPD ipppssoot
Context
Input
The IPPPSSOOT of the GEIS header files to be updated. In addition, a list
of keywords targeted for the update must appear in the file
OPUS_DEFINITIONS_DIR:HDRUPD_KEYS.DAT in the format:
KEY1 = keyword1
KEY2 = keyword2
...
KEYn = keywordn
for n
keywords where keyword1, keyword2, ..., keywordn
are the target keyword names (eg., DATE-OBS).
Output
Existing GEIS header files in the current working directory with names
matching the pattern IPPPSSOOT.%%H are edited in place. If the system
clock indicates that it is 1999 or later, or the logical
OPUS_FITS_NEW_DATE is set in the environment, the keyword values will be
reformatted in the new IAU date format YYYY-MM-DD.
Unless an error occurs, HDRUPD outputs no messages to the screen.
Constraints
Parameter
The IPPPSSOOT must be complete and not wildcarded.
Example