Skip to main content

Hello!

It is still unclear for me what is the exact difference between the Sentinel Hub Python package & eo-learn. My aim is to get the data using the API without using any source from my machine. So I wonder should I use Sentinel Hub Processing API services from within Python or eo-learn.

I hope the specialists can make it clear for me.

 

Hello,

The sentinelhub Python package, as described on the Github page, allows users to make OGC (WMS and WCS) web requests to download and process satellite images within Python scripts. It is like using the API, but using Python code.

On the other hand, eo-learn is a collection of open source Python packages allowing a user to develop a data-analysis workflow that includes different tasks, such as cloud masking, image co-registration, feature extraction, classification, etc… For example, a user could use eo-learn to predict land-use based on machine-learning techniques (example here) or determine water levels of a water body (dam, reservoir, lake, …) from satellite imagery (example here). You can find a more detailed overall explanation on the package in the introduction page of the package.

My aim is to get the data using the API without using any source from my machine.

In your case, the sentinelhub-py package is the most adapted. You can follow the examples shown in the documentation here as a starting point, then adapt the code to fit your specific needs.

 


Hello

Thnak you for the info. My problem with sentinelhub-py package is that I cannot get the time series data. I followed you mentioned example, but the list only includes 1 element while I am using the eo-learn I receive the all images during that period.

I would appreciate it if you could help me in this regard.

 


Good morning 

Obtaining time series is a different story! The processing API was not developed with that specific functionality in mind. That being said, you can fetch multiple images, each within a set time interval using sentinelhub-py, based on this example.

If you need more advanced functionalities, such as fetching all available images during a time period, or high-resolution data over large areas, then eo-learn is more suited to your needs indeed.


Hi 
Thank you for clarification 🙂


Reply