;+
;
; NAME: 
;       FDR_SDAC_STR
;
; PURPOSE:
;
;
; CATEGORY:
;       BATSE
;
; CALLING SEQUENCE:
;
;
; CALLS:
;	none
;
; INPUTS:
;       none explicit, only through commons;
;
; OPTIONAL INPUTS:
;	none
;
; OUTPUTS:
;       none explicit, only through commons;
;
; OPTIONAL OUTPUTS:
;	none
;
; KEYWORDS:
;	none
; COMMON BLOCKS:
;	none
;
; SIDE EFFECTS:
;	none
;
; RESTRICTIONS:
;	none
;
; PROCEDURE:
;	none
;
; MODIFICATION HISTORY:
;
;-
; Structure for File Definition Record of BATSE files written at the SDAC.
; FDR's in the original data files written at MSFC are 70 bytes and are
; described in FDR_MSFC_STR.PRO.  In BDB files, the first 70 bytes of the 
; FDR are a copy of the FDR from the original DISCLA file, and the remaining
; items (starting with NUMREC_W) are filled in when the BDB file is created.
; In FDB, CONT, and DISCSP files, only the information starting with 
; NUMREC_W is filled in; the first 70 bytes are zero.
; The FDR for each type of file written at the SDAC is extended with spare
; bytes to make the record equal in length to the data records of that data
; type (so that direct access reads can be done).  When reading the header
; record of any type of file, regardless of record length, we can read into
; this structure.

FDR_SDAC  = {FDR_SDAC,$             ; 92 bytes
          MARS_ID:0B,$
          MARS_REC_NUM:0L,$
          FDR_1:INTARR(2),$
          SC_START_DAY:0,$          ; see FDR_MSFC_STR.PRO for explanation
          SC_START_SEC:0L,$         ; of these fields.  These fields will
          SC_STOP_DAY:0,$           ; be zero for files written at the SDAC
          SC_STOP_SEC:0L,$          ; except for BDB files.
          DATA_SUB_TYPE:0B,$
          FDR_2:INTARR(24),$
          NUMREC_W:0L,$
          ST_TIME:0.D0,$            ;Start time of file in seconds since ED.
          EN_TIME:0.D0,$            ;End time of file in seconds since ED.
                                    ;(start time of last record written.)
          FILE_TYPE:0}             ;File type (0/1 = BDB/FDB).
