Toggle navigation
Ocean Color Science Software
Jump to content
ocssw
V2022
web
ocssw
ocssw_src
src
gpsextract_seawifs
elements.h
Go to the documentation of this file.
1
#ifndef _ELEMENTS_H
2
#define _ELEMENTS_H
3
4
typedef
unsigned
char
BYTE
;
5
typedef
short
int
INT16
;
6
typedef
int32_t
INT32
;
7
typedef
float
FLOAT32
;
8
typedef
double
FLOAT64
;
9
10
typedef
struct
hdr_struct
{
11
INT32
nrecs
;
12
BYTE
fill
[124];
13
} hdrstr;
14
15
typedef
struct
orb_struct
{
16
FLOAT64
sma
;
/* Semi-Major Axis (km) */
17
FLOAT64
eccen
;
/* Eccentricity */
18
FLOAT64
incl
;
/* Inclination (deg) */
19
FLOAT64
ra
;
/* Lon. of Asc. Node (deg) */
20
FLOAT64
ap
;
/* Arg of Periapsis (deg) */
21
FLOAT64
ma
;
/* Mean anomaly (deg) */
22
} orbstr;
23
24
typedef
struct
elements_struct
{
25
INT32
year
;
/* Year (e.g. 1996) */
26
INT32
day
;
/* Day of year */
27
FLOAT64
sec
;
/* Seconds of day */
28
orbstr
orb1
;
/* Initial Orbit */
29
orbstr
orb2
;
/* Final (fitted) Orbit */
30
FLOAT64
cdrg
;
/* Drag Coefficient */
31
INT32
type
;
/* 0=init, 1=final (fitted) */
32
INT32
fill
;
/* spare */
33
} elmstr;
34
35
#endif
FLOAT64
double FLOAT64
Definition:
elements.h:8
orb_struct::incl
FLOAT64 incl
Definition:
elements.h:18
elements_struct::orb1
orbstr orb1
Definition:
elements.h:28
INT32
int32_t INT32
Definition:
elements.h:6
elements_struct::orb2
orbstr orb2
Definition:
elements.h:29
elements_struct::sec
FLOAT64 sec
Definition:
elements.h:27
elements_struct::day
INT32 day
Definition:
elements.h:26
orb_struct::ap
FLOAT64 ap
Definition:
elements.h:20
orb_struct::eccen
FLOAT64 eccen
Definition:
elements.h:17
BYTE
unsigned char BYTE
Definition:
elements.h:4
INT16
short int INT16
Definition:
elements.h:5
hdr_struct::nrecs
INT32 nrecs
Definition:
elements.h:11
orb_struct::ma
FLOAT64 ma
Definition:
elements.h:21
elements_struct::year
INT32 year
Definition:
elements.h:25
FLOAT32
float FLOAT32
Definition:
elements.h:7
elements_struct::fill
INT32 fill
Definition:
elements.h:32
orb_struct
Definition:
elements.h:15
hdr_struct::fill
BYTE fill[124]
Definition:
elements.h:12
elements_struct
Definition:
elements.h:24
elements_struct::cdrg
FLOAT64 cdrg
Definition:
elements.h:30
orb_struct::sma
FLOAT64 sma
Definition:
elements.h:16
hdr_struct
Definition:
elements.h:10
elements_struct::type
INT32 type
Definition:
elements.h:31
orb_struct::ra
FLOAT64 ra
Definition:
elements.h:19