pub struct ProbeField {
pub key: String,
pub forecast_time: Option<i32>,
pub i: usize,
pub j: usize,
pub lat: f64,
pub lon: f64,
pub value: f32,
}Expand description
Probe result entry returned by probe_all_fields_at_lat_lon.
Fields§
§key: StringParameter key, typically shortname or first line of description.
forecast_time: Option<i32>Optional forecast time (hours) extracted from description (if available)
i: usizeGrid fractional indices (i, j) rounded to nearest integer used for interpolation
j: usize§lat: f64Grid center latitude/longitude in degrees
lon: f64§value: f32Value at the location (units as-present in GRIB field)
Trait Implementations§
Source§impl Clone for ProbeField
impl Clone for ProbeField
Source§fn clone(&self) -> ProbeField
fn clone(&self) -> ProbeField
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ProbeField
impl RefUnwindSafe for ProbeField
impl Send for ProbeField
impl Sync for ProbeField
impl Unpin for ProbeField
impl UnwindSafe for ProbeField
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