OTB  6.7.0
Orfeo Toolbox
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
otb::AeronetFileReader Class Reference

#include <otbAeronetFileReader.h>

+ Inheritance diagram for otb::AeronetFileReader:
+ Collaboration diagram for otb::AeronetFileReader:

Public Types

typedef itk::SmartPointer
< const Self
typedef itk::SmartPointer< SelfPointer
typedef AeronetFileReader Self
typedef itk::ProcessObject Superclass
- Public Types inherited from itk::ProcessObject
typedef SmartPointer< const SelfConstPointer
typedef DataObject::Pointer DataObjectPointer
typedef std::vector
< DataObjectPointer
typedef std::vector
< DataObjectIdentifierType
typedef SmartPointer< SelfPointer
typedef ProcessObject Self
typedef Object Superclass
- Public Types inherited from itk::Object
typedef SmartPointer< const SelfConstPointer
typedef SmartPointer< SelfPointer
typedef Object Self
typedef LightObject Superclass
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
typedef SmartPointer< SelfPointer
typedef LightObject Self

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
virtual const char * GetFileName () const
virtual const char * GetNameOfClass () const
virtual AeronetDataGetOutput (void)
virtual void SetFileName (const char *_arg)
virtual void SetDay (int _arg)
virtual int GetDay ()
virtual void SetMonth (int _arg)
virtual int GetMonth ()
virtual void SetYear (int _arg)
virtual int GetYear ()
virtual void SetHour (int _arg)
virtual int GetHour ()
virtual void SetMinute (int _arg)
virtual int GetMinute ()
virtual void SetEpsilon (double _arg)
virtual double GetEpsilon ()
- Public Member Functions inherited from itk::ProcessObject
virtual void AbortGenerateDataOff ()
virtual void AbortGenerateDataOn ()
virtual void EnlargeOutputRequestedRegion (DataObject *)
virtual const bool & GetAbortGenerateData () const
DataObjectPointerArray GetIndexedInputs ()
DataObjectPointerArray GetIndexedOutputs ()
NameArray GetInputNames () const
DataObjectPointerArray GetInputs ()
MultiThreader * GetMultiThreader () const
DataObjectPointerArraySizeType GetNumberOfIndexedInputs () const
DataObjectPointerArraySizeType GetNumberOfIndexedOutputs () const
DataObjectPointerArraySizeType GetNumberOfInputs () const
DataObjectPointerArraySizeType GetNumberOfOutputs () const
virtual const ThreadIdTypeGetNumberOfThreads () const
GetNumberOfValidRequiredInputs () const
NameArray GetOutputNames () const
DataObjectPointerArray GetOutputs ()
virtual const float & GetProgress () const
virtual const bool & GetReleaseDataBeforeUpdateFlag () const
virtual bool GetReleaseDataFlag () const
NameArray GetRequiredInputNames () const
bool HasInput (const DataObjectIdentifierType &key) const
bool HasOutput (const DataObjectIdentifierType &key) const
virtual DataObjectPointer MakeOutput (const DataObjectIdentifierType &)
virtual DataObjectPointer MakeOutput (DataObjectPointerArraySizeType idx)
virtual void PrepareOutputs ()
virtual void PropagateRequestedRegion (DataObject *output)
virtual void ReleaseDataBeforeUpdateFlagOff ()
virtual void ReleaseDataBeforeUpdateFlagOn ()
void ReleaseDataFlagOff ()
void ReleaseDataFlagOn ()
virtual void ResetPipeline ()
virtual void SetAbortGenerateData (bool _arg)
virtual void SetNumberOfThreads (ThreadIdType _arg)
void SetProgress (float progress)
virtual void SetReleaseDataBeforeUpdateFlag (bool _arg)
virtual void SetReleaseDataFlag (bool flag)
virtual void Update ()
virtual void UpdateLargestPossibleRegion ()
virtual void UpdateOutputData (DataObject *output)
virtual void UpdateOutputInformation ()
void UpdateProgress (float progress)
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
unsigned long AddObserver (const EventObject &event, Command *) const
virtual void DebugOff () const
virtual void DebugOn () const
CommandGetCommand (unsigned long tag)
bool GetDebug () const
const MetaDataDictionaryGetMetaDataDictionary () const
MetaDataDictionaryGetMetaDataDictionary ()
virtual ModifiedTimeType GetMTime () const
virtual const std::string & GetObjectName () const
virtual const TimeStampGetTimeStamp () const
bool HasObserver (const EventObject &event) const
void InvokeEvent (const EventObject &)
void InvokeEvent (const EventObject &) const
virtual void Modified () const
virtual void Register () const override
void RemoveAllObservers ()
void RemoveObserver (unsigned long tag)
void SetDebug (bool debugFlag) const
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
virtual void SetObjectName (std::string _arg)
virtual void SetReferenceCount (int) override
virtual void UnRegister () const noexceptoverride
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
virtual int GetReferenceCount () const
 itkCloneMacro (Self)
