You are downloading satellite images from the new ESA Sentinel Hub API and merging them into animated gifs using pure Python.
A while ago, I wrapped up the know-how of collecting and preparing satellite imagery data from the European Space Agency’s Sentinel satellites in my article titled Deep Dive into ESA’s Sentinel API. Since then, ESA rolled out a major update unseen in years on the Sentinel Hub with updates API access methods. Hence, I briefly review how to get data from the current API. As an additional use-case, I also show how to merge the downloaded satellite image snapshots into animated gifs using pure Python. This article aims to get you started and be onboard, with the possibility to further explore the API depending on specific use cases and data sets.
All images created by the author.
1. Getting started
First, you will need to install the sentinelhub python library, which you can do in a Jupyter notebook by running the following cell:
import sys
!{sys.executable} -m pip install sentinelhub --upgrade
Then, you will also need to sign up and create your access tokens. You may read about the how-to here and get your account up and running on your…