pub struct ProjectedGridCore {Show 16 fields
pub number_of_points: u32,
pub shape_of_earth: u8,
pub scale_factor_radius: u8,
pub scaled_value_radius: u32,
pub scale_factor_major_axis: u8,
pub scaled_value_major_axis: u32,
pub scale_factor_minor_axis: u8,
pub scaled_value_minor_axis: u32,
pub nx: u32,
pub ny: u32,
pub lat_first: i32,
pub lon_first: i32,
pub resolution_and_component_flags: u8,
pub dx: u32,
pub dy: u32,
pub scanning_mode: u8,
}Expand description
Fields shared by all supported projected grid templates.
Longitudes use signed microdegrees consistently. Positive values follow the WMO east-longitude convention; negative west-longitude inputs are preserved rather than forced into a 0..360 representation.
Fields§
§number_of_points: u32§shape_of_earth: u8§scale_factor_radius: u8§scaled_value_radius: u32§scale_factor_major_axis: u8§scaled_value_major_axis: u32§scale_factor_minor_axis: u8§scaled_value_minor_axis: u32§nx: u32§ny: u32§lat_first: i32§lon_first: i32§resolution_and_component_flags: u8§dx: u32§dy: u32§scanning_mode: u8Implementations§
Source§impl ProjectedGridCore
impl ProjectedGridCore
pub fn x_coordinates(&self) -> Result<Vec<f64>, Error>
pub fn x_coordinates_with_limit( &self, max_axis_points: Option<usize>, ) -> Result<Vec<f64>, Error>
pub fn y_coordinates(&self) -> Result<Vec<f64>, Error>
pub fn y_coordinates_with_limit( &self, max_axis_points: Option<usize>, ) -> Result<Vec<f64>, Error>
pub fn reorder_for_ndarray_in_place<T>( &self, values: &mut [T], ) -> Result<(), Error>
pub fn validate_supported_scan_order(&self) -> Result<(), Error>
Trait Implementations§
Source§impl Clone for ProjectedGridCore
impl Clone for ProjectedGridCore
Source§fn clone(&self) -> ProjectedGridCore
fn clone(&self) -> ProjectedGridCore
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProjectedGridCore
impl Debug for ProjectedGridCore
Source§impl PartialEq for ProjectedGridCore
impl PartialEq for ProjectedGridCore
impl StructuralPartialEq for ProjectedGridCore
Auto Trait Implementations§
impl Forget for ProjectedGridCore
impl Freeze for ProjectedGridCore
impl RefUnwindSafe for ProjectedGridCore
impl Send for ProjectedGridCore
impl Sync for ProjectedGridCore
impl Unpin for ProjectedGridCore
impl UnsafeUnpin for ProjectedGridCore
impl UnwindSafe for ProjectedGridCore
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