Skip to main content

No project description provided

Project description

Large Scale Sea level visualizations of unstructured mesh data

Thalassa is a library/application for visualizing large scale results of hydrodynamic simulations.

https://user-images.githubusercontent.com/411196/146007390-88e8cc59-9ae9-4a15-83fd-f7f1f2d724c2.mp4

Obtaining Data

You will need some data to visualize. If you don't have any you can download a sample dataset created with pyposeidon:

mkdir ./data
wget -O data/dataset.nc https://static.techrad.eu/thalassa/dataset.nc

Deploying on a server

  1. Install the binary dependencies:
  • python 3.9
  • proj < 8
  1. Install the python dependencies with
pip install -r requirements/requirements.txt
  1. Run the panel server with:
panel serve ./run.py

For the record, panel serve is a thin wrapper around the bokeh server. It provides lots of command line options which can useful in various deployments scenarios. Of particular interest might be --num-procs which spawns multiple workers and --allow-websocket-origin. Make sure to check the docs:

Developing

Prerequisites

For managing dependencies we use poetry.

pipx install poetry

Install dependencies

Just run:

poetry install

and please make sure to also install the pre-commit hooks:

pre-commit install

Running Thalassa

As a web application

It should be as simple as:

panel serve ./run.py --autoreload

Inside jupyterlab

Open the Thalassa.ipynb in jupyterlab

License

The project is released under the EUPL v1.2 license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

thalassa-0.2.0.tar.gz (28.9 kB view hashes)

Uploaded Source

Built Distribution

thalassa-0.2.0-py3-none-any.whl (31.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page