Installation
============
Required dependencies
---------------------
- Python 2.7, 3,6, 3.7, or 3.8.
- `numpy `__
- `matplotlib `__
- `rasterio `__
- `shapely `__
- `xarray `__
For plotting on geographical maps:
- `cartopy `__
To open Natural Earth datasets (shapefiles):
- `geopandas `__
Instructions
------------
regionmask itself is a pure Python package, but its dependencies are not. The
easiest way to get them installed is to use conda_. The package is avilable
on the conda-forge channel.
.. code-block:: bash
conda install -c conda-forge regionmask
If you don't use conda, be sure you have the required dependencies. You can
then install regionmask via pip:
.. code-block:: bash
pip install regionmask
To run the test suite, install
`py.test `__ and run ``py.test regionmask``.
To install the development version (master), do:
.. code-block:: bash
pip install git+https://github.com/mathause/regionmask
.. _conda: http://conda.io/