void Print (std::ostream &os, Indent indent=0) const

Static Public Member Functions

static Pointer New ()
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
static void GlobalWarningDisplayOff ()
static void GlobalWarningDisplayOn ()
static Pointer New ()
static void SetGlobalWarningDisplay (bool flag)
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
static Pointer New ()

Protected Member Functions

 AeronetFileReader ()
void GenerateData () override
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 ~AeronetFileReader () override
- Protected Member Functions inherited from itk::ProcessObject
virtual void AddInput (DataObject *input)
virtual void AddOutput (DataObject *output)
bool AddRequiredInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
bool AddRequiredInputName (const DataObjectIdentifierType &)
virtual void CacheInputReleaseDataFlags ()
virtual void GenerateInputRequestedRegion ()
virtual void GenerateOutputInformation ()
virtual void GenerateOutputRequestedRegion (DataObject *output)
const DataObjectGetInput (const DataObjectIdentifierType &key) const
DataObjectGetInput (DataObjectPointerArraySizeType idx)
const DataObjectGetInput (DataObjectPointerArraySizeType idx) const
DataObjectGetInput (const DataObjectIdentifierType &key)
virtual const
GetNumberOfRequiredInputs () const
virtual const
GetNumberOfRequiredOutputs () const
DataObjectGetOutput (const DataObjectIdentifierType &key)
const DataObjectGetOutput (const DataObjectIdentifierType &key) const
DataObjectGetOutput (DataObjectPointerArraySizeType idx)
const DataObjectGetOutput (DataObjectPointerArraySizeType idx) const
DataObjectGetPrimaryInput ()
const DataObjectGetPrimaryInput () const
virtual const char * GetPrimaryInputName (void) const
DataObjectGetPrimaryOutput ()
const DataObjectGetPrimaryOutput () const
virtual const char * GetPrimaryOutputName (void) const
bool IsIndexedInputName (const DataObjectIdentifierType &) const
bool IsIndexedOutputName (const DataObjectIdentifierType &) const
bool IsRequiredInputName (const DataObjectIdentifierType &) const
 itkLegacyMacro (virtual void RemoveInput(DataObject *input))
 itkLegacyMacro (void SetNumberOfInputs(DataObjectPointerArraySizeType num))
 itkLegacyMacro (virtual void RemoveOutput(DataObject *output))
 itkLegacyMacro (void SetNumberOfOutputs(DataObjectPointerArraySizeType num))
DataObjectPointerArraySizeType MakeIndexFromInputName (const DataObjectIdentifierType &name) const
DataObjectPointerArraySizeType MakeIndexFromOutputName (const DataObjectIdentifierType &name) const
DataObjectIdentifierType MakeNameFromInputIndex (DataObjectPointerArraySizeType idx) const
DataObjectIdentifierType MakeNameFromOutputIndex (DataObjectPointerArraySizeType idx) const
virtual void PopBackInput ()
virtual void PopFrontInput ()
 ProcessObject ()
