SWDatabase
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros Pages
Macros | Functions | Variables
ancil_subs.c File Reference
#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"
Include dependency graph for ancil_subs.c:

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_entryao
 
static struct ccr_entrycc
 
static int32 num_rec_aosr
 
static int32 num_rec_ccr
 

Macro Definition Documentation

#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

Function Documentation

int32 ACE_aosr ( float64  scclock,
struct attorb_entry aosr_struct 
)

Here is the call graph for this function:

int32 ACE_attitude_RTN ( float64  scclock,
float64 *  att_rtn 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int32 ACE_position_GSE ( float64  scclock,
float64 *  pos_gse 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int32 ACE_position_GSM ( float64  scclock,
float64 *  pos_gsm 
)

Here is the call graph for this function:

int32 ACE_position_J2GCI ( float64  scclock,
float64 *  posgci 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int32 ACE_velocity_GSE ( float64  scclock,
float64 *  vel_gse 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int32 ACE_velocity_GSM ( float64  scclock,
float64 *  vel_gsm 
)

Here is the call graph for this function:

float64 ACEepoch_to_SCclock ( float64  ACEepoch)

Here is the call graph for this function:

Here is the caller graph for this function:

void close_rd_aosr ( )

Here is the caller graph for this function:

void close_rd_ccr ( )

Here is the caller graph for this function:

void dump_ascii_aosr ( )

Here is the caller graph for this function:

void dump_ascii_ccr ( )

Here is the caller graph for this function:

void dump_GSE_aosr ( )

Here is the call graph for this function:

void dump_SCClock ( )

Here is the call graph for this function:

void dump_timing_ccr ( )

Here is the call graph for this function:

int32 init_acc_aosr ( int32  hdf_fp,
int32  sd_id,
char *  access_mode 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int32 init_acc_ccr ( int32  hdf_fp,
int32  sd_id,
char *  access_mode 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int32 init_ACEancillary ( char *  filenm)

Here is the call graph for this function:

Here is the caller graph for this function:

int32 read_aosr ( struct attorb_entry attorb_entry_struc,
int32  recnum_rd 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int32 read_ccr ( struct ccr_entry ccr_entry_struc,
int32  recnum_rd 
)

Here is the call graph for this function:

Here is the caller graph for this function:

float64 SCclock_to_ACEepoch ( float64  scclock)

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

struct attorb_entry* ao
static
struct ccr_entry* cc
static
int32 num_rec_aosr
static
int32 num_rec_ccr
static