OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
l2bin_input.h
Go to the documentation of this file.
1 #ifndef _INPUT_STR_H
2 #define _INPUT_STR_H
3 
4 #include <stdio.h>
5 #include "clo.h"
6 #include "ncfileinfo.h"
7 
8 #define DEF_FLAG "ATMFAIL,LAND,HILT,HISATZEN,STRAYLIGHT,CLDICE,COCCOLITH,LOWLW,CHLFAIL,CHLWARN,NAVWARN,ABSAER,MAXAERITER,ATMWARN,HISOLZEN,NAVFAIL,FILTER"
9 
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13 
14 typedef struct input_struct {
15  char infile [FILENAME_MAX];
16  char ofile [FILENAME_MAX];
17  char pfile [FILENAME_MAX];
18  char fileuse [FILENAME_MAX];
19  char flaguse[2048];
20  char l3bprod[2048];
21  char prodtype[32];
22  char qual_prod[2048];
23  char composite_prod[2048];
24  char composite_scheme[2048];
25  char pversion[16];
26  char suite [32];
27  char output_wavelengths[2048];
28 
29  char parms [4096];
30 
31  int32_t sday;
32  int32_t eday;
33  char resolve[4];
34  int32_t rowgroup;
35  int32_t meminfo;
36  int32_t dcinfo;
37  int32_t night;
38  int32_t verbose;
39  int32_t minobs;
40  float deltaeqcross;
41  int32_t deflate;
42 
43  float latsouth;
44  float latnorth;
45  float lonwest;
46  float loneast;
47 
48  uint8_t qual_max;
49  std::vector<std::string> files;
50 
52 
53 } instr;
54 
55 int l2bin_input(int argc, char **argv, instr *input, const char* prog, const char* version);
56 int l2bin_init_options(clo_optionList_t* list, const char* prog, const char* version);
57 
58 #ifdef __cplusplus
59 }
60 #endif
61 #endif
int area_weighting
Definition: l2bin_input.h:51
char resolve[4]
Definition: l2bin_input.h:33
char ofile[FILENAME_MAX]
Definition: l2bin_input.h:16
list(APPEND LIBS ${PGSTK_LIBRARIES}) add_executable(atteph_info_modis atteph_info_modis.c) target_link_libraries(atteph_info_modis $
Definition: CMakeLists.txt:7
char fileuse[FILENAME_MAX]
Definition: l2bin_input.h:18
int l2bin_input(int argc, char **argv, instr *input, const char *prog, const char *version)
int32_t night
Definition: l2bin_input.h:37
char parms[4096]
Definition: l2bin_input.h:29
char suite[32]
Definition: l2bin_input.h:26
int32_t minobs
Definition: l2bin_input.h:39
int32_t eday
Definition: l2bin_input.h:32
char flaguse[2048]
Definition: l2bin_input.h:19
int32_t meminfo
Definition: l2bin_input.h:35
int32_t dcinfo
Definition: l2bin_input.h:36
float deltaeqcross
Definition: l2bin_input.h:40
char pversion[16]
Definition: l2bin_input.h:25
char l3bprod[2048]
Definition: l2bin_input.h:20
uint8_t qual_max
Definition: l2bin_input.h:48
float lonwest
Definition: l2bin_input.h:45
int32_t sday
Definition: l2bin_input.h:31
int32_t verbose
Definition: l2bin_input.h:38
int32_t rowgroup
Definition: l2bin_input.h:34
char infile[FILENAME_MAX]
Definition: l2bin_input.h:15
int l2bin_init_options(clo_optionList_t *list, const char *prog, const char *version)
Definition: l2bin_input.cpp:24
char composite_scheme[2048]
Definition: l2bin_input.h:24
float latnorth
Definition: l2bin_input.h:44
char qual_prod[2048]
Definition: l2bin_input.h:22
char prodtype[32]
Definition: l2bin_input.h:21
char pfile[FILENAME_MAX]
Definition: l2bin_input.h:17
float latsouth
Definition: l2bin_input.h:43
version
Definition: setup.py:15
char output_wavelengths[2048]
Definition: l2bin_input.h:27
int32_t deflate
Definition: l2bin_input.h:41
std::vector< std::string > files
Definition: l2bin_input.h:49
float loneast
Definition: l2bin_input.h:46
char composite_prod[2048]
Definition: l2bin_input.h:23