WXP C++ Library
Version 6.74.9
Loading...
Searching...
No Matches
include
MosRaw.h
1
#ifndef _WINC_MOSRAW
2
#define _WINC_MOSRAW
3
4
#include <WXP/CityHash.h>
5
#include <WXP/Date.h>
6
#include <WXP/Datum.h>
7
#include <WXP/Domain.h>
8
#include <WXP/Filename.h>
9
#include <WXP/Raw.h>
10
#include <WXP/MosData.h>
11
#include <WXP/StatPrior.h>
12
#include <WXP/StrLib.h>
13
#include <WXP/String.h>
14
15
namespace
WXP
{
16
class
MosRaw
{
17
Filename
filename;
18
String
variable;
19
String
var_file;
20
char
model[20];
21
String
time;
22
char
stat_prior[20];
23
Domain
domain;
24
StatPrior
prior;
25
CityHash
hash;
26
27
public
:
28
MosRaw
();
29
MosRaw
(
const
char
*param );
30
int
init();
31
int
setParam(
const
char
*str );
32
int
setPath(
const
char
*path );
33
int
setFile();
34
int
setInput
(
const
char
*str );
35
int
setModel
(
const
char
*str );
36
int
setNameConv
(
const
char
*name );
37
int
setHour(
const
char
*str );
38
int
setForeTime
(
const
char
*fore );
39
int
setFilename();
40
int
setFilename(
Date
&date );
41
int
setFilename(
const
char
*str );
42
int
setFilename(
Date
&date,
const
char
*param );
43
inline
int
setStatPrior(
const
char
*str ){
44
StrLib::copy
( stat_prior, 20, str );
return
1; };
45
int
setVariable
(
const
char
*str );
46
int
getDate
(
Date
&date );
47
int
setDomain(
Domain
&rdomain );
48
int
setVarFile(
const
char
*file );
49
inline
int
getDomain(
Domain
&rdomain ){ rdomain = domain;
return
1; };
50
int
createHash();
51
int
setPrior(
Domain
&domain );
52
int
getInfo(
MosData
&mosdata,
Datum
&datum );
53
int
compute
(
Raw
&data );
54
int
print();
55
56
static
int
updateSpec(
VarSpec
&vs,
ForeTime
&f );
57
};
58
}
59
#endif
WXP::CityHash
This class sets up a hash table for city database information.
Definition
CityHash.h:9
WXP::Date
This class stores date and time information.
Definition
Date.h:8
WXP::Datum
This class stores raw point data.
Definition
Datum.h:7
WXP::Domain
This class stores and manipulates domain data.
Definition
Domain.h:19
WXP::Filename
This class creates filenames.
Definition
Filename.h:11
WXP::ForeTime
This class defines forecast time parameters.
Definition
ForeTime.h:9
WXP::MosData
This class stores MOS data.
Definition
MosData.h:9
WXP::MosRaw
This class puts MOS data into a Data class for further processing.
Definition
MosRaw.h:16
WXP::MosRaw::setModel
int setModel(const char *str)
Definition
MosRaw.cc:97
WXP::MosRaw::setInput
int setInput(const char *str)
Definition
MosRaw.cc:89
WXP::MosRaw::setNameConv
int setNameConv(const char *name)
Definition
MosRaw.cc:106
WXP::MosRaw::setForeTime
int setForeTime(const char *fore)
Definition
MosRaw.cc:176
WXP::MosRaw::setVariable
int setVariable(const char *str)
Definition
MosRaw.cc:354
WXP::MosRaw::compute
int compute(Raw &data)
Definition
MosRaw.cc:245
WXP::MosRaw::getDate
int getDate(Date &date)
Definition
MosRaw.cc:140
WXP::Raw
This class replicates Data.
Definition
Raw.h:7
WXP::StatPrior
This class defines station priority values.
Definition
StatPrior.h:5
WXP::StrLib::copy
static int copy(char *s1, int len1, const char s2)
Definition
StrLib.cc:506
WXP::String
This is a variable length string class.
Definition
String.h:5
WXP::VarSpec
This class specifies variable information.
Definition
VarSpec.h:13
WXP
All WXP classes fall under the WXP namespace.
Definition
Angle.h:4
Generated on Sun Jul 28 2024 18:05:35 for WXP C++ Library by
1.9.7