[ ESO ] [ ST-ECF ]

Science Archive
Stand-alone FITS Tools in ANSI C

Archive Facility HOME ESO HOME

hierarch28

Convert HIERARCH ESO keywords to regular FITS keywords, for use with other packages like IRAF.

hierarch28 modifies a FITS file according to an ASCII conversion table to search and replace FITS keywords. The main use is to replace the infamous HIERARCH ESO to make the FITS file understandable by data processing software packages. Because it is overwriting the file header directly, new keywords shall not be longer than the ones they replace.

Notice that hierarch28 will work both in the main header and in extension headers.

Using hierarch28 with the -g option will generate a default conversion table. Following are the keywords that are modified according to this table:

UTC = UT
LST = ST
RA  = RA
DEC = DEC

HIERARCH ESO TEL AIRM START = AIRMASS
HIERARCH ESO DPR TYPE       = IMAGETYP
HIERARCH ESO INS FILT1 NAME = FILTER1
HIERARCH ESO INS FILT2 NAME = FILTER2
HIERARCH ESO INS FILT3 NAME = FILTER3
HIERARCH ESO INS FILT4 NAME = FILTER4
HIERARCH ESO INS SLIT2 NAME = SLIT
HIERARCH ESO INS GRIS1 NAME = GRISM
HIERARCH ESO INS GRAT NAME  = GRAT
HIERARCH ESO INS GRAT1 NAME = GRAT1
HIERARCH ESO INS GRAT2 NAME = GRAT2
HIERARCH ESO INS GRAT WLEN  = WLEN
HIERARCH ESO INS GRAT1 WLEN = WLEN1
HIERARCH ESO INS GRAT2 WLEN = WLEN2
HIERARCH ESO INS GRAT ORDER = ORDER

Notice that the first 4 keywords are not only converted in name (UTC become UT, LST becomes ST), but also in value to fit the IRAF convention. See the documentation in the default table generated by hierarch28 for more information.


 [ESO Web Site]  [Search]  [Help]  [News]