Skip to content
This repository has been archived by the owner on Jun 26, 2021. It is now read-only.

Latest commit

 

History

History
42 lines (26 loc) · 992 Bytes

stac.md

File metadata and controls

42 lines (26 loc) · 992 Bytes

SpatioTemporal Asset Catalog - Aula Prática

Preparando Ambiente Python com Anaconda

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