pub enum GdalRule {
Show 16 variants
Surface {
elements: Vec<String>,
},
Height {
element: String,
metres: u32,
},
EntireAtmosphere {
element: String,
},
MeanSeaLevel {
elements: Vec<String>,
},
Isobaric {
element: String,
hpa: u32,
},
CloudLayer {
element: String,
short_name: String,
phrases: Vec<String>,
},
Template,
TemplateAerosol,
TemplateEnsemble {
discipline: u8,
category: u8,
number: u8,
level_type: u8,
level_value: Option<f64>,
ensemble: EnsembleIdentity,
hours: Option<u32>,
statistical: Option<u8>,
},
TemplateRank,
TemplateMrms,
TotalPrecipitation,
AccumulationFromStart,
LocalParameter {
category: u8,
number: u8,
},
Phrase {
element: String,
phrases: Vec<String>,
},
GeopotentialSurface {
elements: Vec<String>,
},
}Available on crate feature
encoder only.Expand description
How a variable’s record is recognised among a GRIB’s bands as GDAL
describes them. The semantics are in inspect.rs.
Variants§
Surface
Height
EntireAtmosphere
MeanSeaLevel
Isobaric
CloudLayer
Template
TemplateAerosol
TemplateEnsemble
An ensemble product under an identity of its own: the parameter and first surface read off the assembled template beside the record’s ensemble identity and, for a template over a time interval, the one interval’s length in hours and its process.
Fields
§
ensemble: EnsembleIdentityTemplateRank
TemplateMrms
TotalPrecipitation
AccumulationFromStart
LocalParameter
Phrase
GeopotentialSurface
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GdalRule
impl<'de> Deserialize<'de> for GdalRule
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>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for GdalRule
Auto Trait Implementations§
impl Forget for GdalRule
impl Freeze for GdalRule
impl Move for GdalRule
impl RefUnwindSafe for GdalRule
impl Send for GdalRulewhere
RawVecInner: Send,
impl Sync for GdalRulewhere
RawVecInner: Sync,
impl Unpin for GdalRule
impl UnsafeUnpin for GdalRulewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for GdalRulewhere
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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