Yr · Example Payload

Yr No Compact Forecast Example

WeatherForecastsMeteorologyClimateNorwayNordicOpen DataAviation WeatherMarine WeatherAlerts

Yr No Compact Forecast Example is an example object payload from Yr, with 3 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

typegeometryproperties

Example Payload

Raw ↑
{
  "type": "Feature",
  "geometry": {
    "type": "Point",
    "coordinates": [9.58, 60.10, 200]
  },
  "properties": {
    "meta": {
      "updated_at": "2024-01-15T06:00:00Z",
      "units": {
        "air_pressure_at_sea_level": "hPa",
        "air_temperature": "celsius",
        "cloud_area_fraction": "%",
        "precipitation_amount": "mm",
        "relative_humidity": "%",
        "ultraviolet_index_clear_sky": "1",
        "wind_from_direction": "degrees",
        "wind_speed": "m/s"
      }
    },
    "timeseries": [
      {
        "time": "2024-01-15T07:00:00Z",
        "data": {
          "instant": {
            "details": {
              "air_pressure_at_sea_level": 1013.2,
              "air_temperature": 2.5,
              "cloud_area_fraction": 75.0,
              "relative_humidity": 86.4,
              "wind_from_direction": 220.3,
              "wind_speed": 4.2
            }
          },
          "next_1_hours": {
            "summary": {
              "symbol_code": "partlycloudy_day"
            },
            "details": {
              "precipitation_amount": 0.0
            }
          },
          "next_6_hours": {
            "summary": {
              "symbol_code": "lightrain"
            },
            "details": {
              "precipitation_amount": 1.2
            }
          }
        }
      },
      {
        "time": "2024-01-15T08:00:00Z",
        "data": {
          "instant": {
            "details": {
              "air_pressure_at_sea_level": 1012.8,
              "air_temperature": 3.1,
              "cloud_area_fraction": 85.0,
              "relative_humidity": 88.0,
              "wind_from_direction": 215.0,
              "wind_speed": 5.1
            }
          },
          "next_1_hours": {
            "summary": {
              "symbol_code": "rain"
            },
            "details": {
              "precipitation_amount": 0.5
            }
          }
        }
      },
      {
        "time": "2024-01-15T13:00:00Z",
        "data": {
          "instant": {
            "details": {
              "air_pressure_at_sea_level": 1011.5,
              "air_temperature": 4.8,
              "cloud_area_fraction": 95.0,
              "relative_humidity": 92.0,
              "ultraviolet_index_clear_sky": 0.5,
              "wind_from_direction": 200.0,
              "wind_speed": 6.3
            }
          },
          "next_12_hours": {
            "summary": {
              "symbol_code": "heavyrain"
            },
            "details": {
              "precipitation_amount": 8.4
            }
          }
        }
      }
    ]
  }
}