sounding_analysis/sounding/
data_row.rs

1use metfor::{Celsius, HectoPascal, Kelvin, Knots, Meters, PaPS, WindSpdDir};
2use optional::Optioned;
3
4/// A copy of a row of the sounding data.
5#[derive(Clone, Default, Copy, Debug, PartialEq)]
6pub struct DataRow {
7    /// Pressure in hPa
8    pub pressure: Optioned<HectoPascal>,
9    /// Temperature in C
10    pub temperature: Optioned<Celsius>,
11    /// Wet bulb temperature in C
12    pub wet_bulb: Optioned<Celsius>,
13    /// Dew point in C
14    pub dew_point: Optioned<Celsius>,
15    /// Equivalent potential temperature in Kelvin
16    pub theta_e: Optioned<Kelvin>,
17    /// Wind
18    pub wind: Optioned<WindSpdDir<Knots>>,
19    /// Pressure vertical velocity in Pa/sec
20    pub pvv: Optioned<PaPS>,
21    /// Geopotential Height in meters
22    pub height: Optioned<Meters>,
23    /// Cloud fraction in percent
24    pub cloud_fraction: Optioned<f64>,
25}