Example: I want to read in and process all the high priority rate data that occured Sept. 24, 1997 8 am to 10 pm GMT. -------------------------------------------------------------------------------- the test routine: pro test2 ; preliminary definitions for sis data common SisSymbols date = {AceTime} date.year = 1997 date.month = 9 date.day = 24 date.hour = 8 ; 8 am date.min = 0 date.sec = 0 print, 'date = ', date secondsSince1996Start = cvttosec1996(date) print, 'secondsSince1996Start = ', secondsSince1996Start date.hour = 22 ; 10 pm secondsSince1996Stop = cvttosec1996(date) print, 'secondsSince1996Stop = ', secondsSince1996Stop structs = get_group_hi_rates_s(secondsSince1996Start, secondsSince1996Stop) print, structs.Second1996 help, structs end -------------------------------------------------------------------------------- and here is the run... mussel % setenv L1_SIS_DATA_BASE_DIRECTORY /home/idunn1/rgr/prototype/data/sis_prelim mussel % idl IDL Version 5.0 (sunos sparc). Research Systems, Inc. Installation number: 2049-1. Licensed for use by: Space Radiation Lab, Caltech For basic information, enter "IDLInfo" at the IDL> prompt. IDL> sissymbols_define % Compiled module: SISSYMBOLS_DEFINE. IDL> test2 % Compiled module: TEST2. % Compiled module: ACETIME__DEFINE. date = { 1997 9 24 8 0 0} % Compiled module: CVTTOSEC1996. % Compiled module: INITTABSEC1996. secondsSince1996Start = 54633601 secondsSince1996Stop = 54684001 % Compiled module: GET_GROUP_HI_RATES_S. % Compiled module: L1SISHIGHPRIORITYRATE__DEFINE. % Compiled module: GET_STRUCTS_ACROSS_DAYS. % Compiled module: CVTFROMSEC1996. % Compiled module: GET_DAY_1996_FROM_SECONDS_SINCE_1996. % Compiled module: GENERATE_DATA_FILE_PATH. % Compiled module: STR_SEP. % Compiled module: GET_SUBSET_OF_DAYS_STRUCTS. % Compiled module: GET_FILES_STRUCT_COUNT. % Compiled module: FILE_EXISTS. 54633598 54633630 54633662 54633694 54633726 54633758 54633790 54633822 54633854 54633886 54633918 54633950 54633982 54634014 54634046 54634078 54634110 54634142 54634174 54634206 54634238 54634270 54634302 54634334 54634366 54634398 54634430 54634462 54634494 54634526 54634558 54634590 54634622 54634654 54634686 54634718 54634750 54634782 54634814 54634846 54634878 54634910 54634942 54634974 54642686 54642718 54642750 54642782 54642814 54642846 54642878 54642910 54642942 54642974 54643006 54643038 54643070 54643102 54643134 54643166 54643198 54643230 54643262 54643294 54643326 54643358 54643390 54643422 54643454 54643486 54643518 54643550 54643582 54643614 54643646 54643678 54643710 54643742 . . . 54681854 54681886 54681918 54681950 54681982 54682014 54682046 54682078 54682110 54682142 54682174 54682206 54682238 54682270 54682302 54682334 54682366 54682398 54682430 54682462 54682494 54682526 54682558 54682590 54682622 54682654 54682686 54682718 54682750 54682782 54682814 54682846 54682878 54682910 54682942 54682974 54683006 54683038 54683070 54683102 54683134 54683166 54683198 54683230 54683262 54683294 54683326 54683358 54683390 54683422 54683454 54683486 54683518 54683550 54683582 54683614 54683646 54683678 54683710 54683742 54683774 54683806 54683838 54683870 54683902 54683934 54683966 54683998 0 STRUCTS STRUCT = -> L1SISHIGHPRIORITYRATE Array[1329] IDL>