14 int set(
float rp,
float rh,
float rt,
float rtd,
float rdir,
float rspd );
16 inline int setPres(
float v ){
p = v;
return 1; }
20 inline int setHght(
float v ){
h = v;
return 1; }
24 inline int setTemp(
float v ){
t = v;
return 1; }
45 static const int MAN = 1;
46 static const int SIG = 2;
47 static const int WND = 3;
48 static const int SFC = 0x04;
49 static const int TROP = 0x10;
50 static const int MWND = 0x20;
51 static const int LCL = 0x40;
All WXP classes fall under the WXP namespace.
Definition Angle.h:4
This struct contains data for a specific upper air level.
Definition UpaLevel.h:5
int setTemp(float v)
Definition UpaLevel.h:24
int getType()
Definition UpaLevel.h:42
int setType(int v)
Definition UpaLevel.h:40
static const int MWND
Definition UpaLevel.h:50
float td
Definition UpaLevel.h:10
float dir
Definition UpaLevel.h:11
float getDewpt()
Definition UpaLevel.h:30
int set(float rp, float rh, float rt, float rtd, float rdir, float rspd)
Definition UpaLevel.cc:45
static bool isMandatory(float p)
Definition UpaLevel.cc:84
float spd
Definition UpaLevel.h:12
static const int SIG
Definition UpaLevel.h:46
float p
Definition UpaLevel.h:7
static const int TROP
Definition UpaLevel.h:49
UpaLevel()
Definition UpaLevel.cc:18
float getWSpd()
Definition UpaLevel.h:38
static const int MAN
Definition UpaLevel.h:45
float getPres()
Definition UpaLevel.h:18
int setHght(float v)
Definition UpaLevel.h:20
float getHght()
Definition UpaLevel.h:22
int type
Definition UpaLevel.h:6
float getTemp()
Definition UpaLevel.h:26
float getWDir()
Definition UpaLevel.h:34
int update(UpaLevel &level)
Definition UpaLevel.cc:60
int init()
Definition UpaLevel.cc:25
int print()
Definition UpaLevel.cc:74
int setWSpd(float v)
Definition UpaLevel.h:36
static const int SFC
Definition UpaLevel.h:48
static const int LCL
Definition UpaLevel.h:51
int setWDir(float v)
Definition UpaLevel.h:32
int setPres(float v)
Definition UpaLevel.h:16
static const int WND
Definition UpaLevel.h:47
float h
Definition UpaLevel.h:8
static int getMandatoryIndex(float p)
Definition UpaLevel.cc:93
static const int NONE
Definition UpaLevel.h:44
int setDewpt(float v)
Definition UpaLevel.h:28
float t
Definition UpaLevel.h:9