copernicus-cumbrevieja

September 28, 2021 ยท View on GitHub

Overview

ISTAC is publishing geodata in its statistical atlas about eruptions in La Palma volcano beginning September 2021. Lava movements are registered by Copernicus satellite and published on its website copernicus.eu.

The problem is that these data is not periodically exposed or might be even in a non finished state in quality terms. Statistical technicians would have to check "manually" if the website has published geodata.

This tool tries to minimise human efforts in terms of data acquisition and delivery about Volcano Eruption in Cumbre Vieja (La Palma)

Main Diagram

Instalation

Clone this repo, create a Python 3 virtualenv and install the dependencies:

$ pip install -r requirements.txt

Fill out, at least, the following settings in a .env :

Usage

Following command will scrap copernicus website looking for products with TARGET_MAP_ID and TARGET_STATUS and will download the corresponding package vectors and pdf files for the given copernicus component id:

$ python main.py

Options

Usage: main.py [OPTIONS]

Options:
  -v, --verbose                  Loglevel increased to debug
  -x, --clean                    Remove download folder after execution
  -n, --notify                   Notify vectors package via email
  -m, --target-monit-id INTEGER  Target monitoring id. If -1, all products
                                 will be checked  [default: -1]
  -r, --reset-monit-ids          Reset checked monitoring ids
  --help                         Show this message and exit.