Speed-up downloads from PEPS S2 mirror site with peps_download.py

The French Sentinel mirror site, PEPS, has a very clever data management facility. All the products are stored on tapes, with a capacity of several PB, and there is some sort of cache made of disks. The products accessed recently are on disks, while the other products stay on tapes. The storage costs and also power consumption are therefore largely optimized. The drawback is that before accessing a file on tape, some time is needed to get the tape, and read the file on tapes. This can take something like 2 to 10 minutes. My little tool, peps_download.py was designed when most of the products were on disks, and it was quite slow to download products on tapes. As I am not a patient person, I have tried to speed it up, and it works well, thanks to good advise from CNES peps  colleagues (Christophe Taillan and Erwann Poupart). The previous version was working like that :

Make catalog requestFor all product in the request result :- while product is not downloaded - try to download the product - if still on tape, wait for 2 minutes

As a result, for each product on tape, it was necessary to wait for 2 to 10 minutes. Now, it works like that

Make catalog requestFor all products on tape in the request result- ask to read it on disksWhile (still some products to download):- Redo catalog request- Download products on disk- If some products are not on disk yet - wait for 2 minutes

 On my computer, it used to take more that 12 hours to download 2 years of Sentinel-2 data for a given tile. It has now been reduced to less that 3 hours (but my computer is on CNES network). I hope you will have similar results !

Plus d'actualités

Three Sentinel-2 satellites instead of two: impact on the retrieval of the snow disappearance date

Due to the success of Olivier’s petition, ESA kept Sentinel-2A operational after the launch of Sentinel-2C. Having three operational satellites instead of two increases the revisit, which should improve the quality of the derived products, and therefore the reliability of operational services based on Sentinel-2 data. One of this service is the Copernicus’ High Resolution […]

IOTA2 software mailing list

Hello everyone, We have just created a mailing list for users of the IOTA2 software (iota2 — iota2 documentation). The tool will undergo significant developments in the coming months, and the purpose of this list is to communicate with the community to support these changes and to maintain the processing workflows needed by the users. […]

Rapid analysis of the GLOF in Gupis, Gilgit-Baltistan

Pakistan news media reported that a glacier lake outburst flood (the failure of a dam containing a glacial lake) occurred near Gupis, Gilgit-Baltistan, a highly mountainous region administered by Pakistan. Satellite images show that the flood triggered a debris flow, which reached the Gupis valley where it hit the Roshan (Rashon) village and blocked the […]

Rechercher