Inheritance diagram for w2cc::CloudCover:
Both these have to be lat-lon grids, but they can be different resolutions as long as they both cover the output domain.
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 |
w2cc::CloudCover::CloudCover | ( | const TemplateOutputGrid & | tmplate, | |
bool | withIntermediates | |||
) |
virtual w2cc::CloudCover::~CloudCover | ( | ) | [inline, virtual] |
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.