pub struct Era5Profile {
pub request: Era5Request,
pub times: Vec<(UtcTime, f64)>,
pub levels: Vec<Era5Level>,
pub unread: Vec<String>,
}Expand description
The atmosphere over a site at a time, read from an ERA5 pressure-level file.
Fields§
§request: Era5RequestWhat was asked for.
times: Vec<(UtcTime, f64)>The file’s times used and their weights: one on the hour, else the two around it.
levels: Vec<Era5Level>The levels, lowest (highest pressure) first.
unread: Vec<String>Variables on the same grid that were not read, such as humidity.
Implementations§
Source§impl Era5Profile
impl Era5Profile
Sourcepub fn sounding(
&self,
wind_interpolation: WindInterpolation,
) -> Result<SoundingProfile, AtmosError>
pub fn sounding( &self, wind_interpolation: WindInterpolation, ) -> Result<SoundingProfile, AtmosError>
The profile as an atmosphere: every level’s height, temperature, pressure and wind, dry,
at the site’s latitude, with the wind interpolated as wind_interpolation.
§Errors
AtmosError as SoundingProfile::new raises it, for example for heights that do not
increase from level to level.
Trait Implementations§
Source§impl Clone for Era5Profile
impl Clone for Era5Profile
Source§fn clone(&self) -> Era5Profile
fn clone(&self) -> Era5Profile
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 Era5Profile
impl Debug for Era5Profile
Source§impl<'de> Deserialize<'de> for Era5Profile
impl<'de> Deserialize<'de> for Era5Profile
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
Source§impl PartialEq for Era5Profile
impl PartialEq for Era5Profile
Source§fn eq(&self, other: &Era5Profile) -> bool
fn eq(&self, other: &Era5Profile) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for Era5Profile
impl Serialize for Era5Profile
impl StructuralPartialEq for Era5Profile
Auto Trait Implementations§
impl Freeze for Era5Profile
impl RefUnwindSafe for Era5Profile
impl Send for Era5Profile
impl Sync for Era5Profile
impl Unpin for Era5Profile
impl UnsafeUnpin for Era5Profile
impl UnwindSafe for Era5Profile
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