In general, MetPy tries to support minor versions of dependencies released within the last two years. For Python itself, that generally means supporting the last two minor releases; MetPy currently supports Python >= 3.8.
"matplotlib>=3.3.0", "numpy>=1.18.0", "pandas>=1.0.0", "pint>=0.15", "pooch>=1.2.0", "pyproj>=2.6.1", "scipy>=1.4.0", "traitlets>=5.0.5", "xarray>=0.18.0"
The easiest way to install MetPy is through
pip install metpy
conda install -c conda-forge metpy
The source code can also be grabbed from GitHub. From the base of the source directory, run:
pip install .
This will build and install MetPy into your current Python installation.
Working With Conda#
The MetPy source comes with a set of example scripts in the
directory. These are also available as notebooks in the Example Gallery.