pub struct RegularGaussianGrid {
pub ni: u32,
pub nj: u32,
pub lat_first: i32,
pub lon_first: i32,
pub lat_last: i32,
pub lon_last: i32,
pub di: u32,
pub number_of_parallels: u32,
pub scanning_mode: u8,
}Expand description
Template 3.40: regular Gaussian latitude/longitude grid.
Fields§
§ni: u32§nj: u32§lat_first: i32§lon_first: i32§lat_last: i32§lon_last: i32§di: u32§number_of_parallels: u32Number of Gaussian parallels between a pole and the equator.
scanning_mode: u8Implementations§
Source§impl RegularGaussianGrid
impl RegularGaussianGrid
pub fn longitudes(&self) -> Result<Vec<f64>, Error>
pub fn longitudes_with_limit( &self, max_axis_points: Option<usize>, ) -> Result<Vec<f64>, Error>
pub fn latitudes(&self) -> Result<Vec<f64>, Error>
pub fn latitudes_with_limit( &self, max_axis_points: Option<usize>, ) -> Result<Vec<f64>, Error>
pub fn validate_supported_scan_order(&self) -> Result<(), Error>
Trait Implementations§
Source§impl Clone for RegularGaussianGrid
impl Clone for RegularGaussianGrid
Source§fn clone(&self) -> RegularGaussianGrid
fn clone(&self) -> RegularGaussianGrid
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 RegularGaussianGrid
impl Debug for RegularGaussianGrid
Source§impl PartialEq for RegularGaussianGrid
impl PartialEq for RegularGaussianGrid
impl StructuralPartialEq for RegularGaussianGrid
Auto Trait Implementations§
impl Freeze for RegularGaussianGrid
impl RefUnwindSafe for RegularGaussianGrid
impl Send for RegularGaussianGrid
impl Sync for RegularGaussianGrid
impl Unpin for RegularGaussianGrid
impl UnsafeUnpin for RegularGaussianGrid
impl UnwindSafe for RegularGaussianGrid
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