Skip to main content

Metview Python API.

Project description

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:

https://mybinder.org/badge_logo.svg

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

  • 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

Build Status on Travis CI 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.

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

metview-1.16.2.tar.gz (9.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

metview-1.16.2-py2.py3-none-any.whl (415.2 kB view details)

Uploaded Python 2Python 3

File details

Details for the file metview-1.16.2.tar.gz.

File metadata

  • Download URL: metview-1.16.2.tar.gz
  • Upload date:
  • Size: 9.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.8

File hashes

Hashes for metview-1.16.2.tar.gz
Algorithm Hash digest
SHA256 4748ced94c3d94b0bf24e8f63014eff390762a4461964392518b29844c534f95
MD5 095d70669b8b652444b9d3ca9e24fa8f
BLAKE2b-256 1ea152752d9cdbe5779eca2667a44999c05182e27ef7a14479065e785a01fbd0

See more details on using hashes here.

File details

Details for the file metview-1.16.2-py2.py3-none-any.whl.

File metadata

  • Download URL: metview-1.16.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 415.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.8

File hashes

Hashes for metview-1.16.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 fbd18d35e5b2a3c4108900454046374dc8b090ab81f7ff9229b27e98850f6a09
MD5 eb97670cd88b9be1cd9c2842114c4358
BLAKE2b-256 e74889c3d73383c6f94eb3882fd024a994de5038facae4005a3530e9b3a7c9b4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page