ocssw  1.0
/disk01/web/ocssw/build/src/gpsextract_seawifs/elements.h (r8084/r2592)
Go to the documentation of this file.
00001 #ifndef _ELEMENTS_H
00002 #define _ELEMENTS_H
00003 
00004 typedef unsigned char   BYTE;
00005 typedef short int       INT16;
00006 typedef int32_t       INT32;
00007 typedef float           FLOAT32;
00008 typedef double          FLOAT64;
00009 
00010 typedef struct hdr_struct {
00011     INT32 nrecs;
00012     BYTE  fill[124];
00013 } hdrstr;
00014 
00015 typedef struct orb_struct {
00016     FLOAT64 sma;            /* Semi-Major Axis (km)           */
00017     FLOAT64 eccen;          /* Eccentricity                   */
00018     FLOAT64 incl;           /* Inclination (deg)              */
00019     FLOAT64 ra;             /* Lon. of Asc. Node (deg)        */
00020     FLOAT64 ap;             /* Arg of Periapsis (deg)         */
00021     FLOAT64 ma;             /* Mean anomaly (deg)             */
00022 } orbstr;
00023  
00024 typedef struct elements_struct {
00025     INT32 year;             /* Year (e.g. 1996)               */
00026     INT32 day;              /* Day of year                    */
00027     FLOAT64 sec;            /* Seconds of day                 */
00028     orbstr orb1;            /* Initial Orbit                  */
00029     orbstr orb2;            /* Final (fitted) Orbit           */
00030     FLOAT64 cdrg;           /* Drag Coefficient               */
00031     INT32 type;             /* 0=init, 1=final (fitted)       */
00032     INT32 fill;             /* spare                          */
00033 } elmstr;
00034 
00035 #endif