]> Pierre Choffet | Git repositories - wmo_to_wikidata.git/blob - README
Minor header change
[wmo_to_wikidata.git] / README
1 wmo_to_wikidata - Import World Meteorological Organization weather stations
2 metadata into Wikidata.
3
4 Repository: https://git.choffet.net/?p=wmo_to_wikidata.git
5
6
7 This repository contains a set of scripts that download, clean, verify, compare
8 WMO stations metadata before importing it into Wikidata as needed.
9
10 The original source code in this repository is sponsored by Wkimedia Canada.
11
12 The following tools are required as dependencies - they should be available
13 prepackaged for most GNU/Linux distros.
14
15 - Bash - https://www.gnu.org/software/bash/
16 Shell script interpreter
17
18 - Curl - https://curl.se/
19 Download WMO data.
20
21 - Xmlstarlet - http://xmlstar.sourceforge.net/
22 XSD and XSLT processor.
23
24 - Yq - https://kislyuk.github.io/yq/
25 Jq wrapper to convert WMO JSON into XML.
26
27
28 The repositories contains the following tools:
29 - update.sh
30 Ensure WMO stations cache is up to date, convert original JSON into XML,
31 clean, validate data and generate a new valid WDEF file.