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<f64>,
pub liquid_precipitation_quantity: Vec<f64>,
}
Expand description
§EPW weather data
The weather data from the file is provided in a column-oriented format for efficient analysis. This library uses the convention of inserting NaN when a value is not available, rather than using the in-band magic numbers (e.g. 999) to signify missing data.
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>
Dew point temperature in °C
relative_humidity: Vec<f64>
Relative humidity in % [0-100]
atmospheric_pressure: Vec<f64>
Atmospheric pressure in Pascals
extraterrestrial_horizontal_radiation: Vec<f64>
Extraterrestrial Horizontal Radiation in Wh/m²
extraterrestrial_direct_normal_radiation: Vec<f64>
Extraterrestrial Direct Normal Radiation in Wh/m²
horizontal_infrared_radiation_intensity: Vec<f64>
Horizontal Infrared Radiation in Wh/m²
global_horizontal_radiation: Vec<f64>
Glob al Horizontal Radiation in Wh/m²
direct_normal_radiation: Vec<f64>
Direct Normal Radiation in Wh/m²
diffuse_horizontal_radiation: Vec<f64>
Diffuse Horizontal Radiation in Wh/m²
global_horizontal_illuminance: Vec<f64>
Global Horizontal Illuminance in lux
direct_normal_illuminance: Vec<f64>
Direct Normal Illuminance in lux
diffuse_horizontal_illuminance: Vec<f64>
Diffuse Horizontal Illuminance in lux
zenith_luminance: Vec<f64>
Zenith Luminance in Cd/m²
wind_direction: Vec<f64>
Wind direction in degrees [0-360]
wind_speed: Vec<f64>
Wind speed in m/s
total_sky_cover: Vec<f64>
Total sky cover
opaque_sky_cover: Vec<f64>
Opaque sky cover
visibility: Vec<f64>
Visibility in km
ceiling_height: Vec<f64>
Ceiling height in m
present_weather_observation: Vec<bool>
Whether present weather should be taken from the following field
present_weather_codes: Vec<PresentWeather>
Present weather
precipitable_water: Vec<f64>
Precipitable water in mm
aerosol_optical_depth: Vec<f64>
Aerosol optical depth in thousandths
snow_depth: Vec<f64>
Snow depth in cm
days_since_last_snowfall: Vec<f64>
Days since last snowfall
albedo: Vec<f64>
Albedo
liquid_precipitation_depth: Vec<f64>
Liquid precipitation depth in mm
liquid_precipitation_quantity: Vec<f64>
Liquid precipitation quantity in hours