pub struct PrecipitationCodebook {
pub trace: f64,
pub scale: f64,
pub maximum: f64,
pub maximum_code: u16,
pub overflow_code: u16,
pub nodata_code: u16,
pub name: String,
}Available on crate feature
encoder only.Expand description
Logarithmic (log1p) codebook: sparse, long-tailed fields keep their
light-rain resolution. Not precipitation-specific either: it quantizes
any one-sided field whose interesting range spans orders of magnitude —
the aerosol optical depth, the particulate matter concentrations and a
river’s discharge reuse it with their own trace, scale and maximum.
Fields§
§trace: f64§scale: f64§maximum: f64§maximum_code: u16§overflow_code: u16§nodata_code: u16§name: StringImplementations§
Trait Implementations§
Source§impl Clone for PrecipitationCodebook
impl Clone for PrecipitationCodebook
Auto Trait Implementations§
impl Forget for PrecipitationCodebook
impl Freeze for PrecipitationCodebook
impl Move for PrecipitationCodebook
impl RefUnwindSafe for PrecipitationCodebook
impl Send for PrecipitationCodebookwhere
RawVecInner: Send,
impl Sync for PrecipitationCodebookwhere
RawVecInner: Sync,
impl Unpin for PrecipitationCodebook
impl UnsafeUnpin for PrecipitationCodebook
impl UnwindSafe for PrecipitationCodebookwhere
RawVecInner: UnwindSafe,
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
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
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 moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
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