eso2fits (Aug2004) | rjtools | eso2fits (Aug2004) |
The default translation table, "rjlib$esohdr.trans", is valid for data obtained in 2001–2002 with ESO VLT's FORS instument in direct imaging, multi-object slitlet and longslit modes, and is likely to give the user a good starting point for headers produced by other ESO instruments or older/newer FORS data. The default table may be copied and adapted in any way that suits the user's need.
This task is more flexible (but slower) than 'esowfi.esohdr' for simple FITS images and its main advantage is that it allows the user to define their own keyword translations that may, e.g., retain information from the third word of the ESO keyword string, or that may be expected by local reduction and analysis software. 'Eso2fits' may also be run prior to running 'esowfi.esohdr' using a small user-defined look-up table and setting 'unident = "warn"', to translate only a subset of header keystrings to different FITS keywords than 'esohdr' normally would translate them.
A warning is issued when a header has been processed already with 'eso2fits', and the user is prompted for confirmation on whether to proceed (which is perfectly valid when the lookup table is updated to include new keywords that were previously left untranslated).
Full support for multi-extension FITS files will be considered in the near future but is not available in this present version. The special case of extension "[0]" in a FITS file with only one extension that contains the image is dealt with sort of OK thanks to inheritance, but may result in two copies of the header (primary header and secondary header corresponding to the one and only data unit); proceed with caution...
rj> eso2fits ("FORS.2001-01-26T01:47:32.778.fits", transtab="rjlib$esohdr.trans", unident="quit", savehdr+, verbose-) Reading translation table into memory.............done Reading image header into memory............done Original ESO Hierarchical header is saved in "FORS.2001-01-26T01:47:32.778.hdr".
2. Portions of the output for 'verbose = yes' for the above example:
#38: HIERARCH ESO OBS NAME --> OBS-NAME= 'Q0302-003_p1-2x832s' #39: HIERARCH ESO OBS PROG ID --> PROG-ID = '66.A-0307(A)' #40: HIERARCH ESO OBS ID --> OBS-ID = 102405 #41: HIERARCH ESO OBS DID --> OBS-DID = 'ESO-VLT-DIC.OBS-1.4'...
#67: HIERARCH ESO TEL PARANG START --> PARANG1 = 128.132 #68: HIERARCH ESO TEL AIRM START --> AIRMASS1= 1.351 #69: HIERARCH ESO TEL AMBI FWHM START --> FWHM1 = 1.45 #70: HIERARCH ESO TEL AMBI PRES START --> AIRPRES1= 744.25 #71: HIERARCH ESO TEL TRAK STATUS --> TRCKSTAT= 'NORMAL ' #72: HIERARCH ESO TEL DOME STATUS --> DOMESTAT= 'FULLY-OPEN' #73: HIERARCH ESO TEL CHOP ST --> CHOPFLAG= F #74: HIERARCH ESO TEL PARANG END --> PARANG2 = 125.940 #75: HIERARCH ESO TEL AIRM END --> AIRMASS2= 1.415 #76: HIERARCH ESO TEL AMBI FWHM END --> FWHM2 = 1.33 #77: HIERARCH ESO TEL AMBI PRES END --> AIRPRES2= 744.48
...
#111: HIERARCH ESO INS OPTI9 NAME --> FILT4NAM= 'free ' #112: HIERARCH ESO INS OPTI9 ID --> FILT4ID = ' ' #113: HIERARCH ESO INS OPTI9 TYPE --> FILT4TYP= ' ' #114: HIERARCH ESO INS OPTI10 NAME --> FILT5NAM= 'FILT_485_37' #115: HIERARCH ESO INS OPTI10 ID --> FILT5ID = '+68 ' #116: HIERARCH ESO INS OPTI10 TYPE --> FILT5TYP= 'FILT ' #117: HIERARCH ESO INS GRIS1 POSANG --> GRIS1PA = 0.000 #118: HIERARCH ESO INS GRIS1 ID --> GRIS1ID = '+17 ' #119: HIERARCH ESO INS GRIS1 NAME --> GRIS1NAM= 'GRIS_150I' #120: HIERARCH ESO INS GRIS1 DISP --> GRIS1DIS= 22.8 #121: HIERARCH ESO INS GRIS1 WLEN --> GRIS1LAM= 715.0 #122: HIERARCH ESO INS FILT1 ID --> FILTERID= '+68 ' #123: HIERARCH ESO INS FILT1 NAME --> FILTER = 'FILT_485_37'
...
#238: HIERARCH ESO DET WIN1 DKTM --> WIN1DKTM= 832.5264 #239: HIERARCH ESO DET SHUT TYPE --> SHUTTYPE= 'Iris ' #240: HIERARCH ESO DET SHUT ID --> SHUTID = 'fors shutter' #241: HIERARCH ESO DET SHUT TMOPEN --> SHUTOPEN= 0.000 #242: HIERARCH ESO DET SHUT TMCLOS --> SHUTCLOS= 0.000 eso2fits.csh -- Done. "FORS.2001-01-26T01:47:32.778.fits: Image header from "FORS.2001-01-26T01:47:32.778.hdr substituted Original ESO Hierarchical header is saved in "FORS.2001-01-26T01:47:32.778.hdr".