Matej Batič
Jan 22, 2018 · 2 min read

Sentinel Hub Cloud Detector — s2cloudless

With the sentinelhub-py library out in the open, we are happy to add another Python tool to help you untangle the value from the EO data: Sentinel Hub cloud detector for Sentinel-2 data.

Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Acatenango area in Guatemala is well known for its coffee plantations. At the altitute about 2000 m and given it’s climate, it is often veiled in clouds. Middle image is natural color image, binary cloud mask is on the left, and cloud probability map is on the right.

In previous blog post about the clouds and Sentinel-2 data, Anze Zupanc already discussed the problems of cloud detection, and presented a solution to the problem. As we believe that the best way to (stress) test the algorithm is to expose it to as many expert eyes as possible, we are publishing the package containing the classification model and some helper classes to get you going: s2cloudless.

Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Some more examples, overlayed with semi-transparent cloud mask.

The package provides an automated cloud detection for Sentinel-2 imagery, and the classifier is based on a single-scene pixel-based cloud detector developed by Sentinel Hub’s research team, as described in more details here.

Enjoy hunting down the ☁️!

Image for post
Image for post
Jupyter notebook in the examples will walk you through the procedure to get from the bounding box and time to the cloud mask.

Sentinel Hub Blog

Stories from the next generation satellite imagery platform

Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore

If you have a story to tell, knowledge to share, or a perspective to offer — welcome home. It’s easy and free to post your thinking on any topic. Write on Medium

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