Sign inSign up

openearth/sdc-visualization

By openearth

Updated over 7 years ago

Visualization examples for SeaDataCloud

Image
0

309

openearth/sdc-visualization repository overview

SeaDataCloud visualizations

pypi

travis docs pyup

Visualisation tools and services for SeaDataCloud

Features

Visualizations of ODV files for SeaDataCloud

build Docker container

docker build -t deltares-jupyter:latest .

run Docker image on port 8888

docker run -d -p 8888:8888 --name deltares-jupyter --privileged --cap-add SYS_ADMIN --device /dev/fuse deltares-jupyter start-notebook.sh --NotebookApp.token='sdc'

mount b2drop in the running Docker container, if needed

docker exec -it deltares-jupyter bash /etc/init.d/mount-b2drop <B2DROP_APP_USERNAME> <B2DROP_APP_PASSWORD> https://b2drop.eudat.eu/remote.php/webdav/

Installation

python setup.py install conda install pillow conda install datetime

Run the visualization app using the dataset.nc

Start the server $ sdc_visualization serve dataset.nc

Look at the API response in http://localhost:5000/api/dataset.

Logging

Both the start-notebook and the b2drop script use logging to stdout. Both use configurable logging as defined in b-log for bash in python logging.

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

Tag summary

Content type

Image

Digest

Size

1.1 GB

Last updated

almost 8 years ago

docker pull openearth/sdc-visualization