/* $Id: ccr.h,v 1.3 1998/04/02 16:46:28 asc Exp $ */ #include "hdfi.h" /* The values here are used to convert the S/C clock values into seconds */ /* since the S/C EPOCH which was short time after ACE launch */ /* S/C_EPOCH_TIME = SC_clock * SLOPE + OFFSET */ /* The offset between S/C_EPOCH and ACE_EPOCH is 52069705 seconds */ /* ACE_EPOCH is seconds since Jan 1, 1996 */ struct ccr_entry { uint32 start; /* Start of range in S/C clock ticks */ uint32 end; /* End of range in S/C clock ticks */ float64 slope; /* slope for linear fit */ float64 offset; /* offset for linear fit */ uint8 cdh; /* =1: C&DH A, =2: C&DH B, error otherwise */ uint16 year; /* 4 digit year for product */ uint16 doy; /* Day of Year for product */ };