https://github.com/samcrow/weatherundergroundexport
JavaScript to export CSV files from Weather Underground history tables
https://github.com/samcrow/weatherundergroundexport
Last synced: about 1 year ago
JSON representation
JavaScript to export CSV files from Weather Underground history tables
- Host: GitHub
- URL: https://github.com/samcrow/weatherundergroundexport
- Owner: samcrow
- License: 0bsd
- Created: 2021-08-28T22:11:21.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-08-28T22:33:47.000Z (almost 5 years ago)
- Last Synced: 2025-01-29T23:41:32.321Z (over 1 year ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Weather Underground history exporter
This script extracts historical weather data from a Weather Underground history
page ([example](https://www.wunderground.com/dashboard/pws/KNMRODEO1/table/2021-08-22/2021-08-22/daily))
and downloads it as a CSV file.
As of 2021-08-28, this works. It may not work in the future when they change
the Weather Underground website.
## Bookmarklet installation
Open [the bookmarklet page](https://samcrow.github.io/WeatherUndergroundExport/)
and drag the link on that page to your bookmark bar to create a bookmark. When
you click on the bookmark, the script will run.
## Instructions
* In a web browser, open the URL `https://www.wunderground.com/dashboard/pws/{station}/table/{date}/{date}/daily`
(replace {station} with the station name, for example KNMRODEO1, and
replace {date} with the desired date in ISO 8601 format, for example
2021-08-25)
* Scroll down to "Weather History for {station}"
* Wait for the table to load
* Run this script
The script will download a CSV file with the station name and date as part of
its file name. The file will contain everything in the table displayed on the
web page.