Problem dowloading Landsat images as RemoteS documentation

Hello

I created a free Amazon AWS account and I am trying to download the test image of RemoteS doc and I get a HTTP 403 error. I assume the other errors are due to the download failure.

using RemoteS, GMT
Ir = gmtread("/vsicurl/http://landsat-pds.s3.amazonaws.com/c1/L8/037/034/LC08_L1TP_037034_20160712_20170221_01_T1/LC08_L1TP_037034_20160712_20170221_01_T1_B4.TIF");
ERROR 11: HTTP response code: 403
ERROR 11: HTTP response code: 403
gmtread (gmtapi_import_grid): Not a supported grid format [/vsicurl/http://landsat-pds.s3.amazonaws.com/c1/L8/037/034/LC08_L1TP_037034_20160712_20170221_01_T1/LC08_L1TP_037034_20160712_20170221_01_T1_B4.TIF]
[Session GMT (0)]: Error returned from GMT API: GMT_GRID_READ_ERROR (18)
[Session GMT (0)]: Error returned from GMT API: GMT_GRID_READ_ERROR (18)
ERROR: Programming error, output matrix is empty

What step am I missing? Do I need to pay? Just testing!
Thanks for your help.

Sorry, I guess that I have to put a warning in the docs. Those files apparently have become unavailable.
The examples in docs should work but they need to use existing image files.

Would you know where I can get a testing image?

You can try these. But for later readers, there is no guarantee that they will be there for long time.

I4 = gmtread("https://fct-gmt.ualg.pt/tmp/LC82040332015145LGN00_B4.TIF"):
I3 = gmtread("https://fct-gmt.ualg.pt/tmp/LC82040332015145LGN00_B3.TIF");
I2 = gmtread("https://fct-gmt.ualg.pt/tmp/LC82040332015145LGN00_B2.TIF");
1 Like

It worked. Thanks.

BTW, installing RemoteS on Windows is not possible. It is due to a libtiff library issue related to GMT I think. This is an old problem that seemed to be coming and going on Windows.

No issues on Ubuntu.

I’m not aware of that. And the CI run fine Just to force a rebuild and CIs test. · GenericMappingTools/RemoteS.jl@03d89fa · GitHub

What error did you get?

Very weird. I did nothing. Just retried today… Problem is gone.