Let’s have a look first!

Matej Batič
Feb 23, 2018 · 2 min read

Whenever I sit behind the computer and start tinkering with data, I want to get familiar with it first. Phrased elaborately, I perform exploratory analysis before any attempt at interpretation or explanatory break down.

The same holds for satellite data. The amount of available imagery when inspecting an area from space means that I have to sift through a lot of it. Unfortunately, doing this blindly, trusting my knowledge of latitudes and longitudes and bounding boxes, downloading the data just to realize I’ve again swapped the coordinates or that my bbox is offset tens of metres (or kilometres) always crushes the tinkerer in me.

Using Sentinel-Hub tools on a daily basis we got to thinking how we could incorporate something similar to the Sentinel-Playground into the Jupyter notebook environment. Quick search revealed there is a Jupyter/Leaflet bridge enabling interactive maps in the Jupyter notebook — ipyleaflet. Unfortunately, at that time, it did not support WMS layer, but Rok Močnik quickly fixed that, created a merge request and voilà: it is available in the package since version 0.5.4 (\o/ for open source). Although it requires some fiddling with Jupyter, I can do now what I’ve wanted to in the first place: explore the imagery from within the notebook.

Now I can make sense of the colours and textures, discern what I am looking at, frame the window so that the feature is clearly shown, pick the best data (without clouds, unless I plan on using s2-cloudless), select the best band combination etc., and continue toying with EO data.

Sentinel Hub Blog

Stories from the next generation satellite imagery platform

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store