dmidk / Climate-Data-Grid-Map

A generated web page showing the climate data grid and the cell IDs needed to search the Open Data API for specific cells

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Grid and station map of DMI's Open Data

An interactive map that allows the user to get an overview of stations, parameters, grids and municipalities used in DMIs Open Data

Setup

Optionally, create a virtual environment for the pip dependencies to run this repo:

python -m venv name_of_venv

Clone this repository, and install dependencies through pip:

pip install -r requirements.txt

Running the script

To generate the site, you should acquire an API key for both the climateData API and oceanObs. When you have the keys, you can run the software as a simple command line utility:

python Create\ Map.py --climate-api-key=$CLIMATE_API_KEY --oceanobs-api-key=$OCEAN_API_KEY

The script will write the HTML page to index.html, which is self-contained HTML page.

About

A generated web page showing the climate data grid and the cell IDs needed to search the Open Data API for specific cells


Languages

Language:HTML 99.3%Language:Python 0.7%