Installation

This section explains how to install rastereasy and integrate it into your Python environment.

With pip

You can install rastereasy using pip, which is the simplest method:

$ pip install rastereasy

From source

To install rastereasy from source:

  1. Clone the repository from GitHub:

    $ git clone https://github.com/pythonraster/rastereasy.git
    
  2. Navigate to the repository’s root directory:

    $ cd rastereasy
    
  3. Install the package using pip:

    $ pip install .
    

Note for jupyter-lab users

As illustrated, rastereasy supports interactive plotting of spectral bands for individual pixels.

To enable this functionality in Jupyter Notebook, rastereasy installs some Jupyter extensions in your environment. If it doesn’t work, you may need to rebuild jupyter by the command:

` jupyter lab build `