CenterForTheBuiltEnvironment / mave

Automated Measurement & Verification tool for energy data
GNU General Public License v3.0
13 stars 1 forks source link

Data download issue for weather underground #53

Open praftery opened 6 years ago

praftery commented 6 years ago

https://github.com/CenterForTheBuiltEnvironment/mave/blob/9337d10308409f7d40adf777ad1c42593cfd02cc/mave/location.py#L143

It used to be that sites like https://www.wunderground.com/history/airport/KOAK/2016/10/10/DailyHistory.html?format=1 would return a simple text file showing the historical data for that day at that weather station. We could scrape the hisotrical weather data from that without needing an API key for weatherunderground (which would be a hassle for most users) However, those type of links no longer work, instead this was the only option I could find: https://www.wunderground.com/history/airport/KOAK/2016/10/10/DailyHistory.html

We need to find another way to access/interpret this data...

praftery commented 6 years ago

@YPHu-IBDB Here's another example to take a look at - it might be easier to access than scraping the data from the html files: http://mesonet.agron.iastate.edu/request/download.phtml?network=CA_ASOS