MJDOBS: "MJD-OBS"
MJDEND: "MJD-END"
NAXIS: "NAXIS"
INSTRUME: "INSTRUME"
RA: "RA"
DEC: "DEC"
OBS_PROG_ID:  "ESO OBS PROG ID"
PRO_TECH:     "ESO PRO TECH"
PRO_TYPE:     "ESO PRO TYPE"
PRO_CATG: "ESO PRO CATG"
SNR:          "SNR"
PRO_REC1_PIPE_ID: "ESO PRO REC1 PIPE ID"
TPL_EXPNO: "ESO TPL EXPNO"
TPL_START: "ESO TPL START"
TPL_END: "ESO TPL END"
GEOLAT: "ESO TEL GEOLAT"
GEOLON: "ESO TEL GEOLON"
UTC: "UTC"
TELESCOP: "TELESCOP"
TEL_TARG_ALPHA: "ESO TEL TARG ALPHA"
TEL_TARG_DELTA: "ESO TEL TARG DELTA"
CD1: "CD1"
CD11: "CD1_1"
CD12: "CD1_2"
CD21: "CD2_1"
CD22: "CD2_2"
DET_WIN1_UIT1: "ESO DET WIN1 UIT1"
CD13: "CD1_3"
CD31: "CD3_1"
CD23: "CD2_3"
CD32: "CD3_2"
CD33: "CD3_3"
LST: "LST"
NAXIS1: "NAXIS1"
NAXIS2: "NAXIS2"
NAXIS3: "NAXIS3"
CRPIX1: "CRPIX1"
CRPIX2: "CRPIX2"
CRPIX3: "CRPIX3"
CDELT1: "CDELT1"
CDELT2: "CDELT2"
CDELT3: "CDELT3"
CRVAL1: "CRVAL1"
CRVAL2: "CRVAL2"
CRVAL3: "CRVAL3"
CTYPE1: "CTYPE1"
CTYPE2: "CTYPE2"
CTYPE3: "CTYPE3"
CUNIT1: "CUNIT1"
CUNIT2: "CUNIT2"
CUNIT3: "CUNIT3"
BUNIT: "BUNIT"
BUNIT_FLUX_ABS_C: "erg/s/cm2/Angstrom"
BUNIT_FLUX_REL_C: "ADU"
BUNIT_NONE_C: ""
RAW1_NAME: "ESO PRO REC1 RAW1 NAME"
RAW1_CATG: "ESO PRO REC1 RAW1 CATG"
ARCFILE: "ARCFILE"
ORIGFILE: "ORIGFILE"
DATE:    "DATE"
DATE_OBS:    "DATE-OBS"
EXTNAME: "EXTNAME"
EXPTIME: "EXPTIME"
OBS_ID:    "ESO OBS ID"
OBS_TARG_NAME:    "ESO OBS TARG NAME"
AIRM_START:  "ESO TEL AIRM START"
AIRM_END:    "ESO TEL AIRM END"
SEEING_START: "ESO TEL AMBI FWHM START"
SEEING_END: "ESO TEL AMBI FWHM END"
SLIT_UVB: "ESO INS OPTI3 NAME"
SLIT_VIS: "ESO INS OPTI4 NAME"
SLIT_NIR: "ESO INS OPTI5 NAME"
FOCU1ENC_VAL:  "ESO INS FOCU1 ENC"
TEMP82_VAL:  "ESO INS TEMP82 VAL"
TEMP2_VAL:  "ESO INS TEMP2 VAL"
TEMP5_VAL:  "ESO INS TEMP5 VAL"
DPR_TECH: "ESO DPR TECH" 
DPR_TYPE: "ESO DPR TYPE" 
DPR_CATG: "ESO DPR CATG" 
OUT_NX:  "ESO DET OUT1 NX"
OUT_NY:  "ESO DET OUT1 NY"
CHIP_NX:  "ESO DET CHIP NX"
CHIP_NY:  "ESO DET CHIP NY"
WIN_NX:  "ESO DET WIN NX"
WIN_NY:  "ESO DET WIN NY"
WIN_BINX: "ESO DET WIN1 BINX"
WIN_BINY: "ESO DET WIN1 BINY"
OVSCX:  "ESO DET OUT1 OVSCX"
OVSCY: "ESO DET OUT1 OVSCY"
PRSCX: "ESO DET OUT1 PRSCX"
PRSCY: "ESO DET OUT1 PRSCY"
DET_READ_SPEED: "ESO DET READ SPEED"
RON:  "ESO DET OUT1 RON"
CHIP_RON:  "ESO DET CHIP RON" # ADDED BY DRY February 27, 2020
CONAD: "ESO DET OUT1 CONAD"
DET_PXSPACE: "ESO DET CHIP PXSPACE"
DET_GAIN: "ESO DET OUT1 GAIN"
DET_CHIP_GAIN: "ESO DET CHIP GAIN" # ADDED BY DRY February 27, 2020
DET_WIN1_DIT1: "ESO DET WIN1 DIT1"
DET_DIT: "ESO DET DIT"
DET_NDIT: "ESO DET NDIT"
DET_NDITSKIP: "ESO DET NDITSKIP"
PSZX: "ESO DET CHIP1 PSZX"
PSZY: "ESO DET CHIP1 PSZY"
SEQ_ARM: "ESO SEQ ARM"
LAMP_ON_OFF: "ESO INS1 LAMP5 ST" 
# for SINFONI, XSH 'INS LAMP5 ST'
BIAS_LEFT_MEDIAN: "ESO PRO BIAS LEFT MEDIAN"
BIAS_RIGHT_MEDIAN: "ESO PRO BIAS RIGHT MEDIAN"
BIAS_UP_MEDIAN: "ESO PRO BIAS UP MEDIAN"
BIAS_DOWN_MEDIAN: "ESO PRO BIAS DOWN MEDIAN"
BIAS_LEFT_STDEV: "ESO PRO BIAS LEFT STDEV"
BIAS_RIGHT_STDEV: "ESO PRO BIAS RIGHT STDEV"
BIAS_UP_STDEV: "ESO PRO BIAS UP STDEV"
BIAS_DOWN_STDEV: "ESO PRO BIAS DOWN STDEV"
WAVESOL_LAMBDA_MIN: "ESO PRO WAVESOL LAMBDA MIN"
WAVESOL_LAMBDA_MAX: "ESO PRO WAVESOL LAMBDA MAX"
WAVESOL_ORDER_MIN: "ESO PRO WAVESOL ORDER MIN"
WAVESOL_ORDER_MAX: "ESO PRO WAVESOL ORDER MAX"
WAVESOL_SLIT_MIN: "ESO PRO WAVESOL SLIT MIN"
WAVESOL_SLIT_MAX: "ESO PRO WAVESOL SLIT MAX"
WAVESOL_X_MIN: "ESO PRO WAVESOL X MIN"
WAVESOL_X_MAX: "ESO PRO WAVESOL X MAX"
WAVESOL_Y_MIN: "ESO PRO WAVESOL Y MIN"
WAVESOL_Y_MAX: "ESO PRO WAVESOL Y MAX"
EXTRACT_SLIT_MIN: "ESO PRO EXTRACT SLIT MIN"
EXTRACT_SLIT_MAX: "ESO PRO EXTRACT SLIT MAX"
RECTIFY_BIN_LAMBDA: "ESO PRO RECT BIN LAMBDA"
RECTIFY_BIN_SPACE:  "ESO PRO RECT BIN SPACE"
RECTIFY_LAMBDA_MIN: "ESO PRO RECT LAMBDA MIN"
RECTIFY_LAMBDA_MAX: "ESO PRO RECT LAMBDA MAX"
RECTIFY_SPACE_MIN:  "ESO PRO RECT SPACE MIN"
RECTIFY_SPACE_MAX:  "ESO PRO RECT SPACE MAX"
DATANCOM: "ESO PRO DATANCOM"
SPECTRALFORMAT_DIST_ORDER: "ESO PRO DIST ORDER"
WAVESOLTYPE: "ESO PRO WAVESOL TYPE"
WAVESOLTYPE_POLYNOMIAL: "POLYNOMIAL"
WAVESOLTYPE_MODEL: "PHYSMOD"
MODEL_CFG_START: "ESO MOD CFG START"
DPR_TECH_SINGLE_PINHOLE: "ECHELLE,PINHOLE"
DPR_TECH_MULTI_PINHOLE: "ECHELLE,MULTI-PINHOLE" 
NOD_CUMULATIVE_OFFSET_DEC: "ESO SEQ CUMOFF DEC"
NOD_CUMULATIVE_OFFSET_RA: "ESO SEQ CUMOFF RA"
NOD_CUMULATIVE_OFFSETX: "ESO SEQ CUMOFF X"
NOD_CUMULATIVE_OFFSETY: "ESO SEQ CUMOFF Y"
NOD_THROW: "ESO SEQ NOD THROW"
NOD_JITTER_BOX: "ESO SEQ JITTER WIDTH"
NOD_RELATIVE_OFFSET_DEC: "ESO SEQ RELOFF DEC"
NOD_RELATIVE_OFFSET_RA: "ESO SEQ RELOFF RA"
POSANG: "ESO ADA POSANG"
NOD_RELATIVE_B_OFFSET_RA: "ESO PRO B RELOFF RA"
NOD_RELATIVE_B_OFFSET_DEC: "ESO PRO B RELOFF DEC"
NOD_CUMULATIVE_B_OFFSET_RA: "ESO PRO B CUMOFF RA"
NOD_CUMULATIVE_B_OFFSET_DEC: "ESO PRO B CUMOFF DEC"
QC_NPIXSAT: "ESO QC NPIXSAT"
QC_NPIXSAT_C: "Number of saturated pixels"
QC_FPIXSAT: "ESO QC FPIXSAT"
QC_FPIXSAT_C: "Fraction of saturated pixels"
QC_NPIXSAT_TOT: "ESO QC NPIXSAT TOT"
QC_NPIXSAT_TOT_C: "Total number of saturated pixels"
QC_FPIXSAT_TOT: "ESO QC FPIXSAT TOT"
QC_FPIXSAT_TOT_C: "Fraction of saturated pixels"
QC_NPIXRANGE: "ESO QC NPIXRANG"
QC_NPIXRANGE_C: "Number of pixels in range 4800-5200 ADU"
QC_FPIXRANGE: "ESO QC FPIXRANG"
QC_FPIXRANGE_C: "Frac of pix in range 4800-5200 ADU"
SLITMAP_ORDER_EDGUP: "ESO PRO ORD%d EDGUP SLIT"
SLITMAP_ORDER_EDGLO: "ESO PRO ORD%d EDGLO SLIT"
SLITMAP_ORDER_CEN: "ESO PRO ORD%d CEN SLIT"
SLITMAP_ORDER_SLICUP: "ESO PRO ORD%d SLICUP SLIT"
SLITMAP_ORDER_SLICLO: "ESO PRO ORD%d SLICLO SLIT"
SLITMAP_MEDIAN_EDGUP: "ESO PRO MEDIAN EDGUP SLIT"
SLITMAP_MEDIAN_EDGLO: "ESO PRO MEDIAN EDGLO SLIT"
SLITMAP_MEDIAN_CEN: "ESO PRO MEDIAN CEN SLIT"
SLITMAP_MEDIAN_SLICUP: "ESO PRO MEDIAN SLICUP SLIT"
SLITMAP_MEDIAN_SLICLO: "ESO PRO MEDIAN SLICLO SLIT"
WAVEMAP_ORDER_LAMBDA_MIN: "ESO PRO ORD%d LAMBDA MIN"
WAVEMAP_ORDER_LAMBDA_MAX: "ESO PRO ORD%d LAMBDA MAX"
SHIFTIFU_WAVEREF: "ESO PRO LAMBDA REF"
SHIFTIFU_SLITREF: "ESO PRO SLIT REF"
SHIFTIFU_SLITDOWNREF: "ESO PRO SLIT DOWN REF"
SHIFTIFU_SLITCENREF: "ESO PRO SLIT CEN REF"
SHIFTIFU_SLITUPREF: "ESO PRO SLIT UP REF"
INSTRUME_VALUE:                  "XSHOOTER"

