w2cc::CloudCoverWriter Class Reference

Inheritance diagram for w2cc::CloudCoverWriter:

w2cc::CloudCover List of all members.

Public Member Functions

 CloudCoverWriter (const std::string &outputDir, const std::string &lbName, const CloudCover::TemplateOutputGrid &gridDim, const code::TimeInterval &everySoOften, bool writeIntermediates, bool isPlayback)
virtual void onChange ()
void write ()
 Writes the grid as of now; useful to force a write even if no new inputs have arrived.
virtual ~CloudCoverWriter ()
void useAdvector (code::SmartPtr< w2kmeans::MotionAdvector< code::LatLonGrid > > advector)
 If a MotionAdvector is set (make sure to link it to a MotionEstimateSupplier of some sort), the advector will be used to advect the inputs to the desired grid time.
void setMaximumLagTimeAllowed (int secs)
 How far apart can the model and IR be? By default, this is 2 hours.
void setIRData (const code::LatLonGrid &llgrid)
void setSurfaceData (const code::LatLonGrid &llgrid)
std::vector< code::LatLonGrid > computeCloudCover ()
 The first component of this vector will be the cloud-cover.
std::vector< code::LatLonGrid > computeCloudCover (const code::Time &t)
 The first component of this vector will be the cloud-cover.
code::SmartPtr< code::LatLonGrid > getCloudCover () const
 Return the last output grid.

Protected Member Functions

const code::Time & getLatestTime () const

Constructor & Destructor Documentation

w2cc::CloudCoverWriter::CloudCoverWriter ( const std::string &  outputDir,
const std::string &  lbName,
const CloudCover::TemplateOutputGrid gridDim,
const code::TimeInterval &  everySoOften,
bool  writeIntermediates,
bool  isPlayback 
)

virtual w2cc::CloudCoverWriter::~CloudCoverWriter (  )  [virtual]


Member Function Documentation

std::vector<code::LatLonGrid> w2cc::CloudCover::computeCloudCover ( const code::Time &  t  )  [inherited]

The first component of this vector will be the cloud-cover.

The cloud cover will be computed as of the time specified. If the intermediates flag is turned on, other products will also be provided.

std::vector<code::LatLonGrid> w2cc::CloudCover::computeCloudCover (  )  [inherited]

The first component of this vector will be the cloud-cover.

The cloud cover will be computed as of the last input. If the intermediates flag is turned on, other products will also be provided.

code::SmartPtr< code::LatLonGrid > w2cc::CloudCover::getCloudCover (  )  const [inline, inherited]

Return the last output grid.

Will be an invalid pointer if the last time "computeCloudCover" was called, no product was created.

const code::Time& w2cc::CloudCover::getLatestTime (  )  const [inline, protected, inherited]

virtual void w2cc::CloudCoverWriter::onChange (  )  [virtual]

Reimplemented from w2cc::CloudCover.

void w2cc::CloudCover::setIRData ( const code::LatLonGrid &  llgrid  )  [inherited]

void w2cc::CloudCover::setMaximumLagTimeAllowed ( int  secs  )  [inline, inherited]

How far apart can the model and IR be? By default, this is 2 hours.

void w2cc::CloudCover::setSurfaceData ( const code::LatLonGrid &  llgrid  )  [inherited]

void w2cc::CloudCover::useAdvector ( code::SmartPtr< w2kmeans::MotionAdvector< code::LatLonGrid > >  advector  )  [inline, inherited]

If a MotionAdvector is set (make sure to link it to a MotionEstimateSupplier of some sort), the advector will be used to advect the inputs to the desired grid time.

void w2cc::CloudCoverWriter::write (  ) 

Writes the grid as of now; useful to force a write even if no new inputs have arrived.


Generated on Fri May 4 13:40:23 2012 for WDSS-IIw2algs by  doxygen 1.4.7