WXP C++ Library Version 6.74.9
|
This class manages MDR (Manually Digitized Radar Messages) data. More...
#include "../include/MdrData.h"
Public Types | |
enum | Status { NA , NE , OM , PR } |
Public Member Functions | |
MdrData () | |
int | init () |
const char * | getId () |
int | setLoc (float rlat, float rlon) |
Date | getDate () |
int | getStatus () |
int | getPrecipCover (int ind, int pind) |
const char * | getPrecipType (int ind, int pind) |
int | getPrecipIntensity (int ind, int pind) |
int | getNumPrecip (int ind) |
float | getLocDir (int ind, int pind) |
float | getLocRad (int ind, int pind) |
int | getNumLoc (int ind) |
int | getRegLoc (int ind, EarthPoint &ept) |
bool | validTops (int ind) |
float | getTopsDir (int ind) |
float | getTopsRad (int ind) |
float | getTopsHgt (int ind) |
int | getTopsLoc (int ind, EarthPoint &ept) |
char | getMoveType (int ind, int pind) |
float | getMoveDir (int ind, int pind) |
float | getMoveSpd (int ind, int pind) |
int | getNumMove (int ind) |
int | getNumReg () |
int | print () |
int | printEchoes () |
Friends | |
class | MdrFile |
class | MdrWxpFile |
class | MdrImage |
class | MdrPlot |
class | MdrDecode |
This class manages MDR (Manually Digitized Radar Messages) data.
MdrData::MdrData | ( | ) |
Constructor
References init().
int MdrData::getRegLoc | ( | int | ind, |
EarthPoint & | ept | ||
) |
Gets the precip region location by averaging the points of the polygon
ind | The region number |
ept | The output location (lat,lon) |
References WXP::EarthPoint::init(), WXP::EarthPoint::lat, WXP::EarthPoint::lon, WXP::Const::MISS, WXP::Convert::NMtoKM(), WXP::Domain::offsetLatLon(), and WXP::EarthPoint::set().
int MdrData::getTopsLoc | ( | int | ind, |
EarthPoint & | ept | ||
) |
Gets the storm tops location
ind | The tops index |
ept | The location |
References WXP::EarthPoint::init(), WXP::Convert::NMtoKM(), and WXP::Domain::offsetLatLon().
int MdrData::init | ( | ) |
Initializes the object
References WXP::Date::init(), WXP::MdrRegion::init(), and WXP::Const::MISS.
Referenced by MdrData().
int MdrData::print | ( | ) |
Prints the object data
References WXP::DateTool::createLabel(), WXP::String::get(), and WXP::MdrRegion::print().
Referenced by WXP::MdrPlot::draw(), and WXP::MdrHash::print().
int MdrData::setLoc | ( | float | rlat, |
float | rlon | ||
) |
Sets the location of the radar site
rlat | The latitude |
rlon | The longitude |
Referenced by WXP::MdrImage::readFile().