Make headers of processed data in prototype the same as with ESO pipeline
!268 (merged) closes #9 (closed): it is now possible to run the ESO recipes directly from MicadoWISE.
This gives us the opportunity to harmonize the headers used in MicadoWISE with those produced by the ESO pipeline. Harmonizing the headers of processed data is necessary for two reasons:
- It allows us to use MicadoWISE to create FITS files for our pipeline skeleton. That is, it lets MicadoWISE to be a reference for the to-be-implemented C recipes.
- It allows the ESO CPL FITS files to be ingested into MicadoWISE.
Particular issues to tackle:
-
data lineage keywords -
QC parameters -
other keywords -
keywords in extensions -
MD5 keywords for pixels and headers, since we want to remove it from the filename #199
ESO headers for a MasterDark:
SIMPLE = T / file does conform to FITS standard
BITPIX = 8 / number of bits per data pixel
NAXIS = 0 / number of data axes
EXTEND = T / FITS dataset may contain extensions
COMMENT FITS (Flexible Image Transport System) format is defined in 'Astronomy
COMMENT and Astrophysics', volume 376, page 359; bibcode: 2001A&A...376..359H
DATE = '2021-11-09T13:08:28' / file creation date (YYYY-MM-DDThh:mm:ss UT)
MJD-OBS = 0.
DATAMD5 = 'd8ed7cb1832f05438d90140e8f384dab' / MD5 checksum
PIPEFILE= 'micado_det_dark.fits' / Filename of data product
HIERARCH ESO OBS TPLNO = 0
HIERARCH ESO TPL START = 0.
HIERARCH ESO TPL EXPNO = 0
HIERARCH ESO PRO CATG = 'MASTERDARK_IMG' / Category of pipeline product frame
HIERARCH ESO PRO DID = 'PRO-1.16' / Data dictionary for PRO
HIERARCH ESO PRO TYPE = 'REDUCED ' / Product type
HIERARCH ESO PRO TECH = 'UNDEFINED' / Observation technique
HIERARCH ESO PRO SCIENCE = F / Scientific product if T
HIERARCH ESO PRO REC1 ID = 'micado_det_dark' / Pipeline recipe (unique) identifi
HIERARCH ESO PRO REC1 DRS ID = 'cpl-7.1.4' / Data Reduction System identifier
HIERARCH ESO PRO REC1 PIPE ID = 'micado/0.0.1' / Pipeline (unique) identifier
HIERARCH ESO PRO REC1 RAW1 NAME = 'MCDWS_DepersistedDark_7b5a0ada9f85703d.fits'
HIERARCH ESO PRO REC1 RAW1 CATG = 'DEPERSISTEDDARK_IMG' / Category of raw frame
HIERARCH ESO PRO REC1 RAW2 NAME = 'MCDWS_DepersistedDark_aaac1cffd28e8f4d.fits'
HIERARCH ESO PRO REC1 RAW2 CATG = 'DEPERSISTEDDARK_IMG' / Category of raw frame
HIERARCH ESO PRO REC1 RAW3 NAME = 'MCDWS_DepersistedDark_7a59055055710e1f.fits'
HIERARCH ESO PRO REC1 RAW3 CATG = 'DEPERSISTEDDARK_IMG' / Category of raw frame
HIERARCH ESO PRO REC1 RAW4 NAME = 'MCDWS_DepersistedDark_0c05cc7c19595929.fits'
HIERARCH ESO PRO REC1 RAW4 CATG = 'DEPERSISTEDDARK_IMG' / Category of raw frame
HIERARCH ESO PRO REC1 RAW5 NAME = 'MCDWS_DepersistedDark_601c711e1c50e084.fits'
HIERARCH ESO PRO REC1 RAW5 CATG = 'DEPERSISTEDDARK_IMG' / Category of raw frame
HIERARCH ESO PRO DATANCOM = 5 / Number of combined frames
HIERARCH ESO PRO REC1 PARAM1 NAME = 'threshup' / Upper threshold of dark values
HIERARCH ESO PRO REC1 PARAM1 VALUE = '0 ' / Default: 0
HIERARCH ESO QC DARK_QC = 0.
HIERARCH ESO RAW FILENAME = 'MCDWS_Dark_116f769cdeaf97ea.fits'
HIERARCH ESO REC FILENAME = ' '
HIERARCH ESO DO CATG = 'IMG_DP_DPDARK'
CHECKSUM= 'BTaMCTaJBTaJBTaJ' / HDU checksum updated 2021-11-09T13:08:28
DATASUM = ' 0' / data unit checksum updated 2021-11-09T13:08:28
Prototype headers:
SIMPLE = T / conforms to FITS standard
BITPIX = 8 / array data type
NAXIS = 0 / number of array dimensions
EXTEND = T
DET_DIT = 1.0
READMODE= 'CDS '
HIERARCH ESO REC FILENAME = ''
HIERARCH ESO DAR1 FILENAME = 'MCDWS_DepersistedDark_f2ae9876ea626289.fits'
HIERARCH ESO DAR2 FILENAME = 'MCDWS_DepersistedDark_d807ff475902faba.fits'
HIERARCH ESO DAR3 FILENAME = 'MCDWS_DepersistedDark_831f562407702c61.fits'
HIERARCH ESO DAR4 FILENAME = 'MCDWS_DepersistedDark_5ecd9f26d1e7aed0.fits'
HIERARCH ESO DAR5 FILENAME = 'MCDWS_DepersistedDark_029296ad3fd2c452.fits'
HIERARCH ESO QC DARKMEAN = 99.82356770833331
HIERARCH ESO QC DARKMED = 100.0
HIERARCH ESO QC DARKRMS = 5.32603587152683
HIERARCH ESO QC NPIXSAT = 0
HIERARCH ESO QC FPIXSAT = 0
INSTNAME= ''
FILENAME= '/xxx/xxxx/xxxx/xxxxxx/micado/notebooks/MCDWS_uhjgvztm.fits'
HIERARCH ESO DO CATG = 'IMG_MASTERDARK'
HIERARCH ESO PRO CATG = 'IMG_MASTERDARK'