iki / ccn

Cooperative City Network

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cooperative City Network

Getting the CHMI data from the Golemio API

cd data-chmi
./get
./merge

Plotting the CHMI data as function of space and time

You can choose the number of the pollutant from the following: SCALE is 0 to 100. Numbers beyond 100 are projected to 100.

  1. "NO2": Video
  2. "O3" : Video
  3. "PM10"
  4. "PM10_24"
  5. "PM2_5"
  6. "SO2"
cd data-chmi
python plotPollutionMaps.py
./buildVideo.sh

Difficulty are:

  • Data were unknown before starting.
  • Data are heterogeneous in space, very discontinuous in time, and sometimes just missing.
  • Management of timestamps and data types of Python.

Upload data to HERE Maps XYZ Studio

# Install dependencies
yarn

# Setup your HERE Maps credentials from https://account.here.com/
yarn here configure

# Create a data space
yarn here xyz create --title "CHMI Prague" --message "Show CHMI data from Golemio API"

# Upload data (use ID of the space created in the previous step)
yarn here xyz upload -f data-chmi/merge.csv --ptag DateToUTC [spaceID]

About

Cooperative City Network


Languages

Language:Jupyter Notebook 93.6%Language:Python 5.6%Language:Shell 0.8%Language:Batchfile 0.0%