Can't download tiles from aws


#1

Hi
Why i can’t download tiles provided by this example
https://sentinelhub-py.readthedocs.io/en/latest/examples/aws_request.html ?

$ aws s3 cp s3://sentinel-s2-l1c/tiles/38/L/PH/2017/12/15/0 my.tif --request-payer requester
fatal error: An error occurred (404) when calling the HeadObject operation: Key “tiles/38/L/PH/2017/12/15/0” does not exist

thanks


#2

If you list this aws key, you will notice it is a folder:

aws s3 ls s3://sentinel-s2-l1c/tiles/38/L/PH/2017/12/15/0/ --request-payer requester
                           PRE auxiliary/
                           PRE preview/
                           PRE qi/
2017-12-15 15:00:21    3771735 B01.jp2
2017-12-15 15:00:21  104056631 B02.jp2
2017-12-15 15:00:21  107502080 B03.jp2
2017-12-15 15:00:21  115073992 B04.jp2
2017-12-15 15:00:21   31949594 B05.jp2
2017-12-15 15:00:21   33397280 B06.jp2
2017-12-15 15:00:21   33847035 B07.jp2
2017-12-15 15:00:21  120535153 B08.jp2
2017-12-15 15:00:21    3255340 B09.jp2
2017-12-15 15:00:21    1934849 B10.jp2
2017-12-15 15:00:21   32865167 B11.jp2
2017-12-15 15:00:21   32012158 B12.jp2
2017-12-15 15:00:21   33860198 B8A.jp2
2017-12-15 15:00:21  135040041 TCI.jp2
2017-12-15 15:00:21     630253 metadata.xml
2017-12-15 15:00:21     165600 preview.jp2
2017-12-15 15:00:35     121020 preview.jpg
2017-12-15 15:00:32       1039 productInfo.json
2017-12-15 15:00:21       1496 tileInfo.json