A python module for batch download of Sentinel data from ESA

=> Note : the apihub is only accessible for those of you who submitted an account before the 21st of December. As a result, it is much easier to download the Sentinel- products at CNES PEPS facility. To access the data within PEPS, I have written a similar program to the one described below . The Sentinel Scihub interface lets you search the catalog or download Sentinel data through a simple https request. For instance, to search all the S2 products within the catalog, just try the following URLs : To select all the products which contain Toulouse :

  • you may login with your own Scihub account or with « guest », « guest »
  • All you need to know are your site  Lat, Lon (in this order) coordinates.

To select all the products which contain Toulouse ingested in the catalog after the first of December :

 The Python routine, provided via the link at the end of this post, enables batch downloads of Sentinel-1 and Sentinel-2 (and probably soon Sentinel-3), from ESA distribution website. You know me, I have mostly tested it with Sentinel-2.Sentinel_download runs on linux and it relies on the wget download utility. It might work on windows, probably with adaptations, but I do not know windows. If someone is willing to contribute, the software repository on github is open. That’s what happened with the Landsat-download tool. As the tool performs catalog searches, you can select the data by date, type, location, and even, for Sentinel-2, cloud percentage (if you trust ESA L1C cloud percentage). The readme file shows several examples, here, I’ll only provide one : 

python  Sentinel_download.py -s S2 --latmin 43 --latmax 46 --lonmin -1 --lonmax 2 -a apihub.txt -o 94 -m 25 -d 20151206

Here is the meaning of the options :

  • -s defines the satellite (S2, S2A, S2B, S1, S1, S1B)
  • --latmin 43 --latmax 46 --lonmin -1 --lonmax 2 define the bounding box in degrees (you can also only specify a point with --lat and --lon options)
  • - a apihub.txt provide the authentification to the website (guest guest still works)

  • -o is the path number (if you only want that one)

  • -m 25 is the maximum accepted cloud percentage to download (25%)

 

  • -d 20151206 is the start date of the period, and the download goes until now, unless you specify the final date (with -f option)

So, if you want to use this tool, get it from the github repository of sentinel-download.  

Plus d'actualités

New clear-sky image of the Rasuwa rock-ice avalanche

On 08 Sep 2026, Sentinel-2 acquired a clear-sky image near the release area of the landslide which caused the catastrophic flood in Nepal. Using this image and a pre-event digital elevation model (Berthier 2026) we can analyze the upper part of the avalanche runout profile. The block of rock and ice was released near 5120 […]

How long is the cooling effect of a cloud shadow ?

How long does it take for the cannon barrel to cool down after firing a shell ? Fernand Raynaud => This quote is from a famous old French funny sketch by Fernand Raynaud, which was based on a question in a French manual for soldiers: the sketch is rather long, so I’ll give you the […]

Impact of the August 12, 2026 eclipse on photovoltaic electricity generation in Spain

Photovoltaic (PV) energy supplies more 20% of Spain’s total electricity, and this share hit a new high in July 2026 (28.3% of the nation’s monthly electricity mix). Some media outlets were concerned about the drop in photovoltaic power generation during the 12-Aug-2026 eclipse. Le Monde explained that « the drop is expected to be particularly pronounced […]

Rechercher