Windy Community

    • Register
    • Login
    • Search
    • Unread
    • Categories
    • Groups
    • Go to windy.com

    How to Access the Windy Stations Data

    Windy Stations
    36
    73
    22984
    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.
    • galfert
      galfert Meteorologist last edited by

      Can you provide a way to list all the Open data policy stations? Also it would be nice to have a filter on the map to only see Windy stations (taking out airports and CWOP ..etc).

      1 Reply Last reply Reply Quote 1
      • T
        TomSlavkovsky API developers last edited by

        @galfert to list all the open data policy stations you should use the second method and after obtaining station ids apply the first method.

        We are planning to add the possibility to filter only Windy Stations. It should be ready soon.

        1 Reply Last reply Reply Quote 2
        • C
          chezburke last edited by

          It appears that the temp and dewpoint data is being returned incorrectly, as this is what I see for my station ID: f06e5d29.

          temp: [ 281.75000038147, 281.950000190735, 282.25000038147, 282.54999961853, 282.75000038147, 282.450000190735, 282.349999809265, 282.04999961853, 281.950000190735, 282.54999961853, 283.04999961853, 283.349999809265, 282.950000190735, 282.65, (...) ]

          The data displayed in the on-line windy.com map seems to be the same as my weather station.

          In addition, there is no rainfall data included.

          It would also be useful if you could provide a "last 24 hours" report, or even allow for the time period to be specified in the request. Returning 288 data points per day is really overkill, for some applications, at least.

          1 Reply Last reply Reply Quote 0
          • M
            mcrossley last edited by mcrossley

            @chezburke I think the APIs use Kelvin for temperatures.

            C 1 Reply Last reply Reply Quote 0
            • C
              chezburke @mcrossley last edited by

              @mcrossley Ahh...thank you.

              Odd...but at least now I know :)

              M 1 Reply Last reply Reply Quote 0
              • M
                mcrossley @chezburke last edited by

                @chezburke You're welcome, and despite the upload API using Pascals as the default unit, the download API uses hectoPascals ;)

                1 Reply Last reply Reply Quote 0
                • F
                  fabricio.fgs last edited by

                  @TomSlavkovsky said in How to Access the Windy Stations Data:

                  https://stations.windy.com/pws/stations/

                  Why for my user, can't I see any station in url https://stations.windy.com/stations?

                  galfert 1 Reply Last reply Reply Quote 0
                  • galfert
                    galfert Meteorologist @fabricio.fgs last edited by galfert

                    @fabricio-fgs because you haven't created any stations to upload to. That link is only for your own stations. It doesn't show other people's stations.

                    1 Reply Last reply Reply Quote 1
                    • F
                      fabricio.fgs last edited by

                      Thanks! But are not there a way to get data from another stations?

                      galfert 1 Reply Last reply Reply Quote 0
                      • galfert
                        galfert Meteorologist @fabricio.fgs last edited by galfert

                        @fabricio-fgs You can use the map and find MADIS stations along with other METAR stations and such. But in order to see a Windy personal station you need to know it's ID or go through some trouble with the API and pull a database dump of personal weather stations and then sift through to find a station ID and then use the Windy map to pull the live station since you now have the ID. Most Windy personal stations also report to MADIS so it shouldn't that big of an issue to instead just pull up the MADIS and then it will tell you that there is a duplicate and then you have at the more timely Windy station ID for that personal station.

                        It would nice if Windy provided a better method of seeing their stations on the map. Maybe in a future site update, I hope.

                        1 Reply Last reply Reply Quote 0
                        • N
                          noalt last edited by

                          Is the first record, the most recent data (actual value?)

                          1 Reply Last reply Reply Quote 0
                          • W
                            windGoggles last edited by windGoggles

                            @TomSlavkovsky I was not able to successfully get a database dump of weather stations. Everytime I hit this api https://stations.windy.com/pws/stations/myapikey898
                            I get a 400 bad request error that says "invalid token". I am replacing myapikey898 with my actual api key

                            Do I need to pass in headers or anything?

                            T 1 Reply Last reply Reply Quote 0
                            • T
                              TomSlavkovsky API developers @windGoggles last edited by

                              @windGoggles you are not using valid API key, please generate your api key on stations.windy.com.

                              1 Reply Last reply Reply Quote 0
                              • W
                                windGoggles last edited by

                                @TomSlavkovsky you were right, the problem was that I was trying to use the same API key that I am using for the api4 chart.

                                Anyone else that stumbles upon this issue and is having trouble figuring out which key to use, read the following:

                                The API key that you receive from this URL, https://api4.windy.com/api-key/, will not work. You need instead to go to https://stations.windy.com/stations and click on "show key" in the banner on the bottom of the page. That is the key you need to access the JSON data from the stations.

                                1 Reply Last reply Reply Quote 1
                                • Dani Pérez
                                  Dani Pérez Clima España last edited by

                                  Hola,porque no me aparecen los datos del pluviometro de mi estación netatmo???
                                  Los demas datos si aparecen,temperaturas,viento,humedad.......pero los datos de lluvia no.
                                  Gracias y seguir con la aplicacion porque esta muy bien.
                                  Un saludo

                                  1 Reply Last reply Reply Quote 0
                                  • W
                                    windywolf 0 @TomSlavkovsky last edited by

                                    @TomSlavkovsky said in How to Access the Windy Stations Data:

                                    https://stations.windy.com/pws/station/open/API_KEY/STATION_ID

                                    None of them work, it says “Invalid token” for each one.

                                    1 Reply Last reply Reply Quote 2
                                    • W
                                      windywolf 0 @TomSlavkovsky last edited by

                                      @TomSlavkovsky

                                      Do you ever answer messages?

                                      1 Reply Last reply Reply Quote 0
                                      • Korina
                                        Korina Administrator last edited by

                                        Hello @windywolf-0, you need to add your station ID and API key to the link.

                                        Korina

                                        1 Reply Last reply Reply Quote 0
                                        • G
                                          GPittard last edited by

                                          Hi Tom,

                                          I've registered my weather station and generated an API Key, but don't know what to do with the key. My weather station reports to Weather Underground and the data is readily available through that portal, but I don't know how to get my data to Windy.

                                          Also, once it's set up, does my station automatically transmit data to Windy?

                                          Best wishes
                                          Gary

                                          1 Reply Last reply Reply Quote 4
                                          • M
                                            mreinart last edited by

                                            Hello,
                                            is there also an option for only getting the most recent measurement?
                                            Best Regards
                                            Manfred

                                            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 and Conditions     Privacy Policy