Skip to main content

Python interface to plot meterological data in GRIB, NetCDF and BUFR.

Project description

Magics is the latest generation of the ECMWF’s meteorological plotting software and can be either accessed directly through its Python or Fortran interfaces or by using Metview.

Features:

  • supports plotting of contours, wind fields, observations, satellite images, symbols, text, axis and graphs (including boxplots)

  • can plot GRIB 1 and 2 coded data, gaussian grid, regularly spaced grid and fitted data

Limitations:

  • development stage: Alpha,

Installation

The package is installed from PyPI with:

$ pip install magics

System dependencies

The python module depends on the ECMWF Magics library 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. On Ubuntu 18.04 use the command:

$ sudo apt-get install libmagplus3

On a MacOS with HomeBrew use:

$ brew install magics

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

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

You may run a simple selfcheck command to ensure that your system is set up correctly:

$ python -m magics selfcheck
Found: Magics v3.4.0.
Your system is ready.

Usage

ToDo

Dataset / Variable API

You may try out the high level API in a python interpreter:

>>> import magics-python

Contributing

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

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

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

Lead developer:

  • Sylvie Lamy-Thepaut - ECMWF

Main contributors:

See also the list of contributors who participated in this project.

License

Copyright 2017-2018 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

magics-0.9.0.dev0.tar.gz (15.6 kB view details)

Uploaded Source

Built Distribution

magics-0.9.0.dev0-py3-none-any.whl (15.7 kB view details)

Uploaded Python 3

File details

Details for the file magics-0.9.0.dev0.tar.gz.

File metadata

  • Download URL: magics-0.9.0.dev0.tar.gz
  • Upload date:
  • Size: 15.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.7.0

File hashes

Hashes for magics-0.9.0.dev0.tar.gz
Algorithm Hash digest
SHA256 b219602bf5b1013ab0cdd69eb9dcd484afbbb03215e4be5e5ecba52e64205405
MD5 ff91ca0b06fd68423174c12d104e2bc7
BLAKE2b-256 453bedd2e1d43808ca8ed3e7dd599427748ae0c032edca646f244c49bc692022

See more details on using hashes here.

File details

Details for the file magics-0.9.0.dev0-py3-none-any.whl.

File metadata

  • Download URL: magics-0.9.0.dev0-py3-none-any.whl
  • Upload date:
  • Size: 15.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.7.0

File hashes

Hashes for magics-0.9.0.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 4ca70880589021bc67a5d54552243c110a4412ec6b46783633074898b96bf106
MD5 de5a3902fa344c7f3cc2c813f6f82448
BLAKE2b-256 c944154f46e6081bfc5f03d31a671dce3af83bbd0fffee3b4b3da9eae8a39ef6

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