Metview Python bindings

Python interface to Metview, a meteorological workstation and batch system for accessing, examining, manipulating and visualising meteorological data.
https://github.com/ecmwf/metview-python

Category: Atmosphere
Sub Category: Meteorological Observation and Forecast

Keywords from Contributors

grib meteorology transformations earth-science bufr decoding encoding weather measur archiving

Last synced: about 8 hours ago
JSON representation

Repository metadata

Python interface to Metview meteorological workstation and batch system

README.rst

          
Metview Python bindings
=======================

Python interface to Metview, a meteorological workstation and batch system for accessing, examining, manipulating and visualising meteorological data.
See documentation at https://metview.readthedocs.io/en/latest/index.html


Try the example notebooks on Binder!
------------------------------------
Click the link below to start a Binder session to try the examples online now:

.. image:: https://mybinder.org/badge_logo.svg
 :target: https://mybinder.org/v2/gh/ecmwf/metview-python/master?filepath=examples


Requirements
------------

- A working Metview 5 installation (at least version 5.0.3, ideally 5.3.0 or above), either from binaries or built from source.
  Conda packages are available for Linux, and native packages are available for many Linux distributions.
  See https://metview.readthedocs.io/en/latest/install.html

  - An alternative is to build from the Metview Source Bundle.
    See https://confluence.ecmwf.int/metview/The+Metview+Source+Bundle

- Ensure that the command 'metview' will run this version by setting your PATH to include the 'bin' directory
  from where you built or installed it if it's not in a default location.

- A Python 3 interpreter (ideally version >= 3.5) 


Install
-------

The package is installed from PyPI with::

    $ pip install metview


or from conda-forge with::

    $ conda install metview-python -c conda-forge


Test
----

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

    $ python -m metview selfcheck
    Hello world - printed from Metview!
    Trying to connect to a Metview installation...
    Metview version 5.2.0 found
    Your system is ready.


To manually test that your system is properly setup open a Python 3 interpreter and try::

    >>> import metview as mv
    >>> mv.lowercase('Hello World!')
    'hello world!'


Examples
--------

The [examples](examples) folder contains some Jupyter notebooks and some standalone examples for you to try out!


Project resources
-----------------

============= =========================================================
Development   https://github.com/ecmwf/metview-python
Download      https://pypi.org/project/metview
Code quality  .. image:: https://travis-ci.com/ecmwf/metview-python.svg?branch=master
                :target: https://travis-ci.com/ecmwf/metview-python
                :alt: Build Status on Travis CI
              .. image:: https://coveralls.io/repos/ecmwf/metview-python/badge.svg?branch=master&service=github
                :target: https://coveralls.io/github/ecmwf/metview-python
                :alt: Coverage Status on Coveralls
============= =========================================================


License
-------

Copyright 2017-2021 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.

        

Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 9 days ago

Total Commits: 1,050
Total Committers: 13
Avg Commits per committer: 80.769
Development Distribution Score (DDS): 0.453

Commits in past year: 11
Committers in past year: 2
Avg Commits per committer in past year: 5.5
Development Distribution Score (DDS) in past year: 0.455

Name Email Commits
Iain Russell I****l@e****t 574
Sandor Kertesz c****r@e****t 242
Alessandro Amici a****i@b****u 128
Marco Di Bari m****i@b****u 47
Ralf Mueller r****r@m****e 34
dependabot[bot] 4****] 8
Fernando f****i@e****t 5
StephanSiemen s****n@g****m 5
Aureliana Barghini a****i@b****u 2
Fernando Ii f****i@F****l 2
Baudouin Raoult b****t@e****t 1
Shahram Najm m****n@e****t 1
Fernando c****k@e****t 1

Committer domains:


Issue and Pull Request metadata

Last synced: 1 day ago

Total issues: 53
Total pull requests: 17
Average time to close issues: 28 days
Average time to close pull requests: 14 days
Total issue authors: 29
Total pull request authors: 5
Average comments per issue: 2.75
Average comments per pull request: 1.24
Merged pull request: 14
Bot issues: 0
Bot pull requests: 11

Past year issues: 5
Past year pull requests: 8
Past year average time to close issues: 2 days
Past year average time to close pull requests: 8 days
Past year issue authors: 4
Past year pull request authors: 1
Past year average comments per issue: 0.2
Past year average comments per pull request: 1.25
Past year merged pull request: 6
Past year bot issues: 0
Past year bot pull requests: 8

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/ecmwf/metview-python

Top Issue Authors

  • gkafk (15)
  • iainrussell (5)
  • SpechtacularDave (3)
  • Tsironisa (2)
  • jmb64 (2)
  • nicrie (2)
  • deepgabani8 (2)
  • ofuhrer (1)
  • snow73 (1)
  • Liar-man (1)
  • jhbravo (1)
  • rochutb (1)
  • MiNeEU (1)
  • raybellwaves (1)
  • Ultiseeker (1)

