Public Repository

Last pushed: a year ago
Short Description
Visualizing of oceanographic datasets
Full Description

What is OceanBrowser?

OceanBrowser is a web-service that allows to visualize gridded fields.

How to use this image?

Minimal configuration

To run OceanBrowser to server the NetCDF files available at /some/netcdf/files issue the following command:

docker run -p 8080:80 --name my-oceanbrowser-container \
       -v /some/netcdf/files/:/var/www/data:ro abarth/oceanbrowser

The web interface can be accessed now at http://localhost:8080/.

More complete setup

OceanBrowser can be configured using environement variables. They can be specified directly at the command line using the option -e(more info here) using a environment file with the option --env-file:

docker run -p 8080:80 --name my-oceanbrowser-container \
       --env-file oceanbrowser.env
       -v /some/netcdf/files/:/var/www/data:ro \
       -v /my/local/cache/:/var/oceanbrowser/tmp  abarth/oceanbrowser

The directory /my/local/cache/ contains the image cache of OceanBrowser. By using a directory outside the container is contents persists one the container is deleted. This directory must be writable for the user running the docker container (which is usually root).

Where the file oceanbrowser.env contains the following information:

OCEANBROWSER_WMS_URL=http://gher-diva.phys.ulg.ac.be/gher-data/Python/web/wms?
OCEANBROWSER_HTTP_BASEURL=http://gher-diva.phys.ulg.ac.be/data/GHER/
OCEANBROWSER_OPENDAP_BASEURL=http://gher-diva.phys.ulg.ac.be:8080/GHER/
OCEANBROWSER_SUBTITLE=Viewing and Downloading service
OCEANBROWSER_TITLE=OceanBrowser
OCEANBROWSER_URL=http://modb.oce.ulg.ac.be/mediawiki/index.php/GeoHydrodynamics_and_Environment_Research
OCEANBROWSER_WMS_ABSTRACT=Map Server maintained by the GHER showing ocean climatologies.
OCEANBROWSER_WMS_CONTACT_ORGANIZATION=GHER, ULg, Belgium
OCEANBROWSER_WMS_CONTACT_PERSON=Alexander Barth
OCEANBROWSER_WMS_EMAIL=your@mail.org
OCEANBROWSER_WMS_KEYWORDS=ocean climatology diva
OCEANBROWSER_WMS_TITLE=GHER, ULg

The most important variable is OCEANBROWSER_WMS_URL. It corresponds the the URL from which OceanBrowser is accessible from the outside followed by /Python/web/wms?. Per default this variable is set to http://localhost:8080/Python/web/wms?. You almost certainly want to change this.

License

GNU Affero General Public License

Docker Pull Command
Owner
abarth