1#ifndef _WINC_UPARAWINDATA
2#define _WINC_UPARAWINDATA
5#include <WXP/EarthPoint.h>
7#include <WXP/UpaLevel.h>
12 static const int max_man = 25;
13 static const int max_sig = 250;
14 static const int max_wnd = 150;
40 int setType(
int rtype );
41 inline int getType(){
return type; };
42 int setDate(
Date rdate );
43 inline Date getDate(){
return date; };
45 int setId(
const char *rid );
46 int setId(
const char *rid,
const char*rwmo,
float rlat,
float rlon );
47 inline const char *getId(){
return id; };
48 int setArea(
const char *rarea );
49 inline const char *getArea(){
return area; };
50 inline int setWmo(
const char *rwmo ){
StrLib::copy( wmo, 6, rwmo );
return 1; };
51 inline const char *getWmo(){
return wmo; };
52 inline int setLat(
float rlat ){ lat = rlat;
return 1; };
53 inline int setLon(
float rlon ){ lon = rlon;
return 1; };
54 int setLoc(
float rlat,
float rlon );
55 int getLoc(
float &rlat,
float &rlon );
56 inline float getLat(){
return lat; };
57 inline float getLon(){
return lon; };
59 int setElev(
float relev );
60 inline float getElev(){
return elev; };
62 int setSfc(
int rsfc );
64 int setTrop(
int rtrop );
66 int setMaxWnd(
int rmaxwnd );
69 inline int getNumMan(){
return num_man; };
70 int setMan(
int ind,
UpaLevel rlevel );
72 float getManPr(
int i );
75 inline int getNumSig(){
return num_sig; };
76 int setSig(
int ind,
UpaLevel rlevel );
78 float getSigPr(
int i );
81 inline int getNumWnd(){
return num_wnd; };
82 int setWnd(
int ind,
UpaLevel rlevel );
84 float getWndHt(
int i );
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 sounding data by type (mandatory, significant, wind levels)
Definition UpaRawinData.h:10
UpaRawinData()
Definition UpaRawinData.cc:22
int init()
Definition UpaRawinData.cc:29
All WXP classes fall under the WXP namespace.
Definition Angle.h:4
This struct defines earth point values (lat, lon, elev)
Definition EarthPoint.h:5
This struct contains data for a specific upper air level.
Definition UpaLevel.h:5