stanleyjenkins Posted October 28, 2017 Share Posted October 28, 2017 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 More sharing options...
Michigander Posted November 11, 2017 Share Posted November 11, 2017 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.