Next: PR_TIM2WEEK Up: Time Routines and Previous: TIM2ORBIT

SEL_TIMRANGE

Given an array of times, SEL_TIMRANGEwill return the subscripts of the elements which fall between a set of input times. The /between option should be used when you want all datasets between the start and stop times, since the default is to return the first entry BEFORE the start time (this was for historical reasons when accessing the FEM structures). It is possible to have a boolean array returned which is the same length as the input. The array will have a 1 if the input time is in the time range specified, and a 0 otherwise. This is useful for using with WHERE commands.
IDL> ss = sel_timrange(roadmap, st_tim, en_tim)

IDL> ss = sel_timrange(orbit_arr, '1-jul-92', '22-jul-92', /between)

IDL> ok = sel_timrange(index, '23-jun-93', '24-jun-93', /boolean)


ydac@mssly1.mssl.ucl.ac.uk