NAME: rdoccpht PURPOSE: Read a Occultation Photometer data file. DESCRIPTION: CATEGORY: File I/O CALLING SEQUENCE: rdoccpht,file,time,counts,dt,comment INPUTS: file - String containing filename to read. OPTIONAL INPUT PARAMETERS: KEYWORD INPUT PARAMETERS: OUTPUTS: time - vector of UT time (decimal hours) counts - vector of counts for each time dt - Time spacing between points (seconds) comment - string that identifies data (read from header) KEYWORD OUTPUT PARAMETERS: COMMON BLOCKS: SIDE EFFECTS: RESTRICTIONS: PROCEDURE: Data is stored in 512 byte block "records". The first record is a header and contains the following: 0 - 79 Comment (ASCII string) 80 - 81 clock ticks/second (integer) 82 - 83 clock ticks/integration (integer) 84 - 87 tick # of first point (long) 88 - 91 tick # of last point (long) 92 - 95 total # of clock ticks (long) 96 - 99 total # of data points (long) 100 - 101 UT Hours of first tick (integer) 102 - 103 UT minutes (integer) 104 - 107 UT seconds (real) 108 - 511 Null padding MODIFICATION HISTORY: 95/1/25 - Written by Marc W. Buie, Lowell Observatory