Installation#

pymica needs the following dependencies:

  • python 3.9/3.10

  • cython

  • numpy

  • scipy

  • scikit-learn

  • gdal

  • pyproj

  • pyshp

  • shapely

There are several ways to install this package.

Anaconda install#

pymica is available in meteocat Anaconda channel and it can be installed in your conda environment by running in a terminal the following command:

$ conda install -c meteocat -c conda-forge pymica

pip install#

pymica is also avaialbe in Python package installer pip and it can be installed in your environemnt by running in a terminal the following command:

$ pip install -r requirements.txt
$ pip install pymica

Install from source#

To install pymica from source it is recommended to use pip instead of setup.py.

$ pip install ./pymica

conda environment#

A conda environment can be created using environment.yml file.

$ conda env create -f environment.yml