Giter Site home page Giter Site logo

wenfanwu / thalassa Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ec-jrc/thalassa

0.0 0.0 0.0 2.85 MB

Large Scale Sea level visualizations of unstructured mesh data

License: European Union Public License 1.2

Python 82.14% Makefile 1.69% Jupyter Notebook 16.17%

thalassa's Introduction

Large Scale Sea level visualizations of unstructured mesh data

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

thalassa-2021-12-14_15.21.35.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.

thalassa's People

Contributors

brey avatar pmav99 avatar dependabot[bot] avatar wzhengui avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.