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://software.ecmwf.int/metview/Metview’s+Python+Interface

Requirements

  • A working Metview 5 installation (at least version 5.0.3, ideally 5.2.1), either from binaries or built from source. See https://software.ecmwf.int/metview/Releases

  • 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

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 folder contains some Jupyter notebooks and some standalone examples for you to try out!

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

metview-0.9.0.tar.gz (1.1 MB view details)

Uploaded Source

Built Distribution

metview-0.9.0-py2.py3-none-any.whl (14.0 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: metview-0.9.0.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.23.0 CPython/3.6.1

File hashes

Hashes for metview-0.9.0.tar.gz
Algorithm Hash digest
SHA256 e1e18392e597bb1420feeafe4de6471a6587e4083f68cfb401b5b7d28b1a3c71
MD5 9ddc8207230314ebccec59f581bb88a2
BLAKE2b-256 8ecbab7297a4cadb8d71793e708fba451b3a095a16274fb7f1c4e10985a4c9d3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: metview-0.9.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 14.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.23.0 CPython/3.6.1

File hashes

Hashes for metview-0.9.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 165152cea633ca7198e7041810b5419fd6bd178aa3faa726a7cdcd2aadba5661
MD5 6254cf22ae13b0e58d0f0962d54d6632
BLAKE2b-256 b614a9443e9306d6cab1df78dc6b131d6a4a957d28a3b11212e093a1ab6af089

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