|
WXP C++ Library Version 6.74.9
|
This class puts MOS data into a Data class for further processing. More...
#include "../include/MosRaw.h"
Public Member Functions | |
| MosRaw (const char *param) | |
| int | init () |
| int | setParam (const char *str) |
| int | setPath (const char *path) |
| int | setFile () |
| int | setInput (const char *str) |
| int | setModel (const char *str) |
| int | setNameConv (const char *name) |
| int | setHour (const char *str) |
| int | setForeTime (const char *fore) |
| int | setFilename () |
| int | setFilename (Date &date) |
| int | setFilename (const char *str) |
| int | setFilename (Date &date, const char *param) |
| int | setStatPrior (const char *str) |
| int | setVariable (const char *str) |
| int | getDate (Date &date) |
| int | setDomain (Domain &rdomain) |
| int | setVarFile (const char *file) |
| int | getDomain (Domain &rdomain) |
| int | createHash () |
| int | setPrior (Domain &domain) |
| int | getInfo (MosData &mosdata, Datum &datum) |
| int | compute (Raw &data) |
| int | print () |
Static Public Member Functions | |
| static int | updateSpec (VarSpec &vs, ForeTime &f) |
This class puts MOS data into a Data class for further processing.
| int MosRaw::compute | ( | Raw & | data | ) |
Extracts MOS data and puts it into a Raw class
| data | The raw data array |
References WXP::Domain::adjustDir(), WXP::MosDataTool::compute(), WXP::Const::DRC, WXP::StrLib::equal(), WXP::String::get(), WXP::Datum::getData(), WXP::MosFile::getDate(), WXP::MosData::getId(), WXP::Datum::getLoc(), WXP::MosFile::getModel(), WXP::Filename::getName(), WXP::MosDataTool::getUnits(), WXP::Datum::init(), WXP::Wxp::isDebug(), WXP::MosFile::isOpen(), WXP::Convert::KTtoMPS(), WXP::Const::MISS, WXP::MosFile::open(), WXP::Wxp::outMessage(), WXP::VarList::print(), WXP::MosFile::read(), WXP::Filename::setFile(), WXP::Data::setId(), WXP::MosFile::setModel(), WXP::VarSpec::toInfoLabel(), WXP::String::valid(), and WXP::StrLib::valid().
Referenced by WXP::MosGrid::compute().
| int MosRaw::getDate | ( | Date & | date | ) |
Gets the date information from the input file
| date | Date values |
References WXP::Filename::getDate().
Referenced by WXP::MosGrid::getDate().
| int MosRaw::setForeTime | ( | const char * | str | ) |
Sets the forecast time to be used.
| str | The forecast time |
References WXP::String::append(), and WXP::String::set().
| int MosRaw::setInput | ( | const char * | str | ) |
Sets the input file type
| str | The file type |
| int MosRaw::setModel | ( | const char * | str | ) |
| int MosRaw::setNameConv | ( | const char * | name | ) |
Sets the file name convention
| name | The name convention |
References WXP::Filename::setNameConv().
Referenced by WXP::MosGrid::setNameConv().
| int MosRaw::setVariable | ( | const char * | str | ) |
Sets the variable to be plotted
| str | Variable string |
References WXP::String::set().
Referenced by WXP::MosGrid::setVariable().