# Problem dowloading Landsat images as RemoteS documentation

**URL:** <https://discourse.julialang.org/t/problem-dowloading-landsat-images-as-remotes-documentation/125772>\
**Category:** New to Julia\
**Tags:** http-403\
**Created:** [February 11, 2025, 12:00am UTC](https://discourse.julialang.org/t/problem-dowloading-landsat-images-as-remotes-documentation/125772 "2025-02-11T00:00:40Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![dgagnon](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dgagnon/32/45466_2.png) [@dgagnon](https://discourse.julialang.org/u/dgagnon)\
**Post date:** [February 11, 2025, 12:00am UTC](https://discourse.julialang.org/t/problem-dowloading-landsat-images-as-remotes-documentation/125772/1 "2025-02-11T00:00:40Z")

</div>

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.

```julia
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.

---

<div class="post-metadata">

**Author:** ![joa-quim](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/joa-quim/32/227_2.png) [@joa-quim](https://discourse.julialang.org/u/joa-quim)\
**Post date:** [February 11, 2025, 12:15am UTC](https://discourse.julialang.org/t/problem-dowloading-landsat-images-as-remotes-documentation/125772/2 "2025-02-11T00:15:13Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![dgagnon](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dgagnon/32/45466_2.png) [@dgagnon](https://discourse.julialang.org/u/dgagnon)\
**Post date:** [February 11, 2025, 1:35am UTC](https://discourse.julialang.org/t/problem-dowloading-landsat-images-as-remotes-documentation/125772/3 "2025-02-11T01:35:31Z")

</div>

Would you know where I can get a testing image?

---

<div class="post-metadata">

**Author:** ![joa-quim](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/joa-quim/32/227_2.png) [@joa-quim](https://discourse.julialang.org/u/joa-quim)\
**Post date:** [February 11, 2025, 2:18am UTC](https://discourse.julialang.org/t/problem-dowloading-landsat-images-as-remotes-documentation/125772/4 "2025-02-11T02:18:49Z")

</div>

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

```julia
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");

```

---

<div class="post-metadata">

**Author:** ![dgagnon](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dgagnon/32/45466_2.png) [@dgagnon](https://discourse.julialang.org/u/dgagnon)\
**Post date:** [February 12, 2025, 12:05am UTC](https://discourse.julialang.org/t/problem-dowloading-landsat-images-as-remotes-documentation/125772/5 "2025-02-12T00:05:15Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![joa-quim](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/joa-quim/32/227_2.png) [@joa-quim](https://discourse.julialang.org/u/joa-quim)\
**Post date:** [February 12, 2025, 2:24am UTC](https://discourse.julialang.org/t/problem-dowloading-landsat-images-as-remotes-documentation/125772/6 "2025-02-12T02:24:39Z")

</div>

> [@dgagnon](#):
>
> installing RemoteS on Windows is not possible. It is due to a `libtiff` library issue related to GMT

I’m not aware of that. And the CI run fine [Just to force a rebuild and CIs test. · GenericMappingTools/RemoteS.jl@03d89fa · GitHub](https://github.com/GenericMappingTools/RemoteS.jl/actions/runs/13276535871/job/37067060824?pr=82)

What error did you get?

---

<div class="post-metadata">

**Author:** ![dgagnon](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dgagnon/32/45466_2.png) [@dgagnon](https://discourse.julialang.org/u/dgagnon)\
**Post date:** [February 12, 2025, 1:29pm UTC](https://discourse.julialang.org/t/problem-dowloading-landsat-images-as-remotes-documentation/125772/7 "2025-02-12T13:29:03Z")

</div>

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