Getting the CHMI data from the Golemio API
cd data-chmi
./get
./merge
You can choose the number of the pollutant from the following: SCALE is 0 to 100. Numbers beyond 100 are projected to 100.
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]