# Global Earth Relief Grids

**URL:** <https://forum.generic-mapping-tools.org/t/global-earth-relief-grids/56>\
**Category:** Q&A\
**Created:** [November 3, 2019, 6:24pm UTC](https://forum.generic-mapping-tools.org/t/global-earth-relief-grids/56 "2019-11-03T18:24:27Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![dmmarch](https://avatars.discourse-cdn.com/v4/letter/d/ecd19e/32.png) [@dmmarch](https://forum.generic-mapping-tools.org/u/dmmarch)\
**Post date:** [November 3, 2019, 6:24pm UTC](https://forum.generic-mapping-tools.org/t/global-earth-relief-grids/56/1 "2019-11-03T18:24:27Z")

</div>

Hi,

I am trying to use remote srtm model in my gmt script. While executing getting several errors as follows:  
**gmt grdgradient @earth\_relief\_rru01s -R22/27/47.7/51 -A0/270 -Gtopo.nc -Ne0.6 -V**  
earth\_relief\_rru01s: Download file from the GMT data server [data set size is 41G].  
earth\_relief\_rru01s: Earth Relief at 1x1 arc seconds tiles provided by SRTMGL1 (land only) [NASA/USGS].

grdgradient [ERROR]: Libcurl Error: HTTP response code said error  
grdgradient [ERROR]: You can turn remote file download off by setting GMT\_DATA\_SERVER\_LIMIT = 0.  
earth\_relief\_rru01s: Download file from the GMT data server [data set size is 41G].  
earth\_relief\_rru01s: Earth Relief at 1x1 arc seconds tiles provided by SRTMGL1 (land only) [NASA/USGS].

grdgradient [ERROR]: Libcurl Error: HTTP response code said error  
grdgradient [ERROR]: You can turn remote file download off by setting GMT\_DATA\_SERVER\_LIMIT = 0.  
grdgradient [ERROR]: File earth\_relief\_rru01s.grd not found  
[Session gmt (0)]: Error returned from GMT API: GMT\_FILE\_NOT\_FOUND (16)

Is it any reasons for this in my script or this is related to remote host?

Best Regards

---

<div class="post-metadata">

**Author:** ![Joaquim](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/joaquim/32/16_2.png) [@Joaquim](https://forum.generic-mapping-tools.org/u/Joaquim)\
**Post date:** [November 3, 2019, 6:34pm UTC](https://forum.generic-mapping-tools.org/t/global-earth-relief-grids/56/2 "2019-11-03T18:34:27Z")

</div>

> [@dmmarch](#):
>
> grdgradient @earth\_relief\_rru01s

The error message could be more clear but this file name is wrong. Man says:

```auto
where rr is a 2-digit integer specifying the grid resolution in the unit u, where u is either d, m or s for arc degree, arc minute or arc second, respectively. The following codes for rru are supported:

```

which is confirmed by the message at the end `grdgradient [ERROR]: File earth_relief_rru01s.grd not found`. You want just `@earth_relief_01s`

---

<div class="post-metadata">

**Author:** ![dmmarch](https://avatars.discourse-cdn.com/v4/letter/d/ecd19e/32.png) [@dmmarch](https://forum.generic-mapping-tools.org/u/dmmarch)\
**Post date:** [November 3, 2019, 6:48pm UTC](https://forum.generic-mapping-tools.org/t/global-earth-relief-grids/56/3 "2019-11-03T18:48:50Z")

</div>

Thanks 🙂

---

<div class="post-metadata">

**Author:** ![pwessel](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/pwessel/32/30_2.png) [@pwessel](https://forum.generic-mapping-tools.org/u/pwessel)\
**Post date:** [November 4, 2019, 2:55am UTC](https://forum.generic-mapping-tools.org/t/global-earth-relief-grids/56/4 "2019-11-04T02:55:46Z")

</div>

That is a pretty bad message. I think we need to prescreen earth\_relief\_\* requests since we know what is allowed - no point having the remote server get frustrated. I will file a feature request.

---

<div class="post-metadata">

**Author:** ![pwessel](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/pwessel/32/30_2.png) [@pwessel](https://forum.generic-mapping-tools.org/u/pwessel)\
**Post date:** [November 4, 2019, 3:25am UTC](https://forum.generic-mapping-tools.org/t/global-earth-relief-grids/56/5 "2019-11-04T03:25:38Z")

</div>

Problem fixed in the repository and will take affect in 6.0.1 when that is released.

---

<div class="post-metadata">

**Author:** ![leouieda](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/leouieda/32/2134_2.png) [@leouieda](https://forum.generic-mapping-tools.org/u/leouieda)\
**Post date:** [November 4, 2019, 11:06am UTC](https://forum.generic-mapping-tools.org/t/global-earth-relief-grids/56/6 "2019-11-04T11:06:49Z")

</div>

FYI, here is the link to the change made in GMT following the discussion: [Prevent libcurl from downloading nonexistant files by PaulWessel · Pull Request #1979 · GenericMappingTools/gmt · GitHub](https://github.com/GenericMappingTools/gmt/pull/1979)

@dmmarch thanks for bringing this to our attention! 👍
