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

This decodes upper air data files. More...

#include "../include/UpaDecode.h"

Public Member Functions

 UpaDecode ()
 
int init ()
 
int setParam (const char *str)
 
int setInput (const char *conv)
 
int setOutput (const char *conv)
 
int setHour (const char *str)
 
int setDate (Date &rdate)
 
int openOutput ()
 
int decode (Date &date)
 
int decode (const char *filename)
 
int decode ()
 

Detailed Description

This decodes upper air data files.

Author
Dan Vietor

Constructor & Destructor Documentation

◆ UpaDecode()

UpaDecode::UpaDecode ( )

Constructor - initializes data

References init().

Member Function Documentation

◆ decode() [1/3]

int UpaDecode::decode ( )

◆ decode() [2/3]

int UpaDecode::decode ( const char *  filename)

◆ decode() [3/3]

int UpaDecode::decode ( Date date)

Decodes data based on date

Parameters
dateThe decoding date

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

◆ init()

int UpaDecode::init ( )

◆ setDate()

int UpaDecode::setDate ( Date rdate)

Sets the decode date

Parameters
rdateThe date

◆ setHour()

int UpaDecode::setHour ( const char *  str)

Sets the decoding hour (used with current setting)

Parameters
strThe decoding hour

References WXP::Filename::setFixDate().

Referenced by init().

◆ setInput()

int UpaDecode::setInput ( const char *  conv)

Sets the input file name convention

Parameters
convThe name convention

References WXP::Filename::setNameConv().

Referenced by init().

◆ setOutput()

int UpaDecode::setOutput ( const char *  conv)

Sets the output file name convention

Parameters
convThe name convention

References WXP::Filename::setNameConv().

Referenced by init().

◆ setParam()

int UpaDecode::setParam ( const char *  str)

Sets decoding parameters

Parameters
strThe parameters string

References WXP::Strings::equal(), WXP::Strings::getNum(), WXP::Strings::scanf(), and WXP::DateRange::set().

Referenced by init().


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