-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
AWS has changed the bucket policy of the S2 L1C bucket to be a requester pays bucket. So the product download does not work without authentication anymore. See https://registry.opendata.aws/sentinel-2/
As an example, I get the error message below. Is there a way to make authenticated calls to S3 using AWSDownload?
$ java -jar ProductDownload.jar --sensor S2 --aws --out /tmp/products/ --store AWS --limit 1 --tiles 29SPC --start 2018-08-05 --end 2018-08-05
2018-09-18 10:07:20 [INFO] Download will be attempted from AWS
2018-09-18 10:07:20 [INFO] Search will be attempted on AWS
2018-09-18 10:07:20 [INFO] The request was not successful. Reason: Forbidden
java.lang.NullPointerException
at ro.cs.products.sentinel2.amazon.ResultParser.parse(ResultParser.java:40)
at ro.cs.products.sentinel2.amazon.AmazonSearch.executeImpl(AmazonSearch.java:96)
at ro.cs.products.base.AbstractSearch.execute(AbstractSearch.java:150)
at ro.cs.products.Executor.execute(Executor.java:432)
at ro.cs.products.Executor.main(Executor.java:109)
Exception in thread "main" java.lang.NullPointerException
at ro.cs.products.sentinel2.amazon.AmazonSearch.executeImpl(AmazonSearch.java:97)
at ro.cs.products.base.AbstractSearch.execute(AbstractSearch.java:150)
at ro.cs.products.Executor.execute(Executor.java:432)
at ro.cs.products.Executor.main(Executor.java:109)
sancanella and JohanMollevik
Metadata
Metadata
Assignees
Labels
No labels