Top Pull Request Authors

  • dependabot[bot] (11)
  • alexamici (3)
  • Try2Code (1)
  • iainrussell (1)
  • StephanSiemen (1)

Top Issue Labels

  • bug (10)
  • enhancement (2)
  • good first issue (1)
  • documentation (1)
  • code cleanliness (1)
  • metview-binaries (1)

Top Pull Request Labels

  • dependencies (11)

Package metadata

pypi.org: metview

Metview Python API.

  • Homepage: https://github.com/ecmwf/metview-python
  • Documentation: https://metview.readthedocs.io/
  • Licenses: Apache License Version 2.0
  • Latest release: 1.16.1 (published 10 months ago)
  • Last Synced: 2025-04-29T14:08:42.671Z (1 day ago)
  • Versions: 39
  • Dependent Packages: 0
  • Dependent Repositories: 5
  • Downloads: 3,328 Last month
  • Rankings:
    • Stargazers count: 6.578%
    • Dependent repos count: 6.63%
    • Downloads: 6.82%
    • Forks count: 7.137%
    • Average: 7.443%
    • Dependent packages count: 10.052%
  • Maintainers (2)
conda-forge.org: metview-python

  • Homepage: https://github.com/ecmwf/metview-python
  • Licenses: Apache-2.0
  • Latest release: 1.13.1 (published over 2 years ago)
  • Last Synced: 2025-04-01T02:08:55.015Z (30 days ago)
  • Versions: 11
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Rankings:
    • Dependent repos count: 24.348%
    • Stargazers count: 32.557%
    • Forks count: 33.115%
    • Average: 35.402%
    • Dependent packages count: 51.589%

Dependencies

requirements/requirements-dev.txt pypi
  • check-manifest * development
  • detox * development
  • flake8 * development
  • ipython * development
  • matplotlib * development
  • notebook * development
  • pip-tools * development
  • pytest-mypy * development
  • setuptools * development
  • tox * development
  • tox-pyenv * development
  • wheel * development
  • zest.releaser * development
requirements/requirements-docs.in pypi
  • Sphinx *
  • pytest-runner *
requirements/requirements-docs.txt pypi
  • alabaster ==0.7.10
  • babel ==2.9.1
  • certifi ==2018.1.18
  • chardet ==3.0.4
  • docutils ==0.14
  • idna ==2.6
  • imagesize ==1.0.0
  • jinja2 ==2.11.3
  • markupsafe ==1.0
  • packaging ==17.1
  • pygments >=2.7.4
  • pyparsing ==2.2.0
  • pytest-runner ==4.2
  • pytz ==2018.3
  • requests ==2.21.0
  • six ==1.11.0
  • snowballstemmer ==1.2.1
  • sphinx ==1.7.2
  • sphinxcontrib-websupport ==1.0.1
  • typing ==3.7.4.3
  • urllib3 ==1.26.5
requirements/requirements-tests.in pypi
  • cfgrib * test
  • netCDF4 * test
  • pytest * test
  • pytest-cov * test
  • pytest-flakes * test
  • pytest-mccabe * test
  • pytest-pep8 * test
  • pytest-runner * test
  • xarray * test
requirements/requirements-tests.txt pypi
  • apipkg ==1.4 test
  • atomicwrites ==1.1.5 test
  • attrs ==20.3.0 test
  • cffi ==1.11.5 test
  • cfgrib ==0.9.4.2 test
  • cftime ==1.0.3.4 test
  • coverage ==4.5.1 test
  • execnet ==1.5.0 test
  • future ==0.17.1 test
  • mccabe ==0.6.1 test
  • more-itertools ==4.2.0 test
  • netcdf4 ==1.4.2 test
  • numpy ==1.14.3 test
  • pandas ==0.23.0 test
  • pep8 ==1.7.1 test
  • pluggy ==0.6.0 test
  • py ==1.10.0 test
  • pycparser ==2.18 test
  • pyflakes ==2.0.0 test
  • pytest ==3.6.0 test
  • pytest-cache ==1.0 test
  • pytest-cov ==2.5.1 test
  • pytest-flakes ==3.0.2 test
  • pytest-mccabe ==0.1 test
  • pytest-pep8 ==1.0.6 test
  • pytest-runner ==4.2 test
  • python-dateutil ==2.7.3 test
  • pytz ==2018.4 test
  • six ==1.11.0 test
  • typing ==3.6.6 test
  • xarray ==0.11.0 test
setup.py pypi
  • PyYAML *
  • cffi *
  • numpy *
  • pandas *
  • requests *
environment.yml conda
  • metview-batch >=5.16.0
  • pip

Score: 15.707915042332608