SWDatabase
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros Pages
ccr.h
Go to the documentation of this file.
1 /* $Id: ccr.h,v 1.4 1998/10/20 22:30:09 asc Exp $ */
2 #include "hdfi.h"
3 
4 /* The values here are used to convert the S/C clock values into seconds */
5 /* since the S/C EPOCH, which was a short time after ACE launch */
6 /* S/C_EPOCH_TIME = SC_clock * SLOPE + OFFSET */
7 
8 /* The offset between S/C_EPOCH and ACE_EPOCH is 52069704.604 seconds */
9 /* ACE_EPOCH is seconds since Jan 1, 1996 */
10 
11 /* the start and end variables indicate the range of validity of the */
12 /* slope and offset data. Generally, the ACE Flight Dynamics team will */
13 /* generate a new set of parameters for each 24-hour period */
14 
15 struct ccr_entry {
16  uint32 start; /* Start of range in S/C clock ticks */
17  uint32 end; /* End of range in S/C clock ticks */
18  float64 slope; /* slope for linear fit */
19  float64 offset; /* offset for linear fit */
20  uint8 cdh; /* =1: C&DH A, =2: C&DH B, error otherwise */
21  uint16 year; /* 4 digit year for product */
22  uint16 doy; /* Day of Year for product */
23 };
float64 offset
Definition: ccr.h:19
uint32 end
Definition: ccr.h:17
uint8 cdh
Definition: ccr.h:20
uint32 start
Definition: ccr.h:16
float64 slope
Definition: ccr.h:18
Definition: ccr.h:15
uint16 doy
Definition: ccr.h:22
uint16 year
Definition: ccr.h:21