WXP C++ Library Version 6.74.9
|
This class does standard computations on upper air data. More...
#include "../include/UpaCalc.h"
Static Public Member Functions | |
static float | calc (UpaLevel &level, const char *var) |
static const char * | getUnits (const char *var) |
static int | thickTop (VCoord &bottom, float thick, VCoord &top) |
static VCoord | thickTop (VCoord &bottom, float thick) |
static int | thickBottom (VCoord &top, float thick, VCoord &bottom) |
static VCoord | thickBottom (VCoord &top, float thick) |
static int | parcelMean (UpaData &data, VCoord &bottom, VCoord &top, ParcelMeanData &pmean) |
static ParcelMeanData | parcelMean (UpaData &data, VCoord &bottom, VCoord &top) |
static int | meanWind (UpaData &data, VCoord &bottom, VCoord &top, Wind &wind) |
static Wind | meanWind (UpaData &data, VCoord &bottom, VCoord &top) |
static float | meanValue (UpaData &data, const char *type, VCoord &bottom, VCoord &top) |
static int | ccl (UpaData &data, VCoord &bottom, float thick, CclData &ccl) |
static CclData | ccl (UpaData &data, VCoord &bottom, float thick) |
static float | thickness (UpaData &data, VCoord &bottom, VCoord &top) |
static float | lapseRate (UpaData &data, VCoord &bottom, VCoord &top) |
static float | thetaLapseRate (UpaData &data, VCoord &bottom, VCoord &top) |
static float | thetaPresLapseRate (UpaData &data, VCoord &bottom, VCoord &top) |
static float | staticStability (UpaData &data, VCoord &level) |
static float | precipWater (UpaData &data) |
static float | freezingLevel (UpaData &data) |
static float | wetBulbZero (UpaData &data) |
static float | maxTemperature (UpaData &data, VCoord &bottom, float thick) |
static float | energyCalc (UpaLevel &par1, UpaLevel &par2, UpaLevel &env1, UpaLevel &env2) |
static float | capStrength (UpaData &data, VCoord &bottom, float thick) |
static float | liftedIndex (UpaData &data, VCoord &bottom, float thick, VCoord &top) |
static float | totalTotals (UpaData &data) |
static float | verticalTotals (UpaData &data) |
static float | crossTotals (UpaData &data) |
static float | kIndex (UpaData &data) |
static float | sweatIndex (UpaData &data) |
static float | energyIndex (UpaData &data) |
static int | thetaEIndex (UpaData &data, ThetaEData &thetae) |
static ThetaEData | thetaEIndex (UpaData &data) |
static int | helicity (UpaData &data, VCoord &bottom, VCoord &top, Wind &storm, HelicityData &hel) |
static HelicityData | helicity (UpaData &data, VCoord &bottom, VCoord &top, Wind &storm) |
static int | shearLayer (UpaData &data, VCoord &bottom, VCoord &top, ShearData &shear) |
static ShearData | shearLayer (UpaData &data, VCoord &bottom, VCoord &top) |
static int | bulkRichardson (UpaData &data, VCoord &bottom, float cape, BrnData &brn) |
static BrnData | bulkRichardson (UpaData &data, VCoord &bottom, float cape) |
static float | energyHelicity (UpaData &data, VCoord &bottom, Wind &storm, float cape) |
This class does standard computations on upper air data.
|
static |
Computes a varialbe based on data from a level
level | The level data |
var | The variable to compute |
References WXP::Convert::CtoK(), WXP::UpaLevel::dir, WXP::Const::DRC, WXP::Calc::equivPotTemp(), WXP::UpaLevel::h, WXP::StrLib::iequal(), WXP::Convert::KTtoMPS(), WXP::Const::MISS, WXP::Calc::mixRatio(), WXP::UpaLevel::p, WXP::Calc::potTemp(), WXP::Calc::relHum(), WXP::UpaLevel::spd, WXP::Calc::specHum(), WXP::UpaLevel::t, WXP::UpaLevel::td, WXP::Calc::vaporPres(), WXP::Calc::virtPotTemp(), and WXP::Calc::virtTemp().
Referenced by WXP::ProfPlot::draw(), WXP::UpaXSectCont::draw(), WXP::UpaXSectPlot::draw(), and meanValue().
|
static |
Gets the units for a computed variable
var | The variable |
References WXP::StrLib::iequal().
Referenced by WXP::ProfPlot::draw(), WXP::UpaXSectCont::draw(), and WXP::UpaXSectPlot::draw().
|
static |
Computes the mean value of a variable betwen two layers
data | The sounding data |
type | The type of parameter to compute |
bottom | The bottom level |
top | The top level |
References calc(), WXP::VCoord::equal(), WXP::VCoord::getVal(), WXP::Const::MISS, WXP::Wxp::outDebug(), WXP::UpaLevel::p, WXP::UpaLevel::t, and WXP::UpaLevel::td.
Referenced by WXP::UpaDataTool::compute().
Finds the value of the bottom of a layer given the top and thickness
top | The top level |
thick | The thickness |
References thickBottom().
Finds the value of the bottom of a layer given the top and thickness
top | The top level |
thick | The thickness |
bottom | The computed bottom level |
References WXP::VCoord::getType(), WXP::VCoord::getVal(), WXP::VCoord::HEIGHT, WXP::VCoord::init(), WXP::Const::MISS, WXP::VCoord::POT, WXP::VCoord::PRES, WXP::VCoord::setType(), and WXP::VCoord::setVal().
Referenced by thickBottom().
Finds the value of the top of a layer given the bottom and thickness
bottom | The bottom level |
thick | The thickness |
References thickTop().
Finds the value of the top of a layer given the bottom and thickness
bottom | The bottom level |
thick | The thickness |
top | The computed top level |
References WXP::VCoord::getType(), WXP::VCoord::getVal(), WXP::VCoord::HEIGHT, WXP::VCoord::init(), WXP::Const::MISS, WXP::VCoord::POT, WXP::VCoord::PRES, WXP::VCoord::setType(), and WXP::VCoord::setVal().
Referenced by WXP::ParcelParams::set(), and thickTop().