hanshack / DWD2DW

A script that scrapes weather forecast data from the German Meteorological Service and then parses that data so that it can be displayed on a Datawrapper locator map

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DWD to DW

DISCLAIMER: This project is a private open source project and doesn't have any connection with Deutscher Wetterdienst.

Description

A script that scrapes tomorrow's weather data (max. temperature and weather condition) for some weather stations from the German Meteorological Service (DWD). It then parses that data so that it can be used as a dataset for a Datawrapper locator map.

You can find out more about this process on the Datawrapper Blog.

Setup

npm i

Run script

node index

This will create a JSON called markerData that can be used for a Datawrapper locator map.

Notes

A list of repos that use DWD data (scroll down):

Inspiration repo:

List of all weather stations:

A useful source of active sations:

List of weather conditions and priority:

Licenses

This script uses public data from DWD OpenData. The Copyright can be viewed here.

About

A script that scrapes weather forecast data from the German Meteorological Service and then parses that data so that it can be displayed on a Datawrapper locator map

License:MIT License


Languages

Language:JavaScript 100.0%