ParcelAscentAnalysis

Struct ParcelAscentAnalysis 

Source
pub struct ParcelAscentAnalysis { /* private fields */ }
Expand description

Parcel analysis, this is a way to package the analysis of a parcel.

These are done by converting the profiles to virtual temperature. It is assumed the reason for lifting the parcel and doing the analysis is related to bouyancy and some kind of convection or stability analysis.

Implementations§

Source§

impl ParcelAscentAnalysis

Source

pub fn cape(&self) -> Optioned<JpKg>

Get the CAPE.

Source

pub fn hail_cape(&self) -> Optioned<JpKg>

Get the CAPE in the hail growth zone.

Source

pub fn ncape(&self) -> Optioned<f64>

Get the normalized cape.

Source

pub fn lcl_height_agl(&self) -> Optioned<Meters>

Get the LCL height AGL.

Source

pub fn lcl_pressure(&self) -> Optioned<HectoPascal>

Get the LCL pressrue level.

Source

pub fn lcl_temperature(&self) -> Optioned<Celsius>

Get the temperature at the LCL.

Source

pub fn cin(&self) -> Optioned<JpKg>

Get the CIN.

Source

pub fn el_pressure(&self) -> Optioned<HectoPascal>

Get the pressure at the equilibrium level.

Source

pub fn el_height_asl(&self) -> Optioned<Meters>

Get the height ASL of the equilibrium level.

Source

pub fn el_temperature(&self) -> Optioned<Celsius>

Get the temperature at the equilibrium level.

Source

pub fn lfc_pressure(&self) -> Optioned<HectoPascal>

Get the pressure at the LFC.

Source

pub fn lfc_virt_temperature(&self) -> Optioned<Celsius>

Get the virtual temperature at the LFC.

Source

pub fn profile(&self) -> &ParcelProfile

Retrieve the parcel’s profile

Source

pub fn parcel(&self) -> &Parcel

Retrieve the original parcel.

Source

pub fn calculate_cape_speed(&self) -> Option<MetersPSec>

Calculate the parcel vertical speed at the equilibrium level. Note that this is an over estimate of updraft speed due to the effects of entrainment and water/ice loading.

Trait Implementations§

Source§

impl Clone for ParcelAscentAnalysis

Source§

fn clone(&self) -> ParcelAscentAnalysis

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for ParcelAscentAnalysis

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.