Due to the lapse in federal government funding, NASA is not updating this website. We sincerely regret this inconvenience.
NASA Logo
Ocean Color Science Software

ocssw V2022
map.h
Go to the documentation of this file.
1 #ifndef MAP_H /* avoid re-inclusion */
2 #define MAP_H
3 
4 #include <stdint.h>
5 
6 #define MAXVAL 255
7 
8 #define NOMATCH_ERR -2
9 
10 /* Time Conversion Constants */
11 #define MSECHOUR 3600000
12 #define MSECMIN 60000
13 #define MSECSEC 1000
14 
15 /* define meta_l3m structure */
16 typedef struct {
17  char *pname;
18  char *title;
19  char *dcenter;
20  char *station;
21  float station_lat;
22  float station_lon;
23  char *mission;
24  char *mission_char;
25  char *sensor;
26  char *sensor_name;
27  char *sensor_char;
28  char *prodtype;
29  char *replace;
30  char *softid;
31  char *softnm;
32  char *softver;
33  char *ptime;
34  char *infiles;
35  char *proccon;
36  char *proclog;
37  char *flag_use;
38  uint8_t eng_q_use[4];
39  int16_t bin_syear;
40  int16_t bin_sday;
41  int16_t bin_eyear;
42  int16_t bin_eday;
43  char *stime;
44  char *etime;
45  int16_t syear;
46  int16_t sday;
47  int32_t smsec;
48  int16_t eyear;
49  int16_t eday;
50  int32_t emsec;
51  int32_t orbit;
52  int32_t start_orb;
53  int32_t end_orb;
54  char *mapproj;
55  char *lat_units;
56  char *lon_units;
57  float nlat;
58  float slat;
59  float elon;
60  float wlon;
61  float lat_step;
62  float lon_step;
63  int32_t nbins;
64  int32_t nrows;
65  int32_t ncols;
66  char *parameter;
67  char *measure;
68  char *units;
69  char *scaling_type;
70  char *scaling_eqn;
71  char *base;
72  float slope;
73  float intercept;
77  float data_min;
78  float data_max;
79  int32_t bintype;
80 } meta_struct;
81 
82 #endif /* MAP_H */
83 
int16_t bin_eday
Definition: map.h:42
int32_t bintype
Definition: map.h:79
int32_t end_orb
Definition: map.h:53
char * proccon
Definition: map.h:35
float station_lat
Definition: map.h:21
float slat
Definition: map.h:58
char * softid
Definition: map.h:30
float station_lon
Definition: map.h:22
char * scaling_eqn
Definition: map.h:70
char * scaled_data_type
Definition: map.h:76
float intercept
Definition: map.h:73
float wlon
Definition: map.h:60
float lon_step
Definition: map.h:62
char * softnm
Definition: map.h:31
char * base
Definition: map.h:71
char * replace
Definition: map.h:29
int16_t syear
Definition: map.h:45
char * units
Definition: map.h:68
char * etime
Definition: map.h:44
int32_t nrows
Definition: map.h:64
char * pname
Definition: map.h:17
char * lat_units
Definition: map.h:55
int32_t smsec
Definition: map.h:47
char * prodtype
Definition: map.h:28
int16_t bin_sday
Definition: map.h:40
char * dcenter
Definition: map.h:19
char * mapproj
Definition: map.h:54
int16_t bin_syear
Definition: map.h:39
int32_t emsec
Definition: map.h:50
char * parameter
Definition: map.h:66
float scaled_data_max
Definition: map.h:75
int32_t ncols
Definition: map.h:65
char * measure
Definition: map.h:67
int16_t eyear
Definition: map.h:48
char * mission_char
Definition: map.h:24
float lat_step
Definition: map.h:61
char * station
Definition: map.h:20
int32_t orbit
Definition: map.h:51
float elon
Definition: map.h:59
char * softver
Definition: map.h:32
char * title
Definition: map.h:18
char * sensor_char
Definition: map.h:27
int16_t bin_eyear
Definition: map.h:41
float slope
Definition: map.h:72
char * ptime
Definition: map.h:33
char * flag_use
Definition: map.h:37
int16_t eday
Definition: map.h:49
float data_max
Definition: map.h:78
int32_t nbins
Definition: map.h:63
float data_min
Definition: map.h:77
char * sensor_name
Definition: map.h:26
char * mission
Definition: map.h:23
char * infiles
Definition: map.h:34
char * scaling_type
Definition: map.h:69
char * sensor
Definition: map.h:25
float scaled_data_min
Definition: map.h:74
char * proclog
Definition: map.h:36
int16_t sday
Definition: map.h:46
float nlat
Definition: map.h:57
char * lon_units
Definition: map.h:56
char * stime
Definition: map.h:43
int32_t start_orb
Definition: map.h:52