#include <math.h>
#include <memory.h>
#include <string.h>
#include <time.h>
#include "hdfi.h"
#include "aosr.h"
#include "ccr.h"
#include "df.h"
#include "mfhdf.h"
Macros | |
#define | AA_ERR -1 /* used with bad data */ |
#define | AA_GOOD 0 /* used with normal data */ |
#define | AA_POOR 1 /* used for segments when there has been a */ |
#define | SC_ACE_epoch_offset 52069705.604 /*UTC time start of scclock from */ |
#define | TMOFFSET_70_96 820454400 |
Functions | |
int32 | init_acc_aosr (int32 hdf_fp, int32 sd_id, char *access_mode) |
int32 | init_acc_ccr (int32 hdf_fp, int32 sd_id, char *access_mode) |
int32 | read_aosr (struct attorb_entry *attorb_entry_struc, int32 recnum_rd) |
int32 | read_ccr (struct ccr_entry *ccr_entry_struc, int32 recnum_rd) |
int32 | ACE_aosr (float64 scclock, struct attorb_entry *aosr_struct) |
void | close_rd_aosr () |
void | close_rd_ccr () |
int32 | init_ACEancillary (char *filenm) |
float64 | SCclock_to_ACEepoch (float64 scclock) |
float64 | ACEepoch_to_SCclock (float64 ACEepoch) |
int32 | ACE_attitude_RTN (float64 scclock, float64 *att_rtn) |
int32 | ACE_position_J2GCI (float64 scclock, float64 *posgci) |
int32 | ACE_position_GSE (float64 scclock, float64 *pos_gse) |
int32 | ACE_velocity_GSE (float64 scclock, float64 *vel_gse) |
int32 | ACE_position_GSM (float64 scclock, float64 *pos_gsm) |
int32 | ACE_velocity_GSM (float64 scclock, float64 *vel_gsm) |
void | dump_ascii_ccr () |
void | dump_ascii_aosr () |
void | dump_GSE_aosr () |
void | dump_timing_ccr () |
void | dump_SCClock () |
Variables | |
static struct attorb_entry * | ao |
static struct ccr_entry * | cc |
static int32 | num_rec_aosr |
static int32 | num_rec_ccr |
#define AA_ERR -1 /* used with bad data */ |
#define AA_GOOD 0 /* used with normal data */ |
#define AA_POOR 1 /* used for segments when there has been a */ |
#define SC_ACE_epoch_offset 52069705.604 /*UTC time start of scclock from */ |
#define TMOFFSET_70_96 820454400 |
int32 ACE_aosr | ( | float64 | scclock, |
struct attorb_entry * | aosr_struct | ||
) |
int32 ACE_attitude_RTN | ( | float64 | scclock, |
float64 * | att_rtn | ||
) |
int32 ACE_position_GSE | ( | float64 | scclock, |
float64 * | pos_gse | ||
) |
int32 ACE_position_GSM | ( | float64 | scclock, |
float64 * | pos_gsm | ||
) |
int32 ACE_position_J2GCI | ( | float64 | scclock, |
float64 * | posgci | ||
) |
int32 ACE_velocity_GSE | ( | float64 | scclock, |
float64 * | vel_gse | ||
) |
int32 ACE_velocity_GSM | ( | float64 | scclock, |
float64 * | vel_gsm | ||
) |
float64 ACEepoch_to_SCclock | ( | float64 | ACEepoch | ) |
void close_rd_aosr | ( | ) |
void close_rd_ccr | ( | ) |
void dump_ascii_aosr | ( | ) |
void dump_ascii_ccr | ( | ) |
void dump_GSE_aosr | ( | ) |
void dump_SCClock | ( | ) |
void dump_timing_ccr | ( | ) |
int32 init_acc_aosr | ( | int32 | hdf_fp, |
int32 | sd_id, | ||
char * | access_mode | ||
) |
int32 init_acc_ccr | ( | int32 | hdf_fp, |
int32 | sd_id, | ||
char * | access_mode | ||
) |
int32 init_ACEancillary | ( | char * | filenm | ) |
int32 read_aosr | ( | struct attorb_entry * | attorb_entry_struc, |
int32 | recnum_rd | ||
) |
int32 read_ccr | ( | struct ccr_entry * | ccr_entry_struc, |
int32 | recnum_rd | ||
) |
float64 SCclock_to_ACEepoch | ( | float64 | scclock | ) |
|
static |
|
static |
|
static |
|
static |