Public Member Functions | |
WarningScorer (const std::string &outputDir, const std::string &outputLBName, bool realtime, const std::string &top, const std::string &bot, const std::string &fields) | |
Algorithm constructor, called from w2scorewarn_main with the command-line options passed in. | |
void | processWarning (const code::DataTable &data) |
void | processReport (const code::DataTable &data) |
void | processCluster (const code::DataTable &data) |
void | computeSkill () |
bool | inBounds (const code::Location &loc) |
code::SmartPtr< code::DataRow > | getNearestCluster (float lat, float lon, const code::Time &t) |
void | update (const Report &r, const Warning &w, const code::DataRow *cluster) |
w2img::WarningScorer::WarningScorer | ( | const std::string & | outputDir, | |
const std::string & | outputLBName, | |||
bool | realtime, | |||
const std::string & | top, | |||
const std::string & | bot, | |||
const std::string & | fields | |||
) |
Algorithm constructor, called from w2scorewarn_main with the command-line options passed in.
void w2img::WarningScorer::computeSkill | ( | ) |
code::SmartPtr< code::DataRow > w2img::WarningScorer::getNearestCluster | ( | float | lat, | |
float | lon, | |||
const code::Time & | t | |||
) |
bool w2img::WarningScorer::inBounds | ( | const code::Location & | loc | ) |
void w2img::WarningScorer::processCluster | ( | const code::DataTable & | data | ) |
void w2img::WarningScorer::processReport | ( | const code::DataTable & | data | ) |
void w2img::WarningScorer::processWarning | ( | const code::DataTable & | data | ) |
void w2img::WarningScorer::update | ( | const Report & | r, | |
const Warning & | w, | |||
const code::DataRow * | cluster | |||
) |