21 #ifndef otbAeronetFileReader_h
22 #define otbAeronetFileReader_h
27 #include "OTBOpticalCalibrationExport.h"
29 #include "itkProcessObject.h"
48 AeronetFileReaderException(
const char* file,
unsigned int line,
const char* message =
"Error in Radiometry IO",
const char* loc =
"Unknown")
49 : ExceptionObject(file, line, message, loc)
54 AeronetFileReaderException(
const std::string& file,
unsigned int line,
const char* message =
"Error in Radiometry IO",
const char* loc =
"Unknown")
55 : ExceptionObject(file, line, message, loc)
101 itkSetStringMacro(FileName);
104 itkGetStringMacro(FileName);
107 itkSetMacro(Day,
int);
108 itkGetMacro(Day,
int);
112 itkSetMacro(Month,
int);
113 itkGetMacro(Month,
int);
117 itkSetMacro(Year,
int);
118 itkGetMacro(Year,
int);
122 itkSetMacro(Hour,
int);
123 itkGetMacro(Hour,
int);
127 itkSetMacro(Minute,
int);
128 itkGetMacro(Minute,
int);
132 itkSetMacro(Epsilon,
double);
133 itkGetMacro(Epsilon,
double);
147 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
This class is a data structure designed to store Aeronet data extracted from a aeronet file.
Base exception class for Aeronet problems during reading.
AeronetFileReaderException(const std::string &file, unsigned int line, const char *message="Error in Radiometry IO", const char *loc="Unknown")
AeronetFileReaderException(const char *file, unsigned int line, const char *message="Error in Radiometry IO", const char *loc="Unknown")
This class reads a Aeronet data from an Aeronet file.
itk::SmartPointer< const Self > ConstPointer
void GetStatistics(const VectorDouble &vec, double &mean, double &stddev) const
std::vector< VectorString > MatrixString
void GenerateData() override
~AeronetFileReader() override
std::vector< std::string > VectorString
void ParseValidLine(const double &ref_date, const VectorString &line, const double &epsilon, VectorDouble &water, VectorDouble &angst, VectorDouble &tau_day, VectorDouble &solarZenithAngle) const
itk::ProcessObject Superclass
VectorString ParseLine(const std::string &line) const
virtual AeronetData * GetOutput(void)
std::vector< double > VectorDouble
itk::SmartPointer< Self > Pointer
void PrintSelf(std::ostream &os, itk::Indent indent) const override
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.