Skip to main content

BaseMet

Struct BaseMet 

Source
pub struct BaseMet {
    pub tmp_amb: Option<i16>,
    pub rh: Option<i16>,
    pub pres: Option<i16>,
    pub wnd_spd: Option<i16>,
    pub wnd_dir: Option<i16>,
    pub rain: Option<i16>,
    pub snw: Option<i16>,
    pub ppt: Option<i16>,
    pub elec_fld: Option<i16>,
    pub sur_wet: Option<i16>,
    pub soil_wet: Option<i16>,
}
Available on crate feature model307 only.
Expand description

Base Met

Base Meteorological Model

Detail: This model supersedes model 301

Fields§

§tmp_amb: Option<i16>

Ambient Temperature

§rh: Option<i16>

Relative Humidity

§pres: Option<i16>

Barometric Pressure

§wnd_spd: Option<i16>

Wind Speed

§wnd_dir: Option<i16>

Wind Direction

§rain: Option<i16>

Rainfall

§snw: Option<i16>

Snow Depth

§ppt: Option<i16>

Precipitation Type

Precipitation Type (WMO 4680 SYNOP code reference)

§elec_fld: Option<i16>

Electric Field

§sur_wet: Option<i16>

Surface Wetness

§soil_wet: Option<i16>

Soil Wetness

Implementations§

Source§

impl BaseMet

Source

pub const TMP_AMB: Point<Self, Option<i16>>

Source

pub const RH: Point<Self, Option<i16>>

Source

pub const PRES: Point<Self, Option<i16>>

Source

pub const WND_SPD: Point<Self, Option<i16>>

Source

pub const WND_DIR: Point<Self, Option<i16>>

Source

pub const RAIN: Point<Self, Option<i16>>

Source

pub const SNW: Point<Self, Option<i16>>

Source

pub const PPT: Point<Self, Option<i16>>

Source

pub const ELEC_FLD: Point<Self, Option<i16>>

Source

pub const SUR_WET: Point<Self, Option<i16>>

Source

pub const SOIL_WET: Point<Self, Option<i16>>

Trait Implementations§

Source§

impl Debug for BaseMet

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Group for BaseMet

Source§

const LEN: u16 = 11

Group length (without nested and repeating groups)
Source§

impl Model for BaseMet

Source§

const ID: u16 = 307

Model ID
Source§

fn addr(models: &Models) -> ModelAddr<Self>

Get model address from discovered models struct
Source§

fn parse(data: &[u16]) -> Result<Self, ParseError<Self>>

Parse model data from a given u16 slice

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.