akkudoktoreos.prediction.weatherbrightsky.WheaterDataBrightSkyMapping
- akkudoktoreos.prediction.weatherbrightsky.WheaterDataBrightSkyMapping: List[Tuple[str, str | None, str | float | None]] = [('timestamp', 'DateTime', 'to datetime in timezone'), ('precipitation', 'Precipitation Amount (mm)', 1), ('pressure_msl', 'Pressure (mb)', 1), ('sunshine', None, None), ('temperature', 'Temperature (°C)', 1), ('wind_direction', 'Wind Direction (°)', 1), ('wind_speed', 'Wind Speed (kmph)', 1), ('cloud_cover', 'Total Clouds (% Sky Obscured)', 1), ('dew_point', 'Dew Point (°C)', 1), ('relative_humidity', 'Relative Humidity (%)', 1), ('visibility', 'Visibility (m)', 1), ('wind_gust_direction', None, None), ('wind_gust_speed', None, None), ('condition', None, None), ('precipitation_probability', 'Precipitation Probability (%)', 1), ('precipitation_probability_6h', None, None), ('solar', 'Global Horizontal Irradiance (W/m2)', 1000), ('fallback_source_ids', None, None), ('icon', None, None)]
Mapping of BrightSky weather data keys to WeatherDataRecord field descriptions.
- Each tuple represents a field in the BrightSky data, with:
The BrightSky field key,
The corresponding WeatherDataRecord description, if applicable,
A correction factor for unit or value scaling.
Fields without descriptions or correction factors are mapped to None.