Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marians/was-atmest-du
Air quality data display for Germany
https://github.com/marians/was-atmest-du
Last synced: 27 days ago
JSON representation
Air quality data display for Germany
- Host: GitHub
- URL: https://github.com/marians/was-atmest-du
- Owner: marians
- Created: 2012-08-29T16:41:39.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2012-08-30T09:12:02.000Z (about 12 years ago)
- Last Synced: 2024-04-23T17:20:13.364Z (7 months ago)
- Size: 6.54 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
was-atmest-du
=============Air quality data display for Germany
This is an open repository for data on air quality in Germany plus, maybe in the future, more refined versions of that data and scripts to automate the refinement process.
##data
This is where data lives
##data/refined
Data that has been dealt with in some way goes here.
##data/refined/umweltbundesamt/stations.json
All available data on measurement stations, both active and historic. Quite huge (7.4 MB) - a more concise version would be possible. The file is generated by scripts/converter/umweltbundesamt-stations-to-json.py.
##data/refined/umweltbundesamt/no2.json
This is the raw content of the Excel files data/source/umweltbundesamt/no2 (NO2 annual reports) in structured form. Generated by scripts/converter/umweltbundesamt-no2-to-json.py
##data/refined/umweltbundesamt/pm10.json
This is the raw content of the Excel files data/source/umweltbundesamt/pm10 (PM10 annual reports) in structured form. Generated by scripts/converter/umweltbundesamt-pm10-to-json.py
##data/source
Here is where original data as copied from providers is placed
##data/source/umweltbundesamt
Data from the Umweltbundesamt, Germany's federal environment agency
* Bericht_EU_Meta_Stationen.csv: List of stations, including historic data. Source: http://www.env-it.de/stationen/public/downloadRequest.do
* Bericht_EU_Meta_Stationsparameter.csv: List of stations with additional information, including historic data. Source: http://www.env-it.de/stationen/public/downloadRequest.do##data/source/umweltbundesamt/pm10
Data on particle emissions finer than 10 µm. Files originate from http://www.env-it.de/umweltbundesamt/luftdaten/documents.fwd
Each Excel file contains yearly average data per station.
##data/source/umweltbundesamt/no2
Data on nitrogen dioxide emissions (Stickstoffdioxid). Files originate from http://www.env-it.de/umweltbundesamt/luftdaten/documents.fwd
Each Excel file contains yearly average values plus the count of measures above a certain threshold per station.
##scripts
This should contain Python tools to work with the data.
Here is a flexible way to handle the requirements.
1. Install virtualenv
2. Go to the top folder of your local clone of this repository and do:virtualenv venv
. venv/bin/activate
pip install xlrdNow whenever you want to run one of the scripts, start your virtual environment first using
. venv/bin/activate
##scripts/converter
Scripts converting data from one format to another
##scripts/converter/umweltbundesamt-pm10-to-json.py
Extracts data from the Excel files in data/source/umweltbundesamt/pm10 to data/refined/umweltbundesamt/pm10.json.
##scripts/converter/umweltbundesamt-no2-to-json.py
Extracts data from the Excel files in data/source/umweltbundesamt/no2 to data/refined/umweltbundesamt/no2.json.
##scripts/converter/umweltbundesamt-stations-to-json.py
Combines the station meta data (except for discreet measurements) from two CSV files in data/source/umweltbundesamt to one big JSON file data/refined/umweltbundesamt/stations.json