Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/olivierhagolle/peps_download
Tool to download Sentinel images from PEPS sentinel mirror site : https://peps.cnes.fr
https://github.com/olivierhagolle/peps_download
data-downloader earth-observation remote-sensing sentinel-1 sentinel-2 sentinel-3
Last synced: about 2 months ago
JSON representation
Tool to download Sentinel images from PEPS sentinel mirror site : https://peps.cnes.fr
- Host: GitHub
- URL: https://github.com/olivierhagolle/peps_download
- Owner: olivierhagolle
- Created: 2016-02-08T08:34:10.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2023-02-02T07:41:45.000Z (almost 2 years ago)
- Last Synced: 2024-08-01T17:32:02.472Z (5 months ago)
- Topics: data-downloader, earth-observation, remote-sensing, sentinel-1, sentinel-2, sentinel-3
- Language: Python
- Size: 53.7 KB
- Stars: 94
- Watchers: 13
- Forks: 47
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-sentinel - **`peps_download`**
- awesome-sentinel - **`peps_download`**
README
# peps_download
This is a simple piece of code to automatically download the products provided by the French Sentinel collaborative ground segment named PEPS : https://peps.cnes.fr. PEPS is mirroring all the Sentinel data provided by ESA, and is providing a simplified access.
This code was written thanks to the precious help of one my colleagues at CNES [Jérôme Gasperi](https://www.linkedin.com/pulse/rocket-earth-your-pocket-gasperi-jerome) who developped the "rocket" interface which is used by Peps.
This code relies on python (2 or 3) and on the curl utility. I am not sure it can work on windows.
Only the recent PEPS products or the frequently accessed ones are stored on disks (2 PB), while the rest is stored on tapes (up to 14 PB). Data stored on tapes have an access time increased by 2 to 6 mn. **From the 23rd of March, peps_download has been fully reshaped to first stage products on tapes for download, then download products on disk, which gives some time to upload the tape products on disks. This procedures considerably speeds the downloads up.**
#Alternatives
There are now more professsional alternatives, such as EODAG from the company CS-SI, that can download data from various catalogues. PEPS is included in the list.
https://github.com/CS-SI/eodag
## Examples
### for Sentinel-2
This software is still quite basic, but if you have an account at PEPS, you may download products using command lines like- `python ./peps_download.py -c S2ST -l 'Toulouse' -a peps.txt -d 2017-01-01 -f 2017-02-01`
- `python ./peps_download.py -c S2ST -t 31TCJ -a peps.txt -d 2017-01-01 -f 2017-02-01`which downloads the *Sentinel-2 single tile* products acquired in January 2017 above Toulouse (you may also specify the tile number as in the second example).
When you provide a date YY-MM-DD, it is actually YY-MM-DD:00;00:00. So a request with `-d 2015-11-01 -f 2015-11-01` will yield no result, while `-d 2015-11-01 -f 2015-11-02` will yield data acquired on 2015-11-01 (provided they exist).
- `python ./peps_download.py -c S2ST --lon 1 --lat 43.5 -a peps.txt -d 2015-11-01 -f 2015-12-01 -o 51`which downloads the Sentinel-2 products above --lon 1 --lat 43.5 (~Toulouse), acquired in November 2015 from orbit path number 51 only.
### for Sentinel-1
- `python ./peps_download.py -c S1 --lonmin 1 --lonmax 2 --latmin 43 --latmax 44 -a peps.txt -d 2015-11-01 -f 2015-12-01`which downloads the Sentinel-1 products in latitude, longitude box around Toulouse, acquired in November 2015.
- `python ./peps_download.py -c S1 -p GRD -l 'Toulouse' -a peps.txt -d 2015-11-01 -f 2015-12-01`
which downloads S1 GRD products above Toulouse## Authentification
The file peps.txt must contain your email address and your password on the same line, such as:
`[email protected] top_secret`
To get an account : https://peps.cnes.fr/rocket/#/register
## Alternatives
The EODAG tool has an interface to download data from Theia, PEPS, and many others, and it is probably much more professional code. You might give it a try.
https://eodag.readthedocs.io/en/latest/#
https://github.com/CS-SI/eodag