ocssw
V2022
|
#include <cassert>
#include <iostream>
#include <ostream>
#include <cstring>
#include <vector>
#include <libgen.h>
#include <DDOptions.h>
Go to the source code of this file.
Functions | |
void | set_optionList (clo_optionList_t *list) |
clo_optionList_t * | get_optionList () |
string | get_option (const string &name) |
int | get_option_int (const string &name) |
int | get_bool (const string &name) |
float * | get_option_floats (const string &name, int *count) |
void | add_options (clo_optionList_t *list) |
void | copy_options () |
string | get_source () |
string | get_history (int argc, char *argv[]) |
void | par_option_cb (struct clo_option_t *option) |
void | init_options (clo_optionList_t *list, const char *softwareVersion) |
void | read_options (clo_optionList_t *list, int argc, char *argv[]) |
Function Documentation
◆ add_options()
void add_options | ( | clo_optionList_t * | list | ) |
Definition at line 251 of file DDOptions.cpp.
◆ copy_options()
void copy_options | ( | ) |
Definition at line 457 of file DDOptions.cpp.
◆ get_bool()
Definition at line 231 of file DDOptions.cpp.
◆ get_history()
string get_history | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 496 of file DDOptions.cpp.
◆ get_option()
Definition at line 211 of file DDOptions.cpp.
◆ get_option_floats()
Definition at line 239 of file DDOptions.cpp.
◆ get_option_int()
Definition at line 223 of file DDOptions.cpp.
◆ get_optionList()
clo_optionList_t* get_optionList | ( | ) |
Definition at line 203 of file DDOptions.cpp.
◆ get_source()
string get_source | ( | ) |
Definition at line 462 of file DDOptions.cpp.
◆ init_options()
void init_options | ( | clo_optionList_t * | list, |
const char * | softwareVersion | ||
) |
add all of the accepted command line options to list
Definition at line 535 of file DDOptions.cpp.
◆ par_option_cb()
void par_option_cb | ( | struct clo_option_t * | option | ) |
CLO callback function for the "par" option. Loads the parameter file into the list that is stored in option->cb_data
Definition at line 529 of file DDOptions.cpp.
◆ read_options()
void read_options | ( | clo_optionList_t * | list, |
int | argc, | ||
char * | argv[] | ||
) |
Definition at line 576 of file DDOptions.cpp.
◆ set_optionList()
void set_optionList | ( | clo_optionList_t * | list | ) |
Definition at line 199 of file DDOptions.cpp.
Variable Documentation
◆ ALGORITHM
Definition at line 193 of file DDOptions.cpp.
◆ BOOL_ADD_LT_NOISE
Definition at line 163 of file DDOptions.cpp.
◆ BOOL_AEROSOL_TYPE
Definition at line 172 of file DDOptions.cpp.
◆ BOOL_ANCILLARY
Definition at line 159 of file DDOptions.cpp.
◆ BOOL_ANGSTROM
Definition at line 178 of file DDOptions.cpp.
◆ BOOL_AOT_1240
Definition at line 185 of file DDOptions.cpp.
◆ BOOL_AOT_1610
Definition at line 186 of file DDOptions.cpp.
◆ BOOL_AOT_2250
Definition at line 187 of file DDOptions.cpp.
◆ BOOL_AOT_380
Definition at line 179 of file DDOptions.cpp.
◆ BOOL_AOT_410
Definition at line 180 of file DDOptions.cpp.
◆ BOOL_AOT_490
Definition at line 181 of file DDOptions.cpp.
◆ BOOL_AOT_550
Definition at line 182 of file DDOptions.cpp.
◆ BOOL_AOT_670
Definition at line 183 of file DDOptions.cpp.
◆ BOOL_AOT_865
Definition at line 184 of file DDOptions.cpp.
◆ BOOL_CHLOROPHYLL
Definition at line 174 of file DDOptions.cpp.
◆ BOOL_CLOUD_MASK
Definition at line 170 of file DDOptions.cpp.
◆ BOOL_DATA
Definition at line 157 of file DDOptions.cpp.
◆ BOOL_FLAGS
Definition at line 158 of file DDOptions.cpp.
◆ BOOL_FMF_550
Definition at line 176 of file DDOptions.cpp.
◆ BOOL_GAS_CORRECTION
Definition at line 164 of file DDOptions.cpp.
◆ BOOL_GEOLOCATION
Definition at line 160 of file DDOptions.cpp.
◆ BOOL_L2_FLAGS
Definition at line 169 of file DDOptions.cpp.
◆ BOOL_MASK_CLOUD
Definition at line 166 of file DDOptions.cpp.
◆ BOOL_MASK_GLINT
Definition at line 165 of file DDOptions.cpp.
◆ BOOL_NAVIGATION
Definition at line 154 of file DDOptions.cpp.
◆ BOOL_NDVI
Definition at line 177 of file DDOptions.cpp.
◆ BOOL_OBSERVATIONS
Definition at line 161 of file DDOptions.cpp.
◆ BOOL_PROCESS
Definition at line 155 of file DDOptions.cpp.
◆ BOOL_QUALITY_FLAG
Definition at line 171 of file DDOptions.cpp.
◆ BOOL_RESIDUAL_ERROR
Definition at line 175 of file DDOptions.cpp.
◆ BOOL_SCANS
Definition at line 153 of file DDOptions.cpp.
◆ BOOL_SCATTER_ANGLE
Definition at line 173 of file DDOptions.cpp.
◆ BOOL_SENSOR
Definition at line 152 of file DDOptions.cpp.
◆ BOOL_SHORT_FORMAT
Definition at line 167 of file DDOptions.cpp.
◆ BOOL_STATISTICS
Definition at line 162 of file DDOptions.cpp.
◆ BOOL_SURF_2250
Definition at line 191 of file DDOptions.cpp.
◆ BOOL_SURF_410
Definition at line 188 of file DDOptions.cpp.
◆ BOOL_SURF_490
Definition at line 189 of file DDOptions.cpp.
◆ BOOL_SURF_670
Definition at line 190 of file DDOptions.cpp.
◆ BOOL_WAVELENGTHS
Definition at line 156 of file DDOptions.cpp.
◆ INPUT_AERO_LAND_DUST
Definition at line 93 of file DDOptions.cpp.
◆ INPUT_AERO_LAND_FINE
Definition at line 92 of file DDOptions.cpp.
◆ INPUT_AERO_OCEAN_DUST
Definition at line 94 of file DDOptions.cpp.
◆ INPUT_AERO_OCEAN_FINE
Definition at line 95 of file DDOptions.cpp.
◆ INPUT_AERO_OCEAN_MARI
Definition at line 96 of file DDOptions.cpp.
◆ INPUT_AERO_OCEAN_MIX
Definition at line 97 of file DDOptions.cpp.
◆ INPUT_ATMOSPHERE
Definition at line 90 of file DDOptions.cpp.
◆ INPUT_BATHYMETRY
Definition at line 98 of file DDOptions.cpp.
◆ INPUT_BRDF
Definition at line 105 of file DDOptions.cpp.
◆ INPUT_CHL
Definition at line 99 of file DDOptions.cpp.
◆ INPUT_CLDMASK
Definition at line 46 of file DDOptions.cpp.
◆ INPUT_DB_NC4_LUT
Definition at line 120 of file DDOptions.cpp.
◆ INPUT_DBDT_REGIONS
Definition at line 83 of file DDOptions.cpp.
◆ INPUT_DLINE
Definition at line 33 of file DDOptions.cpp.
◆ INPUT_DPIX
Definition at line 30 of file DDOptions.cpp.
◆ INPUT_DT_NC4_LUT
Definition at line 119 of file DDOptions.cpp.
◆ INPUT_ELINE
Definition at line 32 of file DDOptions.cpp.
◆ INPUT_EPIX
Definition at line 29 of file DDOptions.cpp.
◆ INPUT_GAIN_412
Definition at line 88 of file DDOptions.cpp.
◆ INPUT_GAIN_470
Definition at line 89 of file DDOptions.cpp.
◆ INPUT_GAS_CORRECTION
Definition at line 47 of file DDOptions.cpp.
◆ INPUT_GDAS
Definition at line 44 of file DDOptions.cpp.
◆ INPUT_GDAS1
Definition at line 42 of file DDOptions.cpp.
◆ INPUT_GDAS2
Definition at line 43 of file DDOptions.cpp.
◆ INPUT_GEO
Definition at line 41 of file DDOptions.cpp.
◆ INPUT_GEOZONE
Definition at line 103 of file DDOptions.cpp.
◆ INPUT_GLOBAL_IGBP
Definition at line 78 of file DDOptions.cpp.
◆ INPUT_GRIB
Definition at line 50 of file DDOptions.cpp.
◆ INPUT_IFFSVM
Definition at line 39 of file DDOptions.cpp.
◆ INPUT_L1B
Definition at line 40 of file DDOptions.cpp.
◆ INPUT_LAND_MAP
Definition at line 65 of file DDOptions.cpp.
◆ INPUT_LAND_W0466
Definition at line 61 of file DDOptions.cpp.
◆ INPUT_LAND_W0554
Definition at line 62 of file DDOptions.cpp.
◆ INPUT_LAND_W0645
Definition at line 63 of file DDOptions.cpp.
◆ INPUT_LAND_W2113
Definition at line 64 of file DDOptions.cpp.
◆ INPUT_LANDCOVER
Definition at line 101 of file DDOptions.cpp.
◆ INPUT_LANDMASK
Definition at line 45 of file DDOptions.cpp.
◆ INPUT_LER_TABLE
Definition at line 100 of file DDOptions.cpp.
◆ INPUT_LINES_PER_RW
Definition at line 35 of file DDOptions.cpp.
◆ INPUT_LT_NOISE_SCALE
Definition at line 34 of file DDOptions.cpp.
◆ INPUT_MODIS_SURF_REFL
Definition at line 85 of file DDOptions.cpp.
◆ INPUT_MODIS_SWIR
Definition at line 84 of file DDOptions.cpp.
◆ INPUT_MODIS_XCAL_412
Definition at line 86 of file DDOptions.cpp.
◆ INPUT_MODIS_XCAL_470
Definition at line 87 of file DDOptions.cpp.
◆ INPUT_NC4_LUT
Definition at line 118 of file DDOptions.cpp.
◆ INPUT_NVALX21
Definition at line 82 of file DDOptions.cpp.
◆ INPUT_NVALX_412
Definition at line 79 of file DDOptions.cpp.
◆ INPUT_NVALX_470
Definition at line 80 of file DDOptions.cpp.
◆ INPUT_NVALX_650
Definition at line 81 of file DDOptions.cpp.
◆ INPUT_OCEAN_BIG1
Definition at line 53 of file DDOptions.cpp.
◆ INPUT_OCEAN_BIG2
Definition at line 54 of file DDOptions.cpp.
◆ INPUT_OCEAN_BIG3
Definition at line 55 of file DDOptions.cpp.
◆ INPUT_OCEAN_BIG4
Definition at line 56 of file DDOptions.cpp.
◆ INPUT_OCEAN_SMALL1
Definition at line 57 of file DDOptions.cpp.
◆ INPUT_OCEAN_SMALL2
Definition at line 58 of file DDOptions.cpp.
◆ INPUT_OCEAN_SMALL3
Definition at line 59 of file DDOptions.cpp.
◆ INPUT_OCEAN_SMALL4
Definition at line 60 of file DDOptions.cpp.
◆ INPUT_OZONE
Definition at line 51 of file DDOptions.cpp.
◆ INPUT_PAR
Definition at line 37 of file DDOptions.cpp.
◆ INPUT_RATIO_CH19_TO_CH2
Definition at line 75 of file DDOptions.cpp.
◆ INPUT_RAYL_412
Definition at line 111 of file DDOptions.cpp.
◆ INPUT_RAYL_470
Definition at line 112 of file DDOptions.cpp.
◆ INPUT_RAYL_650
Definition at line 113 of file DDOptions.cpp.
◆ INPUT_REFL_CH2
Definition at line 74 of file DDOptions.cpp.
◆ INPUT_SAT_ID
Definition at line 48 of file DDOptions.cpp.
◆ INPUT_SEASONAL_DESERTS
Definition at line 104 of file DDOptions.cpp.
◆ INPUT_SENSOR_INFO
Definition at line 121 of file DDOptions.cpp.
◆ INPUT_SLINE
Definition at line 31 of file DDOptions.cpp.
◆ INPUT_SPIX
Definition at line 28 of file DDOptions.cpp.
◆ INPUT_SURF_COEFF
Definition at line 107 of file DDOptions.cpp.
◆ INPUT_SURFACE_PRESSURE
Definition at line 102 of file DDOptions.cpp.
◆ INPUT_SWIR
Definition at line 108 of file DDOptions.cpp.
◆ INPUT_TRANSM_H2O_1
Definition at line 67 of file DDOptions.cpp.
◆ INPUT_TRANSM_H2O_2
Definition at line 68 of file DDOptions.cpp.
◆ INPUT_TRANSM_H2O_3
Definition at line 69 of file DDOptions.cpp.
◆ INPUT_TRANSM_H2O_4
Definition at line 70 of file DDOptions.cpp.
◆ INPUT_TRANSM_H2O_5
Definition at line 71 of file DDOptions.cpp.
◆ INPUT_TRANSM_H2O_6
Definition at line 72 of file DDOptions.cpp.
◆ INPUT_VEG_21SFC
Definition at line 110 of file DDOptions.cpp.
◆ INPUT_VEG_LANDCOVER
Definition at line 109 of file DDOptions.cpp.
◆ INPUT_VIIRS_SURF_REFL
Definition at line 106 of file DDOptions.cpp.
◆ INPUT_VIIRS_XCAL_412
Definition at line 114 of file DDOptions.cpp.
◆ INPUT_VIIRS_XCAL_488
Definition at line 115 of file DDOptions.cpp.
◆ INPUT_VIIRS_XCAL_670
Definition at line 116 of file DDOptions.cpp.
◆ INPUT_WEIGHT_TABLE
Definition at line 73 of file DDOptions.cpp.
◆ LEAP_SEC_PATH
Definition at line 122 of file DDOptions.cpp.
◆ LUT_BATHYMETRY
Definition at line 149 of file DDOptions.cpp.
◆ LUT_CHL
Definition at line 150 of file DDOptions.cpp.
◆ LUT_GAS_CORRECTION
Definition at line 125 of file DDOptions.cpp.
◆ LUT_GEOZONE
Definition at line 142 of file DDOptions.cpp.
◆ LUT_GRIB
Definition at line 124 of file DDOptions.cpp.
◆ LUT_LAND_AEROSOL
Definition at line 126 of file DDOptions.cpp.
◆ LUT_LAND_AEROSOL_DUST
Definition at line 148 of file DDOptions.cpp.
◆ LUT_LAND_AEROSOL_FINE
Definition at line 147 of file DDOptions.cpp.
◆ LUT_LANDCOVER
Definition at line 141 of file DDOptions.cpp.
◆ LUT_LER_TABLES
Definition at line 137 of file DDOptions.cpp.
◆ LUT_MODIS_CORRECTIONS
Definition at line 132 of file DDOptions.cpp.
◆ LUT_MODIS_SURFACE_REFL
Definition at line 131 of file DDOptions.cpp.
◆ LUT_MODIS_SWIR
Definition at line 130 of file DDOptions.cpp.
◆ LUT_NVALX
Definition at line 133 of file DDOptions.cpp.
◆ LUT_NVALX21
Definition at line 136 of file DDOptions.cpp.
◆ LUT_OCEAN_AEROSOL
Definition at line 127 of file DDOptions.cpp.
◆ LUT_OCEAN_AEROSOL_DUST
Definition at line 144 of file DDOptions.cpp.
◆ LUT_OCEAN_AEROSOL_FINE
Definition at line 143 of file DDOptions.cpp.
◆ LUT_OCEAN_AEROSOL_MARI
Definition at line 145 of file DDOptions.cpp.
◆ LUT_OCEAN_AEROSOL_MIX
Definition at line 146 of file DDOptions.cpp.
◆ LUT_RAYLEIGH
Definition at line 134 of file DDOptions.cpp.
◆ LUT_SURFACE_COEFF
Definition at line 140 of file DDOptions.cpp.
◆ LUT_SURFACE_PRESSURE
Definition at line 129 of file DDOptions.cpp.
◆ LUT_SWIR
Definition at line 138 of file DDOptions.cpp.
◆ LUT_VIIRS_SURFACE_REFL
Definition at line 139 of file DDOptions.cpp.
◆ LUT_WATER_VAPOR
Definition at line 128 of file DDOptions.cpp.
◆ NETCDF_LUT_PATH
Definition at line 194 of file DDOptions.cpp.
◆ OUTPUT_NC4
Definition at line 49 of file DDOptions.cpp.
◆ PRODUCT_XML
Definition at line 38 of file DDOptions.cpp.