问题标签 [wunderground]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
upload - 如何从我的个人气象站上传数据?
我如何向 wunderground.com 贡献和上传 PWS 数据?那里有可用的 API 文档吗?
我找到了一个 API,展示了如何从 PWS 中检索数据:
https://weather.com/swagger-docs/call-for-code
通过询问 Google 博士,我还发现:
https://weatherstation.wunderground.com/weatherstation/updateweatherstation.php?QUERY_PARAMS
那是提供数据的地方吗?但是在哪里可以获得 API 文档?
r - 如何将地下天气(wunderground)中的数据提取到 csv 文件中
我正在尝试通过为每个日期运行带有迭代 [i] 的 for 循环,将地下天气的历史数据下载为 csv 格式。
为了加快运行时间,我从 2019 年 9 月 1 日到今天运行代码(实际上我需要运行几年)。我正在为 url 运行一个 for 循环:
其中 i 是开始和结束之间的日期。例如。 https://www.wunderground.com/weatherstation/WXDailyHistory.asp?ID=IISLEOFW4&day=1&month=9&year=2019&graphspan=day&format=1
运行此程序时,只有一天的数据会下载到正确的文件位置,而不是日期范围内的所有数据。是否有人能够帮助我将整个日期范围内的所有数据下载到单独的文件中,或者全部附加到同一个文件中。
您需要更改文件下载到的文件夹才能运行代码。
感谢您的帮助!
python - 由于一些奇怪的字符串,BeautifulSoup 找不到我的表
嗨,我一直在尝试使用 BeautifulSoup 从 wunderground 获取一张桌子,但它不起作用。
我认为这可能是表格标题旁边的星形字符串,但我无法修复它。
这是我的代码:
和错误: