w2cc::CloudCover Class Reference

Inheritance diagram for w2cc::CloudCover:

w2cc::CloudCoverWriter List of all members.

Detailed Description

Constructs a CloudCover field from a satellite IR field and a surface temperature field.

Both these have to be lat-lon grids, but they can be different resolutions as long as they both cover the output domain.

Author:
Lakshman
Version:
Id
w2cc_CloudCover.h,v 1.7 2009/06/02 20:17:56 lakshman Exp


Public Member Functions

 CloudCover (const TemplateOutputGrid &tmplate, bool withIntermediates)
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.
virtual void onChange ()
virtual ~CloudCover ()

Protected Member Functions

const code::Time & getLatestTime () const

Classes

class  TemplateOutputGrid


Constructor & Destructor Documentation

w2cc::CloudCover::CloudCover ( const TemplateOutputGrid tmplate,
bool  withIntermediates 
)

virtual w2cc::CloudCover::~CloudCover (  )  [inline, virtual]


Member Function Documentation

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

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 (  ) 

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]

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]

virtual void w2cc::CloudCover::onChange (  )  [inline, virtual]

Reimplemented in w2cc::CloudCoverWriter.

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

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

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

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

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

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.


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