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-hypernode.com/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.10.2.tar.gz (9.0 MB view details)

Uploaded Source

Built Distribution

metview-1.10.2-py2.py3-none-any.whl (374.9 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: metview-1.10.2.tar.gz
  • Upload date:
  • Size: 9.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.25.1 setuptools/56.0.0 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.6.8

File hashes

Hashes for metview-1.10.2.tar.gz
Algorithm Hash digest
SHA256 d7b3d3af91a67a9a2e36f8c4362088d3bd6b29d2b6cbd03203fe5f5d81284916
MD5 c2071cf9e7be87eda8f40ec01131e3d3
BLAKE2b-256 f771e9947df667e879449df5f3c50c1e1b6ee3402c85467a044e3f4f48c62f67

See more details on using hashes here.

File details

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

File metadata

  • Download URL: metview-1.10.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 374.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.25.1 setuptools/56.0.0 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.6.8

File hashes

Hashes for metview-1.10.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8042376ae8c233ff1162eb0ba2623f0f735d6069459f42ab360c1cf00d7e0527
MD5 9417ce072619972a0614eeacbb4f9c94
BLAKE2b-256 931beb8524c00b9472f0b3cdf13189dda3d719d352f726da4e628537d62cac1e

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