Skip to main content

A light WMS server to visualise your NetCDf and Grib data

Project description

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, they both 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.

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 skinnywms

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

$ pip install skinnywms

Limitations:

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

  • development stage: Alpha,

Add your own styles:

Multi-process

Cache

How to install Magics

that must be installed on the system and accessible as a shared library. Some Linux distributions ship a binary version that may be installed with the standard package manager.

As an alternative you may install the official source distribution by following the instructions at https://software.ecmwf.int/magics/Installation+Guide Magics is available on github https://github.com/ecmwf/magics

Note that Magics support for the Windows operating system is experimental.

Contributing

The main repository is hosted on GitHub, testing, bug reports and contributions are highly welcomed and appreciated:

https://github.com/ecmwf/skinnywms https://github.com/ecmwf/magics-python https://github.com/ecmwf/magics

Please see the CONTRIBUTING.rst document for the best way to help.

Lead developer:

  • Sylvie Lamy-Thepaut <https://github.com/sylvielamythepaut>_ - ECMWF

Main contributors:

  • Baudouin Raoult - ECMWF
  • Stephan Siemen <https://github.com/stephansiemen>_ - ECMWF
  • Milana Vuckovic- ECMWF

License

Copyright 2017-2019 European Centre for Medium-Range Weather Forecasts (ECMWF).

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at: http://www.apache.org/licenses/LICENSE-2.0. Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the 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

skinnywms-0.1.0.tar.gz (12.6 MB view details)

Uploaded Source

Built Distribution

skinnywms-0.1.0-py3-none-any.whl (36.4 kB view details)

Uploaded Python 3

File details

Details for the file skinnywms-0.1.0.tar.gz.

File metadata

  • Download URL: skinnywms-0.1.0.tar.gz
  • Upload date:
  • Size: 12.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.7.0

File hashes

Hashes for skinnywms-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ab196e4e76609c9c43bcecc9aff6ffdfc447edbe33f00ad2ec0570040cc6f1fa
MD5 b5fdd33919bcf23a25ac89fcfc95eee0
BLAKE2b-256 b9a75bba537886b30e08080aa15be5da340b8c5db1a53fdab2aeb6580bd4e3a2

See more details on using hashes here.

File details

Details for the file skinnywms-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: skinnywms-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 36.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.7.0

File hashes

Hashes for skinnywms-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7c3670ca1fa94fb47a1464c5c96070f9943bd562d31ca8a1b3e5d9d52826403b
MD5 cb2cbf99fa6a64a32bb36bfae3b3fc32
BLAKE2b-256 e30daaabae50c3048cda8aba7cb71e860e5d047ec5abdb88ee6af283712bb868

See more details on using hashes here.

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