Para criar um ambiente apropriado à execução do Jupyter Notebook dessa aula, crie um ambiente virtual com os seguintes pacotes (ou bibliotecas):
conda create --name geospatial \
python=3 numpy matplotlib pandas \
gdal shapely fiona geopandas rasterio \
notebook jupyterlab ipykernel nb_conda_kernels
Em seguida, ative o novo ambiente criado:
conda activate geospatial
O prompt do seu sistema deve ter incluído o prefixo (geospatial)
, como mostrado abaixo:
(geospatial) gribeiro@enghaw-dell-note:~$
Nesse ambiente, vamos instalar o cliente STAC desenvolvido no projeto Brazil Data Cube:
python -m pip install -e git+https://github.com/brazil-data-cube/[email protected]#egg=stac
Vá para a pasta do curso e lance o ambiente do Jupyter Notebook:
cd ~/Curso
jupyter-notebook