# KEYWORDS RELATED TO THE SCIENCE DATA PRODUCT FORMAT.
PROCSOFT:            "PROCSOFT"
PRODLVL:             "PRODLVL"
PRODLVL_VALUE:       2
OBJECT:              "OBJECT"
PRODCATG:            "PRODCATG"
ORIGIN:              "ORIGIN"
ORIGIN_VALUE:        "ESO"
DISPELEM:            "DISPELEM"
SPECSYS:             "SPECSYS"
SPECSYS_VALUE:       "TOPOCENT"
VOCLASS:             "VOCLASS"
VOCLASS_VALUE:       "SPECTRUM V2.0"
VOPUB:               "VOPUB"
VOPUB_VALUE:         "ESO/SAF"
TITLE:               "TITLE"
APERTURE:            "APERTURE"
TELAPSE:             "TELAPSE"
TMID:                "TMID"
TUTYP:               "TUTYP"
TUCD:                "TUCD"
TDMIN:               "TDMIN"
TDMAX:               "TDMAX"
NELEM:               "NELEM"
EXTNAME:             "EXTNAME"
EXTNAME_VALUE:       "SPECTRUM"
INHERIT:             "INHERIT"
INHERIT_VALUE:       CPL_TRUE
SPEC_VAL:            "SPEC_VAL"
SPEC_BW:             "SPEC_BW"
PROG_ID:             "PROG_ID"
OBID1:               "OBID1"
M_EPOCH:             "M_EPOCH"
OBSTECH:             "OBSTECH"
FLUXCAL:             "FLUXCAL"
CONTNORM:            "CONTNORM"
WAVELMIN:            "WAVELMIN"
WAVELMAX:            "WAVELMAX"
SPEC_BIN:            "SPEC_BIN"
TOT_FLUX:            "TOT_FLUX"
FLUXERR:             "FLUXERR"
FLUXERR_VALUE:       -2
REFERENC:            "REFERENC"
REFERENC_VALUE:      " "
SPEC_RES:            "SPEC_RES"
SPEC_ERR:            "SPEC_ERR"
SPEC_SYE:            "SPEC_SYE"
LAMNLIN:             "LAMNLIN"
LAMRMS:              "LAMRMS"
GAIN:                "GAIN"
DETRON:              "DETRON"
EFFRON:              "EFFRON"
PROV:                "PROV"
NCOMBINE:            "NCOMBINE"
SDP_ADU_UNIT:                    "adu"
SDP_FLUX_UNIT:                   "erg cm**(-2) s**(-1) angstrom**(-1)"
SDP_COLUMN_WAVE:                 "WAVE"
SDP_COLUMN_WAVE_UNIT:            "nm"
SDP_COLUMN_WAVE_FORMAT:          "1E"
SDP_COLUMN_WAVE_TYPE:            "spec:Data.SpectralAxis.Value"
SDP_COLUMN_WAVE_UCD:             "em.wl;obs.atmos"
SDP_COLUMN_FLUX:                 "FLUX"
SDP_COLUMN_FLUX_UNIT:            XSH_SDP_ADU_UNIT
SDP_COLUMN_FLUX_UNIT_CALIB:      XSH_SDP_FLUX_UNIT
SDP_COLUMN_FLUX_FORMAT:          "1E"
SDP_COLUMN_FLUX_TYPE:            "spec:Data.FluxAxis.Value"
SDP_COLUMN_FLUX_UCD:             "phot.flux.density;em.wl;src.net;meta.main"
SDP_COLUMN_ERR:                  "ERR"
SDP_COLUMN_ERR_UNIT:             XSH_SDP_ADU_UNIT
SDP_COLUMN_ERR_UNIT_CALIB:       XSH_SDP_FLUX_UNIT
SDP_COLUMN_ERR_FORMAT:           "1E"
SDP_COLUMN_ERR_TYPE:             "spec:Data.FluxAxis.Accuracy.StatError"
SDP_COLUMN_ERR_UCD:              "stat.error;phot.flux.density;meta.main"
SDP_COLUMN_QUAL:                 "QUAL"
SDP_COLUMN_QUAL_UNIT:            " "
SDP_COLUMN_QUAL_FORMAT:          "1J"
SDP_COLUMN_QUAL_TYPE:            "spec:Data.FluxAxis.Accuracy.QualityStatus"
SDP_COLUMN_QUAL_UCD:             "meta.code.qual;meta.main"
SDP_COLUMN_SNR:                  "SNR"
SDP_COLUMN_SNR_UNIT:             " "
SDP_COLUMN_SNR_FORMAT:           "1E"
SDP_COLUMN_SNR_TYPE:             "eso:Data.FluxAxis.Accuracy.SNR"
SDP_COLUMN_SNR_UCD:              "stat.snr;meta.main"
SDP_COLUMN_FLUX_REDUCED:         "FLUX_REDUCED"
SDP_COLUMN_FLUX_REDUCED_FORMAT:  "1E"
SDP_COLUMN_FLUX_REDUCED_TYPE:    "eso:Data.FluxAxis.Value"
SDP_COLUMN_FLUX_REDUCED_UCD:     "phot.flux.density;em.wl;src.net;stat.uncalib"
SDP_COLUMN_ERR_REDUCED:          "ERR_REDUCED"
SDP_COLUMN_ERR_REDUCED_FORMAT:   "1E"
SDP_COLUMN_ERR_REDUCED_TYPE:     "eso:Data.FluxAxis.Accuracy.StatError"
SDP_COLUMN_ERR_REDUCED_UCD:      "stat.error;phot.flux.density;stat.uncalib"
