Struct sounding_analysis::Analysis [−][src]
pub struct Analysis { /* fields omitted */ }
Convenient package for commonly requested analysis values.
All parcel related values are assumed to be for the 100hPa mixed layer at the surface.
Methods
impl Analysis
[src]
impl Analysis
pub fn new(snd: Sounding) -> Self
[src]
pub fn new(snd: Sounding) -> Self
Create a new Analysis
.
pub fn with_profile_index<T>(self, var: ProfileIndex, value: T) -> Self where
Option<f64>: From<T>,
[src]
pub fn with_profile_index<T>(self, var: ProfileIndex, value: T) -> Self where
Option<f64>: From<T>,
Set a value in the analysis
pub fn get_profile_index(&self, var: ProfileIndex) -> Option<f64>
[src]
pub fn get_profile_index(&self, var: ProfileIndex) -> Option<f64>
Method to retrieve value from analysis.
pub fn with_mixed_layer_parcel_analysis<T>(self, anal: T) -> Self where
Option<ParcelAnalysis>: From<T>,
[src]
pub fn with_mixed_layer_parcel_analysis<T>(self, anal: T) -> Self where
Option<ParcelAnalysis>: From<T>,
Set the mixed layer parcel analysis.
pub fn get_mixed_layer_parcel_analysis(&self) -> Option<&ParcelAnalysis>
[src]
pub fn get_mixed_layer_parcel_analysis(&self) -> Option<&ParcelAnalysis>
Get the mixed layer parcel analysis
pub fn with_surface_parcel_analysis<T>(self, anal: T) -> Self where
Option<ParcelAnalysis>: From<T>,
[src]
pub fn with_surface_parcel_analysis<T>(self, anal: T) -> Self where
Option<ParcelAnalysis>: From<T>,
Set the surface parcel analysis.
pub fn get_surface_parcel_analysis(&self) -> Option<&ParcelAnalysis>
[src]
pub fn get_surface_parcel_analysis(&self) -> Option<&ParcelAnalysis>
Get the surface parcel analysis
pub fn with_most_unstable_parcel_analysis<T>(self, anal: T) -> Self where
Option<ParcelAnalysis>: From<T>,
[src]
pub fn with_most_unstable_parcel_analysis<T>(self, anal: T) -> Self where
Option<ParcelAnalysis>: From<T>,
Set the most unstable parcel analysis.
pub fn get_most_unstable_parcel_analysis(&self) -> Option<&ParcelAnalysis>
[src]
pub fn get_most_unstable_parcel_analysis(&self) -> Option<&ParcelAnalysis>
Get the surface parcel analysis
pub fn get_downburst_profile(&self) -> Option<&ParcelProfile>
[src]
pub fn get_downburst_profile(&self) -> Option<&ParcelProfile>
Get the downburst profile
pub fn with_provider_analysis(
self,
provider_analysis: HashMap<&'static str, f64>
) -> Self
[src]
pub fn with_provider_analysis(
self,
provider_analysis: HashMap<&'static str, f64>
) -> Self
Set the provider analysis.
This is just a table of what ever values you want to store, it may be empty.
pub fn provider_analysis(&self) -> &HashMap<&'static str, f64>
[src]
pub fn provider_analysis(&self) -> &HashMap<&'static str, f64>
Get a reference to the provider analysis so you can query it.
pub fn provider_analysis_mut(&mut self) -> &mut HashMap<&'static str, f64>
[src]
pub fn provider_analysis_mut(&mut self) -> &mut HashMap<&'static str, f64>
Get a mutable reference to the provider analysis so you can modify it.
pub fn sounding(&self) -> &Sounding
[src]
pub fn sounding(&self) -> &Sounding
Get a reference to the sounding.
pub fn fill_in_missing_analysis(self) -> Self
[src]
pub fn fill_in_missing_analysis(self) -> Self
Analyze the sounding to get as much information as you can.
Trait Implementations
impl Debug for Analysis
[src]
impl Debug for Analysis
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for Analysis
[src]
impl Clone for Analysis