Jump to content
  • Member Statistics

    17,611
    Total Members
    7,904
    Most Online
    NH8550
    Newest Member
    NH8550
    Joined

NWS Daily Climate Report -- API Call?


stanleyjenkins

Recommended Posts

Is there an API out there that returns all of the information in a Daily Climate Report (CLI)?

Currently, I have a windows service that scrapes and parses through the HTML to get the data I need from the window that opens from a typical CLI report generated from this page (changing the wfo as needed) http://w2.weather.gov/climate/index.php?wfo=buf

There has to be a better way right?  I'm one minor change away from disaster if they ever alter the structure of that page. I looked through NOAAs Web Services 2, but didn't come across anything. I feel like I must have missed it or they should perhaps offer it.

Thoughts?

Link to comment
Share on other sites

  • 2 weeks later...

You can return a list of Daily Climate report products here:

https://api.weather.gov/products/types/cli

And then get by weather office, for instance this is GRR:

https://api.weather.gov/products/5b11aae6-52cf-4d05-819d-bf373ce18dae

Parsing the productText node looks challenging but probably less so than scraping their HTML :)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...