4 #include <utl/ErrorLogger.h>
7 #include <det/Detector.h>
8 #include <utl/TimeStamp.h>
9 #include <utl/UTCDateTime.h>
11 #include <atm/AerosolDB.h>
12 #include <atm/AerosolZone.h>
20 using namespace ReadAerosolLLNS;
22 ReadAerosolLL::ReadAerosolLL(){}
24 ReadAerosolLL::~ReadAerosolLL(){}
29 INFO(
"ReadAerosolLL::Init()");
36 INFO(
"ReadAerosolLL::Run()");
38 Detector& det = Detector::GetInstance();
54 cout <<
"Got zone : " << zIt->GetName() << endl;
55 cout <<
" with coordinates : " << zIt->GetNorthing()/
m <<
"N, " << zIt->GetEasting()/
m <<
" E " << endl;
60 attIt != zIt->AttSlicesEnd() ; ++attIt) {
62 cout <<
" att length slice " << endl;
63 cout <<
" min, max height "
64 << attIt->GetMinHeight()/
m <<
" m, "
65 << attIt->GetMaxHeight()/
m <<
"m " << endl;
67 cout <<
" VAOD, max VAOD cor, min VAOD cor, max VAOD uncor, min VAOD uncor "
68 << attIt->GetVAOD() <<
" "
69 << attIt->GetMaxVAODCor() <<
" "
70 << attIt->GetMinVAODCor() <<
" "
71 << attIt->GetMaxVAODCor() <<
" "
72 << attIt->GetMaxVAODUncor() << endl;
74 cout <<
" 1/(att length), min cor, max cor, min uncor, max uncor "
75 << attIt->GetAttAlpha() / (1./
m) <<
" m^-1, "
76 << attIt->GetMinAttAlphaCor() / (1./
m) <<
" m^-1, "
77 << attIt->GetMaxAttAlphaCor() / (1./
m) <<
" m^-1 "
78 << attIt->GetMinAttAlphaUncor() / (1./
m) <<
" m^-1, "
79 << attIt->GetMaxAttAlphaUncor() / (1./
m) <<
" m^-1 " << endl;
93 INFO(
"ReadAerosolLL::Finish()");
ZoneIterator ZonesBegin() const
Beginning of the collection of valid Zones.
void Update(const utl::TimeStamp &time, const bool invData=true, const bool invComp=true, const bool forceRadio=false)
Update detector: deletes currently constructed stations and sets new time.
#define INFO(message)
Macro for logging informational messages.
void Init()
Initialise the registry.
const atm::Atmosphere & GetAtmosphere() const
boost::transform_iterator< InternalZoneFunctor, InternalZoneIterator, const AerosolZone & > ZoneIterator
ZoneIterator returns a pointer to an AerosolZone.
Class for loading and storing a collection of aerosol data.
Top of the hierarchy of the detector description interface.
boost::indirect_iterator< InternalAttSliceIterator, const AttSlice & > AttSliceIterator
AttSlice iterator returns a pointer to the attenuation data slice for this zone.
ResultFlag
Flag returned by module methods to the RunController.
ZoneIterator ZonesEnd() const
End of the collection of valid Zones.
const AerosolDB & GetAerosolDB() const
Low-level interface to portion of the database with aerosol information.