epw_rs

Struct WeatherData

Source
pub struct WeatherData {
Show 31 fields pub timestamp: Vec<DateTime<FixedOffset>>, pub flags: Vec<String>, pub dry_bulb_temperature: Vec<f64>, pub dew_point_temperature: Vec<f64>, pub relative_humidity: Vec<f64>, pub atmospheric_pressure: Vec<f64>, pub extraterrestrial_horizontal_radiation: Vec<f64>, pub extraterrestrial_direct_normal_radiation: Vec<f64>, pub horizontal_infrared_radiation_intensity: Vec<f64>, pub global_horizontal_radiation: Vec<f64>, pub direct_normal_radiation: Vec<f64>, pub diffuse_horizontal_radiation: Vec<f64>, pub global_horizontal_illuminance: Vec<f64>, pub direct_normal_illuminance: Vec<f64>, pub diffuse_horizontal_illuminance: Vec<f64>, pub zenith_luminance: Vec<f64>, pub wind_direction: Vec<f64>, pub wind_speed: Vec<f64>, pub total_sky_cover: Vec<f64>, pub opaque_sky_cover: Vec<f64>, pub visibility: Vec<f64>, pub ceiling_height: Vec<f64>, pub present_weather_observation: Vec<bool>, pub present_weather_codes: Vec<PresentWeather>, pub precipitable_water: Vec<f64>, pub aerosol_optical_depth: Vec<f64>, pub snow_depth: Vec<f64>, pub days_since_last_snowfall: Vec<f64>, pub albedo: Vec<f64>, pub liquid_precipitation_depth: Vec<Option<f64>>, pub liquid_precipitation_quantity: Vec<Option<f64>>,
}
Expand description

§EPW weather data

The weather data from the file is provided in a column-oriented format for efficient analysis

Fields§

§timestamp: Vec<DateTime<FixedOffset>>

Timestamps for the weather data samples

§flags: Vec<String>

Data Source and validity flags. The format is not documented

§dry_bulb_temperature: Vec<f64>

Dry bulb temperature in °C

§dew_point_temperature: Vec<f64>§relative_humidity: Vec<f64>§atmospheric_pressure: Vec<f64>§extraterrestrial_horizontal_radiation: Vec<f64>§extraterrestrial_direct_normal_radiation: Vec<f64>§horizontal_infrared_radiation_intensity: Vec<f64>§global_horizontal_radiation: Vec<f64>§direct_normal_radiation: Vec<f64>§diffuse_horizontal_radiation: Vec<f64>§global_horizontal_illuminance: Vec<f64>§direct_normal_illuminance: Vec<f64>§diffuse_horizontal_illuminance: Vec<f64>§zenith_luminance: Vec<f64>§wind_direction: Vec<f64>§wind_speed: Vec<f64>§total_sky_cover: Vec<f64>§opaque_sky_cover: Vec<f64>§visibility: Vec<f64>§ceiling_height: Vec<f64>§present_weather_observation: Vec<bool>§present_weather_codes: Vec<PresentWeather>§precipitable_water: Vec<f64>§aerosol_optical_depth: Vec<f64>§snow_depth: Vec<f64>§days_since_last_snowfall: Vec<f64>§albedo: Vec<f64>§liquid_precipitation_depth: Vec<Option<f64>>§liquid_precipitation_quantity: Vec<Option<f64>>

Trait Implementations§

Source§

impl Debug for WeatherData

Source§

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

Formats the value using the given formatter. Read more

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.