Skip to content

Latest commit

 

History

History
64 lines (59 loc) · 1.5 KB

File metadata and controls

64 lines (59 loc) · 1.5 KB

Weather data format:


Weather status coding:

State code Weather type
0 sunny_cloudy
1 light_rain
2 strong_rain
3 foggy
4 snowy

State data:

  • ts : Timestamps are in UTC data format
  • air_pressure : Air pressure in hectopascal (hPa)
  • air_temperature : Air temperature in degree celsius (°C)
  • relative_humidity : Humidity in percent from 0% till 100%
  • wind_speed : Wind speed in (m/s)
  • wind_direction : Wind direction in degree (°)
  • precipitation_intensity : Percipitation Intensity
  • precipitation_amount : Percipitation type, 0 => None, 1 => Rain, 2 => Snow
  • visibility : Overall visibility from 0 till 2000 meters in (m)
  • weather_nws : not relevant

{
    "overview": 
    {
        "first_ts": val (int)
        "last_ts": val (int)
        "duration": val (int)
        "status": val (int)
        "name": val (string)
    },
    "weather_data": 
    {
        "ts_0": 
        {
            "air_pressure": val (float)
            "air_temperature": val (float)
            "relative_humidity": val (float)
            "wind_speed": val (float)
            "wind_direction": val (float)
            "precipitation_intensity": val (float)
            "precipitation_amount": val (float)
            "visibility": val (float)
            "weather_nws": val (int)
        },
        "ts_1":
        {
            ...
        },
        "ts_2":
        {
            ...
        }
    }
}