Global monthly climate data visualised on an interactive map with OpenLayers 3.
http://climatemaps.romgens.com
The climate grid data, 30 year averages, is taken from http://www.ipcc-data.org/obs/get_30yr_means.html.
GDAL is needed for the gdal2tiles.py script that creates map-tiles from a single images (matplotlib plot).
Install dependencies,
conda install -c conda-forge gdal==3.8.3
WARNING: tippecanoe 1.19.1 is the latest version that produces valid GeoJSON due to issue mapbox/tippecanoe#652
sudo apt install libsqlite3-dev
git clone https://github.com/mapbox/tippecanoe.git
cd tippecanoe
git checkout tags/1.19.1
make -j
make install
Run:
python ./bin/create_contour.py
to create GeoJSON (.geojson) and image (png) tiles.
uvicorn api.main:app --reload
The maps are now available at http://localhost:8000/index.html