Historical Forecast or Observed Weather Data Source [closed]
Closed 8 years ago.
- Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
- This question does not appe开发者_如何学编程ar to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
I'm looking for an API that provides recent, 3-hourly temperatures... either observed or forecasted. To be clear, I'm looking for data from the past... like 'yesterday'.
Free or paid is fine. International or US only is fine. Lookup by long/lat, zip, city doesn't matter either.
Any suggestions?
I'm looking for an API that provides recent, 3-hourly temperatures... either observed or forecasted. To be clear, I'm looking for data from the past... like 'yesterday'.
I don't know of an API for historic weather data. "3-hourly" observations are often referred as Syno hours. For historic data, other than for model validation, 99% of the time only observed data is used. Unless otherwise needed, in general you want surface observation data.
In the US, the NCDC (National Climate Data Center)'s Climate Data Online is likely your best source. The data is gratis, but with some (potential) usage restrictions.
You may use the public data from NOAA's Global Summary of the Day public data FTP, but you have to read the data format convention and build a script to connect and parse the data needed.
Have a look at the readme.txt file in the same FTP-folder, maybe you will find how to use this service.
精彩评论