forked from jimsrc/pyhdf_ace
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstructure.h
46 lines (38 loc) · 1.37 KB
/
structure.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/* $Id: structure.h,v 1.4 1997/04/25 17:58:31 steves Exp steves $ */
/* The line above is a revision control system (rcs) header and is needed so */
/* the perl program (hdfgen.pl) will not complain that this include file */
/* doesn't have an rcs header. */
#ifndef STRUCT_ACE_DATA_H
#define STRUCT_ACE_DATA_H
#include "hdfi.h"
struct MAG_data_1sec {
/* UT time at the start of the periods */
int32 year; /* integer year */
int32 day; /* integer day of year */
int32 hr; /* hour of day */
int32 min; /* min of hour */
float32 sec; /* seconds */
float64 fp_year; /* floating point year */
float64 fp_doy; /* floating point Day of YearDOY */
float64 ACEepoch; /* UT time in sec since 1/1/96 */
/* ACE frame count */
uint32 SCclock;
/* mag average data */
float32 Br;
float32 Bt;
float32 Bn;
float32 Bmag;
float32 Delta;
float32 Lambda;
float32 Bgse_x;
float32 Bgse_y;
float32 Bgse_z;
float32 Bgsm_x;
float32 Bgsm_y;
float32 Bgsm_z;
/* data quality for period */
int32 Quality; /* =0 Normal; */
/* =1 Maneuver & Relaxation*/
/* =2 Bad data */
};
#endif //STRUCT_ACE_DATA_H