WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | Friends | List of all members
WXP::UpaData Class Reference

This class stores upper air data. More...

#include "../include/UpaData.h"

Public Member Functions

 UpaData ()
 
int init ()
 
int print ()
 
int addLevel (UpaLevel &level)
 
int delLevel (int ind)
 
int updateLevel (int ind, UpaLevel &level)
 
int setNum (int val)
 
bool isSfc ()
 
bool isLevelMandatory (int ind)
 
int sortPres ()
 
int sortHeight ()
 
int calcHeight ()
 
int calcPres ()
 
int interpTemps ()
 
int interpWinds ()
 
int interp (int coord, float val, UpaLevel &level)
 
int interp (VCoord coord, UpaLevel &level)
 
int setType (int rtype)
 
int getType ()
 
int setId (const char *rid)
 
const char * getId ()
 
int setArea (const char *rarea)
 
const char * getGenName ()
 
int setGenName (const char *str)
 
int setFhour (int val)
 
int getFhour ()
 
const char * getArea ()
 
int setDate (Date &rdate)
 
Date getDate ()
 
int getDate (Date &rdate)
 
int setWmo (const char *rwmo)
 
const char * getWmo ()
 
int setLoc (float rlat, float rlon)
 
float getLat ()
 
float getLon ()
 
int setElev (float relev)
 
float getElev ()
 
int setSfc (int ind)
 
int getSfc ()
 
int setMaxWnd (int ind)
 
int getMaxWnd ()
 
int setTrop (int ind)
 
int getTrop ()
 
int getSfc (UpaLevel &lev)
 
float getSfcPres ()
 
int setSfcHght (float val)
 
float getSfcHght ()
 
int getTrop (UpaLevel &lev)
 
float getTropPres ()
 
int getMaxWnd (UpaLevel &lev)
 
float getMaxWndPres ()
 
int getNum ()
 
UpaLevel getLevel (int level)
 
int setType (int level, int val)
 
int getType (int level)
 
int setPres (int level, float val)
 
float getPres (int level)
 
int setHght (int level, float val)
 
float getHght (int level)
 
int setTemp (int level, float val)
 
float getTemp (int level)
 
float getTempK (int level)
 
int setDewp (int level, float val)
 
float getDewp (int level)
 
float getDewpK (int level)
 
int setSpd (int level, float val)
 
float getSpd (int level)
 
int setDir (int level, float val)
 
float getDir (int level)
 
bool validPres (int level)
 
bool validHght (int level)
 
bool validTemp (int level)
 
bool validDewp (int level)
 
bool validDir (int level)
 
bool validSpd (int level)
 

Public Attributes

UpaLevel lev [MAXLEV]
 
int num
 
int sfc
 
int maxwnd
 
int trop
 

Static Public Attributes

static const int MAXLEV = 300
 

Friends

class UpaDataTool
 

Detailed Description

This class stores upper air data.

Author
Dan Vietor

Constructor & Destructor Documentation

◆ UpaData()

UpaData::UpaData ( )

Constructor

References init().

Member Function Documentation

◆ init()

int UpaData::init ( )

Initializes the class

References WXP::Date::init(), and WXP::Const::MISS.

Referenced by WXP::UpaRaw::compute(), WXP::UpaPlot::draw(), and UpaData().


The documentation for this class was generated from the following files: