WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
Public Member Functions | List of all members
WXP::RcmDecode Class Reference

This decodes RCM radar data files. More...

#include "../include/RcmDecode.h"

Public Member Functions

 RcmDecode ()
 
int init ()
 
int setParam (const char *str)
 
int setInput (const char *conv)
 
int setOutput (const char *conv)
 
int setDate (Date &rdate)
 
int decode (Date &date)
 
int decode (const char *filename)
 
int filterOverlap (RcmData &data)
 
int setup ()
 
int decode ()
 

Detailed Description

This decodes RCM radar data files.

Author
Dan Vietor

Constructor & Destructor Documentation

◆ RcmDecode()

RcmDecode::RcmDecode ( )

Constructor - initializes data

Parameters
strThe file type

References init().

Member Function Documentation

◆ decode() [1/3]

int RcmDecode::decode ( )

◆ decode() [2/3]

int RcmDecode::decode ( const char *  filename)

◆ decode() [3/3]

int RcmDecode::decode ( Date date)

Decodes data based on date

Parameters
dateThe file date

References WXP::Filename::getName(), WXP::Wxp::outWarning(), and WXP::Filename::setDate().

◆ filterOverlap()

int RcmDecode::filterOverlap ( RcmData data)

Filters overlapping storm data. First it filters data within the report and then checks the data in the hash for overlap.

Parameters
dataThe RCM data

References WXP::Calc::dist(), WXP::Const::MISS, WXP::RcmHash::next(), WXP::Wxp::outDebug(), and WXP::EarthPoint::set().

Referenced by decode().

◆ init()

int RcmDecode::init ( )

Initializes data

References WXP::Const::MISS, setInput(), setOutput(), and setParam().

Referenced by RcmDecode().

◆ setDate()

int RcmDecode::setDate ( Date rdate)

Sets the date to decode

Parameters
rdateThe date

◆ setInput()

int RcmDecode::setInput ( const char *  conv)

Sets the input file name convention

Parameters
convThe name convention

References WXP::Filename::setNameConv().

Referenced by init().

◆ setOutput()

int RcmDecode::setOutput ( const char *  conv)

Sets the output file name convention

Parameters
convThe name convention

References WXP::Filename::setNameConv().

Referenced by init().

◆ setParam()

int RcmDecode::setParam ( const char *  str)

Sets parameters

Parameters
strString containing parameters

References WXP::Strings::equal(), WXP::Strings::getInt(), and WXP::Strings::getNum().

Referenced by init().

◆ setup()

int RcmDecode::setup ( )

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