Skip to main content

Collection of tools for reading, visualizing and performing calculations with weather data.

Project description

MetPy

License Gitter PRs Welcome

Latest Docs PyPI Package Conda Package

PyPI Downloads Conda Downloads

Travis Build Status AppVeyor Build Status Code Coverage Status

Codacy issues Code Climate

MetPy is a collection of tools in Python for reading, visualizing and performing calculations with weather data.

MetPy follows semantic versioning in its version number. With our current 0.x version, that implies that MetPy's APIs (application programming interfaces) are still evolving (we won't break things just for fun, but many things are still changing as we work through design issues). Also, for a version 0.x.y, we change x when we release new features, and y when we make a release with only bug fixes.

For additional MetPy examples not included in this repository, please see the Unidata Python Gallery.

We support Python >= 3.6.

0.12 is the first version to drop support for Python 2.7 in Fall 2019. See here <https://github.com/Unidata/MetPy/blob/master/docs/installguide.rst>_ for more information.

Need Help?

Need help using MetPy? Found an issue? Have a feature request? Checkout our support page.

Important Links

Dependencies

Other required packages:

  • Numpy
  • Scipy
  • Matplotlib
  • Pandas
  • Pint
  • Xarray

There is also an optional dependency on the pyproj library for geographic projections (used with cross sections, grid spacing calculation, and the GiniFile interface).

See the installation guide for more information.

Code of Conduct

We want everyone to feel welcome to contribute to MetPy and participate in discussions. In that spirit please have a look at our Code of Conduct.

Contributing

Imposter syndrome disclaimer: We want your help. No, really.

There may be a little voice inside your head that is telling you that you're not ready to be an open source contributor; that your skills aren't nearly good enough to contribute. What could you possibly offer a project like this one?

We assure you - the little voice in your head is wrong. If you can write code at all, you can contribute code to open source. Contributing to open source projects is a fantastic way to advance one's coding skills. Writing perfect code isn't the measure of a good developer (that would disqualify all of us!); it's trying to create something, making mistakes, and learning from those mistakes. That's how we all improve, and we are happy to help others learn.

Being an open source contributor doesn't just mean writing code, either. You can help out by writing documentation, tests, or even giving feedback about the project (and yes - that includes giving feedback about the contribution process). Some of these contributions may be the most valuable to the project as a whole, because you're coming to the project with fresh eyes, so you can see the errors and assumptions that seasoned contributors have glossed over.

For more information, please read the see the contributing guide.

Philosophy

The space MetPy aims for is GEMPAK (and maybe NCL)-like functionality, in a way that plugs easily into the existing scientific Python ecosystem (numpy, scipy, matplotlib). So, if you take the average GEMPAK script for a weather map, you need to:

  • read data
  • calculate a derived field
  • show on a map/skew-T

One of the benefits hoped to achieve over GEMPAK is to make it easier to use these routines for any meteorological Python application; this means making it easy to pull out the LCL calculation and just use that, or re-use the Skew-T with your own data code. MetPy also prides itself on being well-documented and well-tested, so that on-going maintenance is easily manageable.

The intended audience is that of GEMPAK: researchers, educators, and any one wanting to script up weather analysis. It doesn't even have to be scripting; all python meteorology tools are hoped to be able to benefit from MetPy. Conversely, it's hoped to be the meteorological equivalent of the audience of scipy/scikit-learn/skimage.

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

MetPy-1.0.0rc1.tar.gz (5.4 MB view details)

Uploaded Source

Built Distribution

MetPy-1.0.0rc1-py3-none-any.whl (322.4 kB view details)

Uploaded Python 3

File details

Details for the file MetPy-1.0.0rc1.tar.gz.

File metadata

  • Download URL: MetPy-1.0.0rc1.tar.gz
  • Upload date:
  • Size: 5.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.1

File hashes

Hashes for MetPy-1.0.0rc1.tar.gz
Algorithm Hash digest
SHA256 46bbf435da179ff2e65d884dcba4dda265e2850e6df2697d58f13cfcb7e2ad1d
MD5 4159ee224b3e59ca6572b2998598f820
BLAKE2b-256 e3d11cc36245ca27c8e653ea27ce5efa546ed7f733a9f3367c05755861c43032

See more details on using hashes here.

File details

Details for the file MetPy-1.0.0rc1-py3-none-any.whl.

File metadata

  • Download URL: MetPy-1.0.0rc1-py3-none-any.whl
  • Upload date:
  • Size: 322.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.1

File hashes

Hashes for MetPy-1.0.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 5c03ea3a0ea44fdc537e7c096f8adcf87ddef9333084cef4ab1731b9ce065f36
MD5 79c1593fbd9f4725945f3b4f08baa4eb
BLAKE2b-256 ee57e99ea64b62a0cf1696ea88545e4bca7eace4625a13079416710d8fa0b4e3

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 Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page