;+
; Project
;           SolarB EIS
;
; Name
;           EIS_DR_PROCESS_ENG_STUDY
;
; Purpose
;           Function
;
; Category
;           Timeline planning (timeline)
;
; Author
;           John Rainnie (JAR) 23-May-2008
;
; Version
;           V0.1
;
;-
;______________________________________________________________________________
FUNCTION eis_dr_process_eng_study , tl

format    = '(A-3,A-20,A-20,F-7.4,A-1)'

; Get study start_time -> st_st
st_st    = tl.time_component.start_time
st_stop  = tl.time_component.end_time
; Get data rate
ra_dur   = tl.science_component.duration
ra_vol   = tl.science_component.volume
ra_dr    = (ra_vol/1024./1024.) / (ra_dur/1000.)

; Make string
line_out = STRING(format=format                                      ,     $
                 ''                                                  ,     $
                 eis_tai2op(st_st)                                   ,     $
                 eis_tai2op(st_stop)                                 ,     $
                 ra_dr + (0.05 * ra_dr)                              ,     $
                 'E')

IF (tl.time_component.time_tagged EQ 1) THEN line_out = line_out + '*'

RETURN , line_out

END