Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The Skinny WMS is a small WMS server that will help you to visualise your NetCDF and Grib Data. The principle is simple: skinny will browse the directory, or the single file passed as argument, and try to inpterpret each NetCDF or GRIB files.

From the metadata, it will be build the getCapabilities document, and find a relevant styles to plot the data.

Features:

SkinnyWMS implements 3 of the WMS endpoints:

  • getCapabilities: Discover the data, build an XML Document presenting each identified parameter in the file(s) as a layer with the list of their predefined styles. (There is always a default style)

  • getMap : Return the selected layer suing the selected style.

  • getLegendGraphic: Return the legend.

Usage:

There are 2 ways to start using it, both of them will start a small Flask server. Once running, a small leaflet client is accessible [http://127.0.0.1:5000/]

  • The demo:

$

python

demo.py

--path

/path/to/mydata

  • The command line:

$

skinny-wms

--path

/path/to/mydata

Installation:

SkinnyWMS depends on the ECMWF Magics library.

There are several to install skinnywms:

From the source :

They can be found at  

SkinnyWMS depends on the ECMWF Magics library.

If you do not have Magics installed on your platform, skinnywms is available on conda forge https://conda-forge.org/:

$ conda config --add channels conda-forge
$ conda install -c conda-forge skinnywms

If you have Magics already installed you can use pip::

$ pip install skinnywms
  • using pip install

    • $ pip install skinnywms

  • using conda

    • $ conda config --add channels conda-forge

    • $ conda install -c conda-forge

Limitations:

  • SkinnyWMS will perform better on well formatted and documented NetCDF and GRIB.

  • development stage: Alpha,