[−][src]Enum sounding_validate::ValidationError
Validation errors.
Variants
NoPressureProfile
Sounding did not have a profile for pressure.
InvalidVectorLength(&'static str, usize, usize)
One of the profiles had a vector length that did not match the length of the pressure
profile vector. This is required because pressure is the vertical coordinate. The string is
the name of the profile, the first usize
is the length of that profile, and the second
usize
is the length it should have been.
PressureNotDecreasingWithHeight
Pressure not decreasing with height. This also checks that geopotential increases "with height". It assumes the vectors are sorted with values from the lowest level to the highest level above ground.
TemperatureLessThanWetBulb(f64, f64)
Checks the required relationship between temperature and wet bulb.
TemperatureLessThanDewPoint(f64, f64)
Checks the required relationship between temperature and dew point.
WetBulbLessThanDewPoint(f64, f64)
Checks the required relationship between wet bulb and dew point.
InvalidNegativeValue(&'static str, f64)
Invalid negative value, such as speed which must be positive.
InvalidWindDirection(f64)
Invalid wind direction.
Trait Implementations
impl Clone for ValidationError
[src]
fn clone(&self) -> ValidationError
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq<ValidationError> for ValidationError
[src]
fn eq(&self, other: &ValidationError) -> bool
[src]
fn ne(&self, other: &ValidationError) -> bool
[src]
impl Copy for ValidationError
[src]
impl Display for ValidationError
[src]
impl Debug for ValidationError
[src]
impl Error for ValidationError
[src]
fn description(&self) -> &str
1.0.0[src]
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
replaced by Error::source, which can support downcasting
The lower-level cause of this error, if any. Read more
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
The lower-level source of this error, if any. Read more
Auto Trait Implementations
impl Sync for ValidationError
impl Send for ValidationError
impl Unpin for ValidationError
impl RefUnwindSafe for ValidationError
impl UnwindSafe for ValidationError
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,