WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
WXP::MdrData Class Reference

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

Detailed Description

This class manages MDR (Manually Digitized Radar Messages) data.

Author
Dan Vietor

Constructor & Destructor Documentation

◆ MdrData()

MdrData::MdrData ( )

Constructor

References init().

Member Function Documentation

◆ getRegLoc()

int MdrData::getRegLoc ( int ind,
EarthPoint & ept )

Gets the precip region location by averaging the points of the polygon

Parameters
indThe region number
Return values
eptThe 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().

◆ getTopsLoc()

int MdrData::getTopsLoc ( int ind,
EarthPoint & ept )

Gets the storm tops location

Parameters
indThe tops index
Return values
eptThe location

References WXP::EarthPoint::init(), WXP::Convert::NMtoKM(), and WXP::Domain::offsetLatLon().

◆ init()

int MdrData::init ( )

Initializes the object

References WXP::Const::MISS.

Referenced by MdrData().

◆ print()

int MdrData::print ( )

Prints the object data

References WXP::DateTool::createLabel(), and WXP::String::get().

Referenced by WXP::MdrPlot::draw(), and WXP::MdrHash::print().

◆ setLoc()

int MdrData::setLoc ( float rlat,
float rlon )

Sets the location of the radar site

Parameters
rlatThe latitude
rlonThe longitude

Referenced by WXP::MdrImage::readFile().


The documentation for this class was generated from the following files: