Installation Guide¶
Requirements¶
MetPy supports Python 2.7 as well as Python >= 3.2. Python 3.4 is the recommended version.
- MetPy requires the following packages:
- NumPy >= 1.8.0
- SciPy >= 0.13.3
- Matplotlib >= 1.4.0
- pint >= 0.6
- Installation Instructions for NumPy and SciPy can be found at:
- http://www.scipy.org/scipylib/download.html
- Installation Instructions for Matplotlib can be found at:
- http://matplotlib.org/downloads.html
Pint is a pure python package and can be installed via pip install pint
.
Installation¶
The easiest way to install MetPy is through pip
:
pip install metpy
The source code can also be grabbed from GitHub. From the base of the source directory, run:
python setup.py install
This will build and install MetPy into your current Python installation.
Examples¶
The MetPy source comes with a set of example IPython notebooks in the examples/notebooks
directory.
These can also be converted to standalone scripts (provided IPython is installed) using:
python setup.py examples
These examples are also seen within the documentation in the MetPy Examples.