WXP C++ Library Version 6.74.9
|
This class reads in and parses upper air data from a converted file. More...
#include "../include/UpaFile.h"
Public Types | |
enum | Type { UNK , WXP , NETCDF , UNISYS } |
Public Member Functions | |
UpaFile (const char *filename) | |
UpaFile (const char *filename, int access, int type) | |
int | open (const char *filename, int access, int type) |
int | open (const char *filename) |
int | getDate (Date &rdate) |
int | setDate (Date &rdate) |
bool | isOpen () |
int | rewind () |
int | close () |
int | read (UpaRawinData &data) |
int | readId (String &rid) |
Date | getDate () |
const char * | getDatestr () |
int | write (UpaRawinData &data) |
Static Public Member Functions | |
static int | checkType (const char *filename) |
This class reads in and parses upper air data from a converted file.
int UpaFile::getDate | ( | Date & | rdate | ) |
Gets the date of the file
rdate | Date class to put date information |
References WXP::UpaWxpFile::getDate().
Referenced by WXP::UpaRaw::compute(), WXP::ProfPlot::draw(), WXP::UpaPlot::draw(), WXP::UpaXSectCont::draw(), and WXP::UpaXSectPlot::draw().
int UpaFile::read | ( | UpaRawinData & | data | ) |
This function reads a upper air report
data | Output station report |
Referenced by WXP::UpaRaw::compute(), WXP::HodoPlot::draw(), WXP::ProfPlot::draw(), WXP::SoundPlot::draw(), WXP::UpaPlot::draw(), WXP::UpaXSectCont::draw(), and WXP::UpaXSectPlot::draw().
int UpaFile::readId | ( | String & | rid | ) |
This function reads just the upper air report identifier
data | Output station report |
int UpaFile::setDate | ( | Date & | rdate | ) |
int UpaFile::write | ( | UpaRawinData & | data | ) |
This function writes a upper air report
data | Station report to write |
Referenced by WXP::UpaDecode::decode().