;-------------------------------------------------
;
; EIS EXPERIMENT As-Run Catalog Database
; ++++++++++++++++++++++++++++++++
;
; Production Version
; September 30, 2008
; Ronald E. Yurow (ADNET)
;
;-------------------------------------------------


#title
EIS EXPERIMENT as-run database (raster level) - Version 2

#maxentries
1000000

#items
MAIN_PTR    I*4     Pointer to MAIN database
DATE        C*80    Date the FITS file was written
ORIGIN      C*80    Institution where file was written
DATA_LEV    I*2     Level 0 data or Level 1 data
DATE_RF0    C*80    Date of level 0 reformat.
ORIG_RF0    C*80    Institution where level 0 FITS file was generated.
VER_RF0     C*80    Version of level 0 reformatter software
RAST_ACR    C*80    Raster Acronym
LL_ACR      C*80    Line List Acronym
LL_ID       I*2     Line list ID
DATE_OBS    R*8     Date/time of beginning of observation
DATE_END    R*8     Date/time of end of observation
OBT_TIME    R*8     Onboard date/time of beginning of observation
OBT_END     R*8     Onboard date/time of end of observation
MAIN_ID     I*4     Raster counter
SEQ_NR      I*2     Sequence table nr
SLIT_NR     I*4     Slit nr
SLIT_ID     C*40    Slit name
SLIT_IND    I*2     Slit number
LL_NR       I*2     Line list nr
TL_ID       I*4     Time Line ID
RAST_ID     I*2     Raster ID (unique)
TR_MODE     I*4     Tracking mode of SC/Instrument
FMIR_SS     I*2     Fine mirror step size.
NRASTER     I*4     Number of unique raster positions.
CMIRR       I*2     Course mirror position
XCEN        R*4     Actual pointing of center of image in solar X
YCEN        R*4     Actual pointing of center of image in solar Y
FOVX        R*4     Width of field of view in solar X
FOVY        R*4     Width of field of view in solar Y
NWIN        I*2     Number of line windows
CCDXL       I*2     Max CCD length including scan pixels.
XWS         I*2     HW (Cam) x window start
XW          I*2     HW (Cam) x window width
YWS         I*2     HW (Cam) y window start
YW          I*2     HW (Cam) y window width
BITCOMP     I*2     Bit Compression mode
IMGCOMP     I*2     Image compression mode
INST_ROT    R*4     Instrument rotation angle
SAT_ROT     R*4     Spacecraft rotation angle
CROTA       R*4     INST_ROT + SAT_ROT
CAL_DC      I*2     Calibration status, dark current
CAL_FF      I*2     Calibration status, flat field
CAL_CR      I*2     Calibration status, cosmic rays
CAL_WVL     I*2     Calibration status, wavelength
CAL_ABS     I*2     Calibration status, photometric
SAA         C*10    Satellite in SSA or not.
HLZ         C*10    Satellite in HLZ or not.
FLFLG       C*10    XRT flare trigger status
EISAEC      C*10    EIS AEC status
EISEVTR     C*10    EIS event trigger status
EISLTR      C*10    EIS flare trigger status
XOCB        I*4     X on chip binning
YOCB        I*4     Y on chip binning
FILENAME    C*80    Name of FITS file containing raster data.
CMNT_ENTRY  C*1     Either Y or N
DATE_MOD    R*8     Date and time when catalog record was last modified.

#index
MAIN_PTR    sort/index
TL_ID       sort/index
DATE_OBS    sort/index
DATE_END    sort/index
LL_ID       sort/index
XCEN        sort/index
YCEN        sort/index

#pointers
MAIN_PTR    eis_main
