Struct sounding_base::sounding::Sounding
[−]
[src]
pub struct Sounding { pub num: OptionVal<i32>, pub valid_time: Option<NaiveDateTime>, pub lead_time: OptionVal<i32>, pub lat: OptionVal<f64>, pub lon: OptionVal<f64>, pub elevation: OptionVal<f64>, pub show: OptionVal<f64>, pub li: OptionVal<f64>, pub swet: OptionVal<f64>, pub kinx: OptionVal<f64>, pub lclp: OptionVal<f64>, pub pwat: OptionVal<f64>, pub totl: OptionVal<f64>, pub cape: OptionVal<f64>, pub lclt: OptionVal<f64>, pub cins: OptionVal<f64>, pub eqlv: OptionVal<f64>, pub lfc: OptionVal<f64>, pub brch: OptionVal<f64>, pub hain: OptionVal<i32>, pub pressure: Vec<OptionVal<f64>>, pub temperature: Vec<OptionVal<f64>>, pub wet_bulb: Vec<OptionVal<f64>>, pub dew_point: Vec<OptionVal<f64>>, pub theta_e: Vec<OptionVal<f64>>, pub direction: Vec<OptionVal<f64>>, pub speed: Vec<OptionVal<f64>>, pub omega: Vec<OptionVal<f64>>, pub height: Vec<OptionVal<f64>>, pub cloud_fraction: Vec<OptionVal<f64>>, pub mslp: OptionVal<f64>, pub station_pres: OptionVal<f64>, pub low_cloud: OptionVal<f64>, pub mid_cloud: OptionVal<f64>, pub hi_cloud: OptionVal<f64>, pub uwind: OptionVal<f64>, pub vwind: OptionVal<f64>, }
All the variables stored in the sounding.
The upper air profile variables are stored in parallel vectors. If a profile lacks a certain variable, e.g. cloud fraction, that whole vector has length 0 instead of being full of missing values.
Fields
num: OptionVal<i32>
station number, USAF number, eg 727730
valid_time: Option<NaiveDateTime>
Valid time of sounding
lead_time: OptionVal<i32>
Difference in model initialization time and valid_time
in hours.
lat: OptionVal<f64>
Latitude of grid point used to make sounding.
lon: OptionVal<f64>
Longitude of grid point used to make sounding.
elevation: OptionVal<f64>
Elevation of grid point in meters, this is in model terrain, not necessarily the same as the real world.
show: OptionVal<f64>
Showalter index
li: OptionVal<f64>
Lifted index
swet: OptionVal<f64>
Severe Weather Threat Index
kinx: OptionVal<f64>
K-index
lclp: OptionVal<f64>
Lifting Condensation Level, or LCL (hPa), pressure vertical coordinate.
pwat: OptionVal<f64>
Precipitable Water (mm)
totl: OptionVal<f64>
Total-Totals
cape: OptionVal<f64>
Convective Available Potential Energy, or CAPE. (J/kg)
lclt: OptionVal<f64>
Temperature at LCL (K)
cins: OptionVal<f64>
Convective Inhibitive Energy, or CIN (J/kg)
eqlv: OptionVal<f64>
Equilibrium Level (hPa), pressure vertical coordinate
lfc: OptionVal<f64>
Level of Free Convection (hPa), pressure vertical coordinate
brch: OptionVal<f64>
Bulk Richardson Number
hain: OptionVal<i32>
Haines Index
pressure: Vec<OptionVal<f64>>
Pressure (hPa) profile
temperature: Vec<OptionVal<f64>>
Temperature (c) profile
wet_bulb: Vec<OptionVal<f64>>
Wet-bulb (c) profile
dew_point: Vec<OptionVal<f64>>
Dew Point (C) profile
theta_e: Vec<OptionVal<f64>>
Equivalent Potential Temperature (K) profile
direction: Vec<OptionVal<f64>>
Wind direction (degrees) profile
speed: Vec<OptionVal<f64>>
Wind speed (knots) profile
omega: Vec<OptionVal<f64>>
Vertical velocity (Pa/sec), pressure vertical coordinate
height: Vec<OptionVal<f64>>
Geopotential Height (m) profile
cloud_fraction: Vec<OptionVal<f64>>
Cloud coverage fraction in percent
mslp: OptionVal<f64>
Surface pressure reduce to mean sea level (hPa)
station_pres: OptionVal<f64>
Surface pressure (hPa)
low_cloud: OptionVal<f64>
Low cloud fraction
mid_cloud: OptionVal<f64>
Mid cloud fraction
hi_cloud: OptionVal<f64>
Hi cloud fraction
uwind: OptionVal<f64>
U - wind speed (m/s) (West -> East is positive)
vwind: OptionVal<f64>
V - wind speed (m/s) (South -> North is positive)
Methods
impl Sounding
[src]
fn validate(&self) -> Result<()>
[src]
Validates the sounding with some simple sanity checks. For instance, checks that pressure decreases with height.