OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
AfrtOptions.h
Go to the documentation of this file.
1 
2 /**************************************************************************
3  *
4  * NAME: AfrtOptions
5  *
6  * DESCRIPTION: Reads file path data from program
7  * configuration file (pcf) and makes it available to applications via
8  * various get commands.
9  *
10  * Created on: April, 2018
11  * Author: Sam Anderson
12  *
13  **************************************************************************/
14 
15 #ifndef AfrtOptions_h_
16 #define AfrtOptions_h_
17 
18 #include <string>
19 #include <iostream>
20 #include <clo.h>
21 
22 //
23 // Short name constants
24 //
25 extern const std::string INPUT_PHS_NC4;
26 extern const std::string INPUT_PHS;
27 extern const std::string INPUT_OCN;
28 extern const std::string INPUT_RT1;
29 extern const std::string INPUT_RT2;
30 extern const std::string INPUT_OZONE_RT1;
31 extern const std::string INPUT_ATM_RT1;
32 extern const std::string INPUT_COEFF_RT1;
33 extern const std::string ODIR_PHS;
34 extern const std::string ODIR_OCN;
35 extern const std::string ODIR_RT1;
36 extern const std::string ODIR_RT2;
37 extern const std::string ODIR_NC4;
38 extern const std::string OFILE_PHS;
39 extern const std::string OFILE_OCN;
40 extern const std::string OFILE_RT1;
41 extern const std::string OFILE_RT2;
42 extern const std::string OFILE_ALL;
43 extern const std::string OFILE_NC4;
44 
46 extern const std::string INPUT_WIND_SPEED;
47 extern const std::string INPUT_IAIR;
48 extern const std::string INPUT_DELTA_TAU;
49 extern const std::string INPUT_SURF_PRESSURE;
50 extern const std::string INPUT_DUST_HEIGHT;
51 extern const std::string INPUT_DUST_SIGMA;
52 extern const std::string INPUT_CLOUD_TOP;
53 extern const std::string INPUT_CLOUD_BOTTOM;
54 extern const std::string INPUT_AOD;
55 extern const std::string INPUT_HUMIDITY;
56 
57 extern const std::string INPUT_WL_INDEX;
58 extern const std::string INPUT_SD_INDEX;
59 extern const std::string INPUT_TAU_INDEX;
60 extern const std::string INPUT_WIND_INDEX;
61 extern const std::string INPUT_WAVELENGTHS;
62 extern const std::string INPUT_HUMIDITIES;
63 extern const std::string INPUT_WINDSPEEDS;
64 extern const std::string INPUT_ANGLES;
65 extern const std::string INPUT_DELTA_THETA;
66 extern const std::string INPUT_DELTA_PHI;
67 extern const std::string INPUT_OPTDEPTHS;
69 extern const std::string INPUT_PSUDO;
70 extern const std::string INPUT_RAYLEIGH;
71 extern const std::string INPUT_AEROSOLS;
72 extern const std::string INPUT_GASES;
73 extern const std::string INPUT_IREF;
74 extern const std::string INPUT_ITRANS;
75 extern const std::string INPUT_KSET;
76 extern const std::string INPUT_ISET;
77 extern const std::string INPUT_PRIN;
78 extern const std::string INPUT_POL;
79 extern const std::string INPUT_CRFT;
80 extern const std::string INPUT_ACTFLX;
81 extern const std::string INPUT_SURF;
82 extern const std::string INPUT_GLINT; //apply gint correction
83 extern const std::string INPUT_IOCN;
84 extern const std::string INPUT_FOAM;
85 extern const std::string INPUT_WATR;
86 extern const std::string INPUT_CONC;
87 extern const std::string INPUT_SEA_NR;
88 extern const std::string INPUT_SEA_NI;
89 extern const std::string INPUT_SALINITY;
90 extern const std::string INPUT_THETA_CELL;
91 extern const std::string INPUT_PHI_CELL;
92 extern const std::string INPUT_IPROB;
93 
97 int* afrt_get_option_ints(const std::string& name, int& count);
98 double* afrt_get_option_doubles(const std::string& name, int& count);
103 
105 //void afrt_copy_options();
107 std::string afrt_get_history(int argc, char* argv[]);
108 
109 #endif
const std::string INPUT_PSUDO
Definition: AfrtOptions.cpp:83
const std::string INPUT_HUMIDITIES
Definition: AfrtOptions.cpp:70
const std::string INPUT_WAVELENGTHS
Definition: AfrtOptions.cpp:69
const std::string OFILE_OCN
Definition: AfrtOptions.cpp:47
const std::string INPUT_SD_INDEX
Definition: AfrtOptions.cpp:54
std::string afrt_get_group(const std::string &group)
list(APPEND LIBS ${PGSTK_LIBRARIES}) add_executable(atteph_info_modis atteph_info_modis.c) target_link_libraries(atteph_info_modis $
Definition: CMakeLists.txt:7
void afrt_add_options(clo_optionList_t *list)
const std::string INPUT_IREF
Definition: AfrtOptions.cpp:89
const std::string ODIR_NC4
Definition: AfrtOptions.cpp:45
const std::string INPUT_IOCN
Definition: AfrtOptions.cpp:98
const std::string INPUT_CLOUD_TOP
Definition: AfrtOptions.cpp:64
const std::string INPUT_OZONE_RT1
Definition: AfrtOptions.cpp:38
int * afrt_get_option_ints(const std::string &name, int &count)
const std::string INPUT_ACTFLX
Definition: AfrtOptions.cpp:95
const std::string INPUT_DELTA_TAU
Definition: AfrtOptions.h:68
const std::string INPUT_POL
Definition: AfrtOptions.cpp:93
const std::string INPUT_PHI_CELL
Definition: AfrtOptions.cpp:81
const std::string INPUT_ITRANS
Definition: AfrtOptions.cpp:92
const std::string INPUT_PHS
Definition: AfrtOptions.cpp:34
double afrt_get_option_double(const std::string &name)
double * afrt_get_option_doubles(const std::string &name, int &count)
clo_optionList_t * afrt_get_optionList()
const std::string INPUT_RAYLEIGH
Definition: AfrtOptions.cpp:84
const std::string INPUT_ISET
Definition: AfrtOptions.cpp:90
const std::string INPUT_CRFT
Definition: AfrtOptions.cpp:94
const std::string INPUT_THETA_CELL
Definition: AfrtOptions.cpp:80
int afrt_get_option_int(const std::string &name)
const std::string OFILE_RT1
Definition: AfrtOptions.cpp:48
const std::string INPUT_SURF
Definition: AfrtOptions.cpp:96
@ string
const std::string INPUT_GLINT
Definition: AfrtOptions.cpp:97
const std::string INPUT_WIND_SPEED
Definition: AfrtOptions.cpp:59
const std::string INPUT_RT2
Definition: AfrtOptions.cpp:37
const std::string INPUT_WL_INDEX
Definition: AfrtOptions.cpp:53
const std::string OFILE_RT2
Definition: AfrtOptions.cpp:49
const std::string INPUT_RT1
Definition: AfrtOptions.cpp:36
const std::string INPUT_AOD
Definition: AfrtOptions.cpp:66
const std::string INPUT_COEFF_RT1
Definition: AfrtOptions.cpp:40
const std::string INPUT_DUST_SIGMA
Definition: AfrtOptions.cpp:63
const std::string OFILE_NC4
Definition: AfrtOptions.cpp:51
const std::string INPUT_SEA_NR
Definition: AfrtOptions.cpp:77
const std::string INPUT_FOAM
Definition: AfrtOptions.cpp:99
const std::string INPUT_ANGLES
Definition: AfrtOptions.cpp:72
void afrt_set_optionList(clo_optionList_t *list)
const std::string OFILE_ALL
Definition: AfrtOptions.cpp:50
const std::string INPUT_DELTA_THETA
Definition: AfrtOptions.cpp:75
const std::string OFILE_PHS
Definition: AfrtOptions.cpp:46
const std::string INPUT_DELTA_PHI
Definition: AfrtOptions.cpp:76
const std::string INPUT_KSET
Definition: AfrtOptions.cpp:88
const std::string ODIR_PHS
Definition: AfrtOptions.cpp:41
const std::string INPUT_SEA_SLOPE_STDEV
Definition: AfrtOptions.cpp:58
const std::string INPUT_AEROSOLS
Definition: AfrtOptions.cpp:85
std::string afrt_get_option(const std::string &name)
const std::string INPUT_OCN
Definition: AfrtOptions.cpp:35
const std::string INPUT_WINDSPEEDS
Definition: AfrtOptions.cpp:71
std::string afrt_get_history(int argc, char *argv[])
const std::string INPUT_SEA_NI
Definition: AfrtOptions.cpp:78
const std::string INPUT_WATR
const std::string ODIR_RT2
Definition: AfrtOptions.cpp:44
std::string afrt_get_source()
bool afrt_get_option_bool(const std::string &name)
const std::string INPUT_PHS_NC4
Definition: AfrtOptions.cpp:33
const std::string ODIR_OCN
Definition: AfrtOptions.cpp:42
const std::string ODIR_RT1
Definition: AfrtOptions.cpp:43
const std::string INPUT_TAU_INDEX
Definition: AfrtOptions.cpp:55
const std::string INPUT_IAIR
Definition: AfrtOptions.cpp:87
const std::string INPUT_IPROB
const std::string INPUT_HUMIDITY
Definition: AfrtOptions.cpp:67
const std::string INPUT_PRIN
Definition: AfrtOptions.cpp:91
const std::string INPUT_SURF_PRESSURE
Definition: AfrtOptions.cpp:61
const std::string INPUT_DUST_HEIGHT
Definition: AfrtOptions.cpp:62
const std::string INPUT_OPTDEPTHS
Definition: AfrtOptions.cpp:73
const std::string INPUT_ATM_RT1
Definition: AfrtOptions.cpp:39
const std::string INPUT_WIND_INDEX
Definition: AfrtOptions.cpp:56
const std::string INPUT_GASES
Definition: AfrtOptions.cpp:86
const std::string INPUT_SALINITY
Definition: AfrtOptions.cpp:79
const std::string INPUT_CONC
const std::string INPUT_CLOUD_BOTTOM
Definition: AfrtOptions.cpp:65
int count
Definition: decode_rs.h:79