# Grdimage problem

**URL:** <https://forum.generic-mapping-tools.org/t/grdimage-problem/1775>\
**Category:** Q&A\
**Created:** [June 11, 2021, 5:28pm UTC](https://forum.generic-mapping-tools.org/t/grdimage-problem/1775 "2021-06-11T17:28:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![juannavarro](https://avatars.discourse-cdn.com/v4/letter/j/dbc845/32.png) [@juannavarro](https://forum.generic-mapping-tools.org/u/juannavarro)\
**Post date:** [June 11, 2021, 5:28pm UTC](https://forum.generic-mapping-tools.org/t/grdimage-problem/1775/1 "2021-06-11T17:28:57Z")

</div>

hello everyone

I’m trying to plot a grid to visualize the topography on my map with grdimage but I get an error and I don’t know what I’m doing wrong. I leave my script. I hope someone can help me … thank you very much in advance. the grid I’m using is GMRTv3\_9\_20210610topo.grd and I download it from [GMRT MapTool](https://www.gmrt.org/GMRTMapTool/)

Juan.[scriptplot.sh.zip](https://forum.generic-mapping-tools.org/uploads/short-url/z1PKudZp1aeERtXtEy6RHCyaaKW.zip) (728 Bytes)

---

<div class="post-metadata">

**Author:** ![Andreas](https://avatars.discourse-cdn.com/v4/letter/a/ee7513/32.png) [@Andreas](https://forum.generic-mapping-tools.org/u/Andreas)\
**Post date:** [June 11, 2021, 6:03pm UTC](https://forum.generic-mapping-tools.org/t/grdimage-problem/1775/2 "2021-06-11T18:03:19Z")

</div>

You haven’t defined the `TIERRA` variable in your script.

---

<div class="post-metadata">

**Author:** ![juannavarro](https://avatars.discourse-cdn.com/v4/letter/j/dbc845/32.png) [@juannavarro](https://forum.generic-mapping-tools.org/u/juannavarro)\
**Post date:** [June 11, 2021, 11:28pm UTC](https://forum.generic-mapping-tools.org/t/grdimage-problem/1775/3 "2021-06-11T23:28:45Z")

</div>

Sorry!!..I deleted that part of my script because I don’t use it … but I still have the problem .. Thank you Andreas[scriptplot1.sh.zip](https://forum.generic-mapping-tools.org/uploads/short-url/75jLu9MQDGSRTuoqGcqqUWgq3Yl.zip) (776 Bytes)
