Struct sounding_analysis::Parcel
source · Expand description
Variables defining a parcel as used in parcel analysis.
Fields§
§temperature: f64
Temperature in C
pressure: f64
Pressure in hPa
dew_point: f64
Dew point in C
Implementations§
source§impl Parcel
impl Parcel
sourcepub fn mixing_ratio(&self) -> Result<f64>
pub fn mixing_ratio(&self) -> Result<f64>
Get the mixing ratio of the parcel.AnalysisError
sourcepub fn virtual_temperature_c(&self) -> Result<f64>
pub fn virtual_temperature_c(&self) -> Result<f64>
Get the virtual temperature of the parcel
sourcepub fn from_datarow(dr: DataRow) -> Option<Self>
pub fn from_datarow(dr: DataRow) -> Option<Self>
Try to convert a DataRow
to a Parcel
.