virtual void PropagateResetPipeline ()
virtual void PushBackInput (const DataObject *input)
virtual void PushFrontInput (const DataObject *input)
virtual void ReleaseInputs ()
virtual void RemoveInput (const DataObjectIdentifierType &key)
virtual void RemoveInput (DataObjectPointerArraySizeType)
virtual void RemoveOutput (const DataObjectIdentifierType &key)
virtual void RemoveOutput (DataObjectPointerArraySizeType idx)
bool RemoveRequiredInputName (const DataObjectIdentifierType &)
virtual void RestoreInputReleaseDataFlags ()
virtual void SetInput (const DataObjectIdentifierType &key, DataObject *input)
virtual void SetNthInput (DataObjectPointerArraySizeType num, DataObject *input)
virtual void SetNthOutput (DataObjectPointerArraySizeType num, DataObject *output)
void SetNumberOfIndexedInputs (DataObjectPointerArraySizeType num)
void SetNumberOfIndexedOutputs (DataObjectPointerArraySizeType num)
virtual void SetNumberOfRequiredInputs (DataObjectPointerArraySizeType)
virtual void SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg)
virtual void SetOutput (const DataObjectIdentifierType &key, DataObject *output)
virtual void SetPrimaryInput (DataObject *input)
virtual void SetPrimaryInputName (const DataObjectIdentifierType &key)
virtual void SetPrimaryOutput (DataObject *output)
virtual void SetPrimaryOutputName (const DataObjectIdentifierType &key)
void SetRequiredInputNames (const NameArray &)
virtual void VerifyInputInformation ()
virtual void VerifyPreconditions ()
 ~ProcessObject ()
- Protected Member Functions inherited from itk::Object
 Object ()
bool PrintObservers (std::ostream &os, Indent indent) const
virtual void SetTimeStamp (const TimeStamp &time)
virtual ~Object ()
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 LightObject ()
virtual void PrintHeader (std::ostream &os, Indent indent) const
virtual void PrintTrailer (std::ostream &os, Indent indent) const
virtual ~LightObject ()

Private Types

typedef std::vector< VectorStringMatrixString
typedef std::vector< double > VectorDouble
typedef std::vector< std::string > VectorString

Private Member Functions

void GetStatistics (const VectorDouble &vec, double &mean, double &stddev) const
VectorString ParseLine (const std::string &line) const
void ParseValidLine (const double &ref_date, const VectorString &line, const double &epsilon, VectorDouble &water, VectorDouble &angst, VectorDouble &tau_day, VectorDouble &solarZenithAngle) const

Private Attributes

int m_Day
double m_Epsilon
std::string m_FileName
int m_Hour
int m_Minute
int m_Month
int m_Year

Additional Inherited Members

- Protected Attributes inherited from itk::ProcessObject
TimeStamp m_OutputInformationMTime
bool m_Updating
- Protected Attributes inherited from itk::LightObject
AtomicInt< int > m_ReferenceCount

Detailed Description

This class reads a Aeronet data from an Aeronet file.

This class reads a Aeronet data from an Aeronet file.

This file must contain the following fields (contains in the line 5) column 1 : The date "Date (dd/mm/yyyy)" 2 : The time "Time (hh:mm:ss)" 6 : Aerosol Optical for 670 nm "AOT_675" 15 : Aerosol Optical for 440 nm "AOT_440" 19 : Water "Water (cm)" 37 : Angstrom value "440-870Angstrom" 44 : Solar zenith angle "Solar_Zenith_Angle" The datas start in the line number 6.

See Also

Definition at line 82 of file otbAeronetFileReader.h.

Member Typedef Documentation

Definition at line 90 of file otbAeronetFileReader.h.

typedef std::vector<VectorString> otb::AeronetFileReader::MatrixString

Definition at line 155 of file otbAeronetFileReader.h.

Definition at line 89 of file otbAeronetFileReader.h.

Standards typedef

Definition at line 87 of file otbAeronetFileReader.h.

Definition at line 88 of file otbAeronetFileReader.h.

