Toggle navigation
Ocean Color Science Software
Jump to content
ocssw
V2022
web
ocssw
ocssw_src
oel_hdf4
libl1
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
;
27
int
start_year
;
28
int
start_day
;
29
int
start_msec
;
30
int
end_year
;
31
int
end_day
;
32
int
end_msec
;
33
float
earth_sun_dist_corr
;
34
float
start_center_lon
;
35
float
start_center_lat
;
36
float
scene_center_lon
;
37
float
scene_center_lat
;
38
float
scene_center_solz
;
39
float
end_center_lon
;
40
float
end_center_lat
;
41
float
northern_lat
;
42
float
southern_lat
;
43
float
eastern_lon
;
44
float
western_lon
;
45
float
upperleft_lon
;
46
float
upperright_lon
;
47
float
upperleft_lat
;
48
float
upperright_lat
;
49
float
lowerleft_lon
;
50
float
lowerright_lon
;
51
float
lowerleft_lat
;
52
float
lowerright_lat
;
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
scene_meta_str::lowerleft_lat
float lowerleft_lat
Definition:
scene_meta.h:51
scene_meta_str::earth_sun_dist_corr
float earth_sun_dist_corr
Definition:
scene_meta.h:33
scene_meta_str::end_node
char end_node[32]
Definition:
scene_meta.h:22
l1rec
read l1rec
Definition:
HOWTO_Add_a_sensor.txt:72
scene_meta_str::start_time
double start_time
Definition:
scene_meta.h:24
scene_meta_str::scene_center_lon
float scene_center_lon
Definition:
scene_meta.h:36
scene_meta_write
void scene_meta_write(idDS ds_id)
Definition:
scene_meta.c:241
scene_meta_str::start_center_lon
float start_center_lon
Definition:
scene_meta.h:34
scene_meta_str::lowerleft_lon
float lowerleft_lon
Definition:
scene_meta.h:49
scene_meta_str::daynight
char daynight[32]
Definition:
scene_meta.h:23
dfutils.h
scene_meta_str::southern_lat
float southern_lat
Definition:
scene_meta.h:42
scene_meta_str::upperright_lon
float upperright_lon
Definition:
scene_meta.h:46
scene_meta_str::start_center_lat
float start_center_lat
Definition:
scene_meta.h:35
scene_meta_str
Definition:
scene_meta.h:20
scene_meta_str::end_day
int end_day
Definition:
scene_meta.h:31
scene_meta_str::western_lon
float western_lon
Definition:
scene_meta.h:44
l1.h
scene_meta_str::lowerright_lon
float lowerright_lon
Definition:
scene_meta.h:50
scene_meta_str::start_node
char start_node[32]
Definition:
scene_meta.h:21
scene_meta_str::end_msec
int end_msec
Definition:
scene_meta.h:32
scene_meta_str::end_center_lon
float end_center_lon
Definition:
scene_meta.h:39
scene_meta_str::start_day
int start_day
Definition:
scene_meta.h:28
scene_meta_str::scene_center_lat
float scene_center_lat
Definition:
scene_meta.h:37
scene_meta_str::end_center_lat
float end_center_lat
Definition:
scene_meta.h:40
scene_meta_str::upperright_lat
float upperright_lat
Definition:
scene_meta.h:48
idDS
Definition:
dfutils.h:28
scene_meta_str::end_year
int end_year
Definition:
scene_meta.h:30
scene_meta_str::lowerright_lat
float lowerright_lat
Definition:
scene_meta.h:52
scene_meta_str::start_msec
int start_msec
Definition:
scene_meta.h:29
scene_meta_str::upperleft_lon
float upperleft_lon
Definition:
scene_meta.h:45
scene_meta_str::eastern_lon
float eastern_lon
Definition:
scene_meta.h:43
scene_meta_str::center_time
double center_time
Definition:
scene_meta.h:25
scene_meta_str::northern_lat
float northern_lat
Definition:
scene_meta.h:41
scene_meta_str::scene_center_solz
float scene_center_solz
Definition:
scene_meta.h:38
scene_meta_get
scnstr * scene_meta_get(void)
Definition:
scene_meta.c:237
scene_meta_str::start_year
int start_year
Definition:
scene_meta.h:27
scene_meta_str::upperleft_lat
float upperleft_lat
Definition:
scene_meta.h:47
scene_meta_put
void scene_meta_put(l1str *l1rec)
Definition:
scene_meta.c:72
scene_meta_str::end_time
double end_time
Definition:
scene_meta.h:26