Skip to content

Anonymous5726221/lapalma_data

Repository files navigation

La Palma 2021 Eruption

Introduction

Collection of scripts and notebooks to gather and visualize data about the 2021 La Palma (Canary Islands) eruption.

Usage

Read-only

You can access a read-only version of the notebook on nbviewer nbviewer

Run in local

To run locally, clone this repo then cd into it.

$ git clone https://github.com/Anonymous5726221/lapalma_data.git
$ cd lapalm_data

Start jupyterlab by running the provided script then click on the link in the logs.

$ sh ./start-jupyter-nb.sh

Before running the notebook you'll need to install the dependencies. To do that open a terminal in the jupyter and do the following

$ cd work
$ pip install -r requirements.txt

Once that's done you can open the main.ipynb notebook and run it.

Development

There is a docker-compose stack available to run the app locally including a subset of the data available in the database.

cd dev

docker-compose up --build

This will build the Dockerfile located in the root dir and start postgresql alonside the dash app using the db dump located in dev/db_dump dir as init data. The app will then be accessible on http://127.0.0.1:8050

Donation

If you find this useful please consider donating to one of my crypto account. Thank you :)

Donate Donate Donate