TIME_INDEX(1)


     {hour=}
     {six=}
     {day=}
     {thirty=}
     {t_ref=}

DESCRIP-


TION


Time_index


con-


verts


SOI


stan-


dard


time


index


values


from


one


for-


mat


to


another.


The


types


recog-


nized


are:

     time    An ascii time/date string
     t_ref   an on-board time in TAI seconds in the SOHO epoch
     hour    an integer hour of mission, SOI epoch 1993.01.01
     six     an integer 6-hour interval of mission, SOI epoch 1993.01.01
     day     an integer day of mission, SOI epoch 1993.01.01
     thirty  an integer 30-day interval of mission, SOI epoch 1993.01.01


Only


one


time


conver-


sion


is


done


for


each


call


of


time_index.


The


time


input


is


either


deduced


of


the


strings:


time,


t_ref,


hour,


six,


day


or


thirty.



The


input


time


is


con-


verted


to


the


desired


out-


put


as


given


by


the


flags


-t


-r


-d


-h


-a


-k


-6


-3.



-k Print the kind as "time" "t_ref" "day" or "hour"


-t Print the time as a string date.


-h Print the time as hour of mission, SOI epoch


-6 Print the time as six_hour interval.


-d Print the time as day of mission, SOI epoch


-3 Print the time as 30-day interval.


-r Print the time as a t_ref in seconds SOHO epoch


-a Print all info in the order -k -t -h -d -r -6 -3



Time_index


is


designed


to


enable


its


out-


TICS


Kind


prints


as


"unde-


fined"


if


the


input


time


is


not


recog-


nized.


The


times


are


printed


as


for


the


SOI


epoch


if


the


input


is


not


recog-


nized.


BUGS


The


method


to


resolve


"in="


values


only


pro-


duces


correct


results


dur-


ing


the


expected


flight


phase


of


the


mis-


sion.