typedef std::vector<double> otb::AeronetFileReader::VectorDouble

Definition at line 154 of file otbAeronetFileReader.h.

typedef std::vector<std::string> otb::AeronetFileReader::VectorString

Standards privates typedefs

Definition at line 153 of file otbAeronetFileReader.h.

Constructor & Destructor Documentation

otb::AeronetFileReader::AeronetFileReader ( )


otb::AeronetFileReader::~AeronetFileReader ( )


Member Function Documentation

virtual::itk::LightObject::Pointer otb::AeronetFileReader::CreateAnother ( void  ) const

Reimplemented from itk::Object.

void otb::AeronetFileReader::GenerateData ( )

Main computation method

Reimplemented from itk::ProcessObject.

virtual int otb::AeronetFileReader::GetDay ( )

Set/Get the day value

virtual double otb::AeronetFileReader::GetEpsilon ( )

Set/Get the epsilon for the time (tolerance for one hour)

virtual const char* otb::AeronetFileReader::GetFileName ( ) const

Get the filename

virtual int otb::AeronetFileReader::GetHour ( )

Set/Get the hour value

virtual int otb::AeronetFileReader::GetMinute ( )

Set/Get the minute value

virtual int otb::AeronetFileReader::GetMonth ( )

Set/Get the month value

virtual const char* otb::AeronetFileReader::GetNameOfClass ( ) const

Runtime type information

Reimplemented from itk::ProcessObject.

virtual AeronetData* otb::AeronetFileReader::GetOutput ( void  )

Overriding of the GetOutput() method

void otb::AeronetFileReader::GetStatistics ( const VectorDouble vec,
double &  mean,
double &  stddev 
) const

Compute statistics method (mean and stddev)

virtual int otb::AeronetFileReader::GetYear ( )

Set/Get the year value

static Pointer otb::AeronetFileReader::New ( )

Creation through the object factory

VectorString otb::AeronetFileReader::ParseLine ( const std::string &  line) const

Parse the string and return a list of strings which separated by ',' char

void otb::AeronetFileReader::ParseValidLine ( const double &  ref_date,
const VectorString line,
const double &  epsilon,
VectorDouble water,
VectorDouble angst,
VectorDouble tau_day,
VectorDouble solarZenithAngle 
) const

Parse valid line method

void otb::AeronetFileReader::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const

PrintSelf method

Reimplemented from itk::ProcessObject.

virtual void otb::AeronetFileReader::SetDay ( int  _arg)

Set/Get the day value

virtual void otb::AeronetFileReader::SetEpsilon ( double  _arg)

Set/Get the epsilon for the time (tolerance for one hour)

virtual void otb::AeronetFileReader::SetFileName ( const char *  _arg)

Set the filename

virtual void otb::AeronetFileReader::SetHour ( int  _arg)

Set/Get the hour value

virtual void otb::AeronetFileReader::SetMinute ( int  _arg)

Set/Get the minute value

virtual void otb::AeronetFileReader::SetMonth ( int  _arg)

Set/Get the month value

virtual void otb::AeronetFileReader::SetYear ( int  _arg)

Set/Get the year value

Member Data Documentation

int otb::AeronetFileReader::m_Day

Day value

Definition at line 180 of file otbAeronetFileReader.h.

double otb::AeronetFileReader::m_Epsilon

Epsilon to select time

Definition at line 195 of file otbAeronetFileReader.h.

std::string otb::AeronetFileReader::m_FileName

File name

Definition at line 177 of file otbAeronetFileReader.h.

int otb::AeronetFileReader::m_Hour

Hour value

Definition at line 189 of file otbAeronetFileReader.h.

int otb::AeronetFileReader::m_Minute

Minute value

Definition at line 192 of file otbAeronetFileReader.h.

int otb::AeronetFileReader::m_Month

Month value

Definition at line 183 of file otbAeronetFileReader.h.

int otb::AeronetFileReader::m_Year

Year value

Definition at line 186 of file otbAeronetFileReader.h.

The documentation for this class was generated from the following file: