# Resolution of @earth\_relief

**URL:** <https://forum.generic-mapping-tools.org/t/resolution-of-earth-relief/2599>\
**Category:** Q&A\
**Created:** [February 6, 2022, 4:46pm UTC](https://forum.generic-mapping-tools.org/t/resolution-of-earth-relief/2599 "2022-02-06T16:46:37Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![annafiglioli](https://avatars.discourse-cdn.com/v4/letter/a/7feea3/32.png) [@annafiglioli](https://forum.generic-mapping-tools.org/u/annafiglioli)\
**Post date:** [February 6, 2022, 4:46pm UTC](https://forum.generic-mapping-tools.org/t/resolution-of-earth-relief/2599/1 "2022-02-06T16:46:37Z")

</div>

Hello everyone,  
I try to do this map…but i don’t receive a good resolution…

This is my code :

```auto
gmt begin ETNA pdf,png
   gmt set IO_COL_SEPARATOR=tab
   gmt coast -R14.19816/15.31768/38.30667/38.82758 -Wthin -JM5i -Baf -Gbisque -Sskyblue -Df -I1
   gmt grdimage @earth_relief_01s -R14.19816/15.31768/38.30667/38.82758 -I+d  

   gmt inset begin -DjBL+w2c -M0 -F+gwhite+p1p  
       gmt grdimage @earth_relief_01m -R11.50000/16.00000/35.39997/39.0000 -I+d
   gmt inset end

gmt end show

```

and i receive this error:

```auto
grdblend [ERROR]: Failed to remove C:\Users\Anna\AppData\Local\Temp/grdblend_resampled_13220_2.nc! [remove error: Permission denied]
grdblend [ERROR]: Failed to delete file C:\Users\Anna\AppData\Local\Temp/grdblend_resampled_13220_2.nc

```

The inset have a good resolution and i don’t have error!

For the principal map, i receive this error

---

<div class="post-metadata">

**Author:** ![PlanetGus](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/planetgus/32/303_2.png) [@PlanetGus](https://forum.generic-mapping-tools.org/u/PlanetGus)\
**Post date:** [February 6, 2022, 5:32pm UTC](https://forum.generic-mapping-tools.org/t/resolution-of-earth-relief/2599/2 "2022-02-06T17:32:33Z")

</div>

It seems GMT is not allowed to modify the working directory, which is odd.  
I tried your command and got the following :

```auto
gmt [WARNING]: File /Users/guillaume/.gmt/server/gmt_hash_server.txt said it has 182 records but only found 176 - download error???
gmt [WARNING]: File /Users/guillaume/.gmt/server/gmt_hash_server.txt will be deleted. Please try again
gmt [WARNING]: File /Users/guillaume/.gmt/server/gmt_hash_server.txt.old said it has 181 records but only found 175 - download error???
gmt [WARNING]: File /Users/guillaume/.gmt/server/gmt_hash_server.txt.old will be deleted. Please try again
grdblend [NOTICE]: Remote data courtesy of GMT data server oceania [http://oceania.generic-mapping-tools.org]

```

So maybe a bug with GMT server ? @maxrjones ?

---

<div class="post-metadata">

**Author:** ![annafiglioli](https://avatars.discourse-cdn.com/v4/letter/a/7feea3/32.png) [@annafiglioli](https://forum.generic-mapping-tools.org/u/annafiglioli)\
**Post date:** [February 7, 2022, 7:40am UTC](https://forum.generic-mapping-tools.org/t/resolution-of-earth-relief/2599/3 "2022-02-07T07:40:34Z")

</div>

OK thanks, but what should I do? Is this something I can solve?

---

<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:** [February 7, 2022, 11:10am UTC](https://forum.generic-mapping-tools.org/t/resolution-of-earth-relief/2599/4 "2022-02-07T11:10:28Z")

</div>

What does the principal map look like? White? The error message only says that it was unable to delete the file.

---

<div class="post-metadata">

**Author:** ![annafiglioli](https://avatars.discourse-cdn.com/v4/letter/a/7feea3/32.png) [@annafiglioli](https://forum.generic-mapping-tools.org/u/annafiglioli)\
**Post date:** [February 7, 2022, 11:17am UTC](https://forum.generic-mapping-tools.org/t/resolution-of-earth-relief/2599/5 "2022-02-07T11:17:00Z")

</div>

the base map is created with the costa command.  
Do I have to delete it?

---

<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:** [February 7, 2022, 12:13pm UTC](https://forum.generic-mapping-tools.org/t/resolution-of-earth-relief/2599/6 "2022-02-07T12:13:48Z")

</div>

Yes, of course. The coast is plotted anyway (by the way, when you succeed plotting the grid, it will overlay your coast lines).

No, you don’t have to delete it. I’m not sure whats wrong with the file permission stuff.

---

<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:** [February 7, 2022, 12:33pm UTC](https://forum.generic-mapping-tools.org/t/resolution-of-earth-relief/2599/7 "2022-02-07T12:33:14Z")

</div>

> [@Andreas](#):
>
> No, you don’t have to delete it. I’m not sure whats wrong with the file permission stuff.

This clearly looks like a bug that was fixed after 6.3.0 but one that does not affect anything. Just annoying to see a message saying _ERROR_

---

<div class="post-metadata">

**Author:** ![annafiglioli](https://avatars.discourse-cdn.com/v4/letter/a/7feea3/32.png) [@annafiglioli](https://forum.generic-mapping-tools.org/u/annafiglioli)\
**Post date:** [February 7, 2022, 1:17pm UTC](https://forum.generic-mapping-tools.org/t/resolution-of-earth-relief/2599/8 "2022-02-07T13:17:26Z")

</div>

so I don’t have to modify anything?  
or is it just a problem with the grid overlay that’s not right? have i done it wrong? or haven’t i done it at all…

---

<div class="post-metadata">

**Author:** ![maxrjones](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/maxrjones/32/2698_2.png) [@maxrjones](https://forum.generic-mapping-tools.org/u/maxrjones)\
**Post date:** [February 7, 2022, 11:05pm UTC](https://forum.generic-mapping-tools.org/t/resolution-of-earth-relief/2599/9 "2022-02-07T23:05:46Z")

</div>

Thanks for the ping - this is fixed.

---

<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:** [February 8, 2022, 9:28am UTC](https://forum.generic-mapping-tools.org/t/resolution-of-earth-relief/2599/10 "2022-02-08T09:28:39Z")

</div>

Apparently this was a bug which now is fixed.

You have to wait until a new version is released, or build from source.

---

<div class="post-metadata">

**Author:** ![annafiglioli](https://avatars.discourse-cdn.com/v4/letter/a/7feea3/32.png) [@annafiglioli](https://forum.generic-mapping-tools.org/u/annafiglioli)\
**Post date:** [February 8, 2022, 10:27am UTC](https://forum.generic-mapping-tools.org/t/resolution-of-earth-relief/2599/11 "2022-02-08T10:27:49Z")

</div>

okay, thanks for the answer.  
what means “build from source”? How do it?

---

<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:** [February 8, 2022, 11:09am UTC](https://forum.generic-mapping-tools.org/t/resolution-of-earth-relief/2599/12 "2022-02-08T11:09:48Z")

</div>

It means that you build gmt from source code to create executable files. When you install gmt this has already been done for you.

If youre new to programming and that sort of stuff, it’s quite a steep learning curve. If you want to give it a try, see [Building GMT](https://github.com/GenericMappingTools/gmt/blob/master/BUILDING.md).

I would recommend you to wait for the next release instead.

---

<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:** [February 8, 2022, 3:11pm UTC](https://forum.generic-mapping-tools.org/t/resolution-of-earth-relief/2599/13 "2022-02-08T15:11:56Z")

</div>

That bug is innocuous. Just a little bit annoying but the error message can be safely ignored.
