6#include <WXP/UpaLevel.h>
25 static const int MAXLEV = 300;
38 int delLevel(
int ind );
39 int updateLevel(
int ind,
UpaLevel &level );
40 int setNum(
int val );
42 bool isLevelMandatory(
int ind );
49 int interp(
int coord,
float val,
UpaLevel &level );
52 inline int setType(
int rtype ){ type = rtype;
return 1; };
53 inline int getType(){
return type; };
54 int setId(
const char *rid );
55 inline const char *getId(){
return id; };
56 int setArea(
const char *rarea );
57 inline const char *getGenName(){
return gen_name; };
58 int setGenName(
const char *str );
59 inline int setFhour(
int val ){ fhour = val;
return 1; };
60 inline int getFhour(){
return fhour; };
61 inline const char *getArea(){
return area; };
62 inline int setDate(
Date &rdate ){ date = rdate;
return 1; };
63 inline Date getDate(){
return date; };
64 inline int getDate(
Date &rdate ){ rdate = date;
return 1; };
65 inline int setWmo(
const char *rwmo ){
StrLib::copy( wmo, 6, rwmo );
return 1; };
66 inline const char *getWmo(){
return wmo; };
67 inline int setLoc(
float rlat,
float rlon ){ lat = rlat; lon = rlon;
return 1; };
68 inline float getLat(){
return lat; };
69 inline float getLon(){
return lon; };
70 int setElev(
float relev );
71 inline float getElev(){
return elev; };
73 inline int setSfc(
int ind ){ sfc = ind;
return 1; };
74 inline int getSfc(){
return sfc; };
75 inline int setMaxWnd(
int ind ){ maxwnd = ind;
return 1; };
76 inline int getMaxWnd(){
return maxwnd; };
77 inline int setTrop(
int ind ){ trop = ind;
return 1; };
78 inline int getTrop(){
return trop; };
82 int setSfcHght(
float val );
87 float getMaxWndPres();
89 inline int getNum(){
return num; };
91 int setType(
int level,
int val );
92 int getType(
int level );
93 int setPres(
int level,
float val );
94 float getPres(
int level );
95 int setHght(
int level,
float val );
96 float getHght(
int level );
97 int setTemp(
int level,
float val );
98 float getTemp(
int level );
99 float getTempK(
int level );
100 int setDewp(
int level,
float val );
101 float getDewp(
int level );
102 float getDewpK(
int level );
103 int setSpd(
int level,
float val );
104 float getSpd(
int level );
105 int setDir(
int level,
float val );
106 float getDir(
int level );
107 bool validPres(
int level );
108 bool validHght(
int level );
109 bool validTemp(
int level );
110 bool validDewp(
int level );
111 bool validDir(
int level );
112 bool validSpd(
int level );
This class stores date and time information.
Definition Date.h:8
static int copy(char *s1, int len1, const char s2)
Definition StrLib.cc:506
This class stores upper air data.
Definition UpaData.h:13
int init()
Definition UpaData.cc:32
UpaData()
Definition UpaData.cc:25
This structure defines a vertical coordinate (type,val)
Definition VCoord.h:5
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