[][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 Copy for Parcel
[src]

impl Clone for Parcel
[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Parcel
[src]

Auto Trait Implementations

impl Send for Parcel

impl Sync for Parcel

Blanket Implementations

impl<T> From for T
[src]

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

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

type Owned = T

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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