In this tutorial, you will learn how to use PySTAC Client and search for satellite imagery using a STAC API. This is part of the course on Advanced Geospatial Analytics with Python taught since Fall 2023 at Clark University.
You need to have Pixi installed on your machine.
First, you need to pull this repository to your local computer:
git clone git@github.com:HamedAlemo/stac-search-tutorial.git
Change your current directory to be inside the downloaded repository:
cd stac-search-tutorial
Install the environment (Python 3.13 and all the required packages are defined in pixi.toml):
pixi install
Start Jupyter Lab:
pixi run lab
- Jupyter Lab will open in your browser. If it doesn't, copy the Jupyter Lab url and paste it in your browser.
- Open
earth_search_tutorial.ipynband follow the instructions.