OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
scene_meta.h
Go to the documentation of this file.
1 #ifndef _SCENE_META_H
2 #define _SCENE_META_H
3 
4 #include "l1.h"
5 #include <dfutils.h>
6 
7 #define DAYSCENE 0
8 #define NIGHTSCENE 1
9 #define DAYANDNIGHT 2
10 #define UNKNOWNSCENE 3
11 
12 #define ASCENDING 0
13 #define DSCENDING 1
14 #define UNKNOWNNODE 2
15 
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19 
20 typedef struct scene_meta_str {
21  char start_node[32];
22  char end_node[32];
23  char daynight[32];
24  double start_time;
25  double center_time;
26  double end_time;
28  int start_day;
30  int end_year;
31  int end_day;
32  int end_msec;
41  float northern_lat;
42  float southern_lat;
43  float eastern_lon;
44  float western_lon;
53 
54 } scnstr;
55 
56 void scene_meta_put(l1str *l1rec);
57 scnstr *scene_meta_get(void);
58 void scene_meta_write(idDS ds_id);
59 
60 #ifdef __cplusplus
61 }
62 #endif
63 
64 #endif
float lowerleft_lat
Definition: scene_meta.h:51
float earth_sun_dist_corr
Definition: scene_meta.h:33
char end_node[32]
Definition: scene_meta.h:22
read l1rec
double start_time
Definition: scene_meta.h:24
float scene_center_lon
Definition: scene_meta.h:36
void scene_meta_write(idDS ds_id)
Definition: scene_meta.c:241
float start_center_lon
Definition: scene_meta.h:34
float lowerleft_lon
Definition: scene_meta.h:49
char daynight[32]
Definition: scene_meta.h:23
float southern_lat
Definition: scene_meta.h:42
float upperright_lon
Definition: scene_meta.h:46
float start_center_lat
Definition: scene_meta.h:35
float western_lon
Definition: scene_meta.h:44
float lowerright_lon
Definition: scene_meta.h:50
char start_node[32]
Definition: scene_meta.h:21
float end_center_lon
Definition: scene_meta.h:39
float scene_center_lat
Definition: scene_meta.h:37
float end_center_lat
Definition: scene_meta.h:40
float upperright_lat
Definition: scene_meta.h:48
Definition: dfutils.h:28
float lowerright_lat
Definition: scene_meta.h:52
float upperleft_lon
Definition: scene_meta.h:45
float eastern_lon
Definition: scene_meta.h:43
double center_time
Definition: scene_meta.h:25
float northern_lat
Definition: scene_meta.h:41
float scene_center_solz
Definition: scene_meta.h:38
scnstr * scene_meta_get(void)
Definition: scene_meta.c:237
float upperleft_lat
Definition: scene_meta.h:47
void scene_meta_put(l1str *l1rec)
Definition: scene_meta.c:72
double end_time
Definition: scene_meta.h:26