MENU

Fun & Interesting

Introduction to Sentinel Hub in the Jupyter Lab

Video Not Working? Fix It Now

Using the Jupyter Lab available in Copernicus Data Space Ecosystem, we explore how to use Sentinel Hub API requests for accessing Sentinel data. Jupyter provides an interactive environment for controlling the Sentinel Hub API-s. Through an example of burnt area mapping, we learn to edit custom scrips, create API requests in CDSE Requests Builder, and perform basic data analysis with the results of a Sentinel Hub Process API request. It was recorded as part of the "Introduction to Cloud Processing of Sentinel Satellite Imagery" training course at the Hungarian University of Agriculture and Life Sciences. Please use the CDSE forum for questions and comments. https://forum.dataspace.copernicus.eu/ 0:00 Intro 1:15 How to access the Jupyter Lab 1:47 Finding Jupyter sample notebooks 3:08 How Jupyter Notebooks work 4:23 Introduction to the From Browser to Jupyter notebook https://github.com/eu-cdse/notebook-samples/blob/main/sentinelhub/from_browser_to_jupyter.ipynb 7:19 How the burnt area custom script works https://custom-scripts.sentinel-hub.com/custom-scripts/sentinel-2/burned_area_ms/ 12:45 Finding the date of a wildfire using satellite imagery time series 15:53 Editing the custom script to also output a 1||0 burn mask dataset 17:25 Introduction to Requests Builder (https://shapps.dataspace.copernicus.eu/requests-builder) 29:45 Calculating the time series directly in the Jupyter notebook 30:37 How to create an OAuth client in CDSE Sentinel Hub Dashboard 32:50 Importing dependencies in the Jupyter Notebook 33:23 Entering the OAuth credentials and creating a configuration 35:00 Defining time slots for the burnt area time series 35:40 Defining the evalscript for the API request 36:30 Defining the Process API request 38:30 Running the API request for each time slot 39:50 Creating plots from the output of the API requests 40:50 Quantifying the burnt area by counting the pixels 42:10 Creating a line chart using the burnt area calculations 42:40 Recalculating the notebook for a wildfire in Hungary (The Csönge wildfire in NW Hungary that took place between 8 and 23 September 2024. Bbox for the API request: [17.029839, 47.311828, 17.174721, 47.392307]) 44:28 Checking the fire study area in Hungary in Copernicus Browser, link: https://link.dataspace.copernicus.eu/0q14 46:20 Adjusting the time slots and study area, and re-running the notebook 48:46 Brief overview of Introduction to Sentinel Hub API-s notebook (link to notebook: https://github.com/eu-cdse/notebook-samples/blob/main/sentinelhub/introduction_to_SH_APIs.ipynb; link to youtube tutorial for this notebook: https://www.youtube.com/playlist?list=PLj4KwRQTBlPL3CVwpaBXl3VrO0_V3VX_Q)

Comment