Windy Community
    • Unread
    • Categories
    • Groups
    • Go to windy.com
    • Register
    • Login

    Wind direction in stations list

    Windy Stations
    2
    2
    403
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • I
      ipearx
      last edited by

      I'm trying to use the open stations list call:
      https://stations.windy.com/pws/stations/API-KEY
      It includes "wind", "temp" and 'elevation' but not wind direction?!
      Is it possible to add wind direction/bearing to this call's results? Having wind without direction isn't much use :)
      'Gust' would be useful too, but not so critical.

      Without it my only option is to call each individual station for the history data, but that would use a LOT of resources, especially when I only want the latest wind direction.

      A random sample of a single item returned at the moment:

      {
                  "name": "Brete",
                  "content": {
                      "url": "",
                      "text": "Direccion de Incendios Forestales"
                  },
                  "agl_temp": 21,
                  "agl_wind": 11,
                  "elev_m": 1085,
                  "lat": -24.237731334909334,
                  "lon": -65.1837730407715,
                  "stationType": "Davis Vantage Pro 2",
                  "shareOption": "Open",
                  "id": "f05b0832",
                  "stationId": 0,
                  "type": "pws",
                  "updated": "2024-04-04T12:23:38.887Z",
                  "observation": null,
                  "observationUpdated": "2024-04-04T12:23:38.887Z"
              },
      
      SutyS 1 Reply Last reply Reply Quote 0
      • SutyS
        Suty Administrator @ipearx
        last edited by Suty

        @ipearx You requested info about the station, where parameters agl_temp and agl_wind provide info about the height of sensors above the ground. More info here.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Windyty, S.E. - all rights reserved. Powered by excellent NodeBB
        NodeBB & contributors, OSM & contributors, HERE maps
        Terms of Use     Privacy Policy