multiply-org / grabba_grabba_hey

A tool for downloading EO data from archives
GNU General Public License v2.0
4 stars 3 forks source link

Sentinel 2 data from AWS #3

Open jgomezdans opened 8 years ago

jgomezdans commented 8 years ago

Recently, Amazon has made Sentinel 2 available from their servers. There are many advantages (small tiles similar to path/rows or MODIS tiles), and by the looks of it, better support from massive downloads than the scihub website. The only glitch is that one needs the tile in MGRS format, which can be obtained relatively easily using OGR/GDAL... The Amazon Sentinel2 bucket is available here

jgomezdans commented 8 years ago

Here's a snippet on finding the right tile using OGR...

ogrinfo -dialect SQLITE \ 
/vsicurl/https://sentinels.copernicus.eu/documents/247904/1955685/S2A_OPER_GIP_TILPAR_MPC__20151209T095117_V20150622T000000_21000101T000000_B00.kml/ec05e22c-a2bc-4a13-9e84-02d5257b09a8 \
-sql "select name from Features where ST_intersects (MakePoint(-8.4100, 43.3650, 4326), 
geometry)"`
jgomezdans commented 8 years ago

Also, the location of the folders in AWS is given by... For MGRS tile 29TNJ, and an image acquired on the 21/1/2016:

http://sentinel-s2-l1c.s3-website.eu-central-1.amazonaws.com/#tiles/29/T/NJ/2016/1/21/0/