#[non_exhaustive]pub enum DropReason {
NoData,
OutOfRange,
SamePressure,
NotAbove,
Thickness,
}Expand description
Why a row was left out of the profile.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
NoData
A value is missing: the pressure, height, temperature, humidity, or either half of the wind.
OutOfRange
A value is out of range: a pressure below 0.1 hPa or above 1,200 hPa, a temperature outside −150 to 80 °C, a height outside −1 to 60 km, a wind speed below zero or above 300 m/s, a relative humidity below zero, a direction outside 0° to 360°, or a height with no geometric height.
SamePressure
It is not the middle row of its run of rows that fit with the same pressure, or the run is at the ground’s pressure.
NotAbove
Its height is not above the last row kept, or its pressure not below it.
Thickness
It is not in the chain of rows that fit: its height above the row before is not the
thickness the two rows’ pressures and temperatures give (see THICKNESS_SHARE), or a
longer or closer chain passes it by. Its pressure, height or temperature is likely wrong;
but a good row beside bad ones that fit, within their allowances, can be passed by instead.
Trait Implementations§
Source§impl Clone for DropReason
impl Clone for DropReason
Source§fn clone(&self) -> DropReason
fn clone(&self) -> DropReason
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for DropReason
Source§impl Debug for DropReason
impl Debug for DropReason
Source§impl<'de> Deserialize<'de> for DropReason
impl<'de> Deserialize<'de> for DropReason
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for DropReason
Source§impl PartialEq for DropReason
impl PartialEq for DropReason
Source§fn eq(&self, other: &DropReason) -> bool
fn eq(&self, other: &DropReason) -> bool
self and other values to be equal, and is used by ==.Source§impl Serialize for DropReason
impl Serialize for DropReason
impl StructuralPartialEq for DropReason
Auto Trait Implementations§
impl Freeze for DropReason
impl RefUnwindSafe for DropReason
impl Send for DropReason
impl Sync for DropReason
impl Unpin for DropReason
impl UnsafeUnpin for DropReason
impl UnwindSafe for DropReason
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.