[][src]Struct sounding_analysis::Parcel

pub struct Parcel {
    pub temperature: Celsius,
    pub pressure: HectoPascal,
    pub dew_point: Celsius,
}

Variables defining a parcel as used in parcel analysis.

Fields

temperature: Celsius

Temperature in C

pressure: HectoPascal

Pressure in hPa

dew_point: Celsius

Dew point in C

Methods

impl Parcel[src]

pub fn theta(&self) -> Kelvin[src]

Get the potential temperatures of the parcel

pub fn theta_e(&self) -> Result<Kelvin>[src]

Get the equivalent potential temperature of the parcel

pub fn mixing_ratio(&self) -> Result<f64>[src]

Get the mixing ratio of the parcel

pub fn virtual_temperature(&self) -> Result<Kelvin>[src]

Get the virtual temperature of the parcel

pub fn from_datarow(dr: DataRow) -> Option<Self>[src]

Try to convert a DataRow to a Parcel.

Trait Implementations

impl Clone for Parcel[src]

impl Copy for Parcel[src]

impl Debug for Parcel[src]

Auto Trait Implementations

impl RefUnwindSafe for Parcel

impl Send for Parcel

impl Sync for Parcel

impl Unpin for Parcel

impl UnwindSafe for Parcel

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.