Store the obscuration of an FD pixel by a cloud in the field of view. More...
#include <CloudResult.h>
Public Member Functions | |
CloudResult () | |
CloudResult (const float coverage, const bool hasLidar, const bool isValid=true) | |
float | GetCoverage () const |
std::string | GetCoverageString () const |
bool | HaveLidar () const |
bool | IsValid () const |
Private Attributes | |
float | fCloudCoverage |
bool | fHaveLidar |
bool | fIsValid |
Store the obscuration of an FD pixel by a cloud in the field of view.
The main component of this class is an FD pixel coverage fraction given by the lidars and IR cloud cameras. Note that the cloud cameras give pixel coverage without any information of the cloud height, making it impossible to distinguish a low-altitude stratus cloud which distorts shower light from a a high-altitude cirrus cloud which affects very few showers. If the coverage from an IR camera is combined with the cloud height from the lidar, very high-altitude clouds are be disregarded when determining pixel coverage.
The "Coverage" property describes the fractional cloud coverage in a pixel, with or without lidar cloud height data. Cutting obscured pixels without lidar data should be considered a conservative cut since lidar data may result in readmission of a pixel that was tagged as obscured by the cloud cameras.
Definition at line 43 of file CloudResult.h.
CloudResult::CloudResult | ( | ) |
Definition at line 18 of file CloudResult.cc.
CloudResult::CloudResult | ( | const float | coverage, |
const bool | hasLidar, | ||
const bool | isValid = true |
||
) |
Definition at line 24 of file CloudResult.cc.
References fIsValid.
|
inline |
Definition at line 53 of file CloudResult.h.
References fCloudCoverage.
Referenced by otoa::FD2ADST::FillCloudCameraDataBrief().
std::string CloudResult::GetCoverageString | ( | ) | const |
Definition at line 35 of file CloudResult.cc.
References fCloudCoverage, HaveLidar(), and IsValid().
Referenced by atm::operator<<(), and ReadCloudHLNS::ReadCloudHL::Run().
|
inline |
Definition at line 52 of file CloudResult.h.
References fHaveLidar.
Referenced by GetCoverageString().
|
inline |
Definition at line 51 of file CloudResult.h.
References fIsValid.
Referenced by GetCoverageString().
|
private |
Definition at line 60 of file CloudResult.h.
Referenced by GetCoverage(), and GetCoverageString().
|
private |
Definition at line 59 of file CloudResult.h.
Referenced by HaveLidar().
|
private |
Definition at line 58 of file CloudResult.h.
Referenced by CloudResult(), and IsValid().