# Resolution

**URL:** <https://forum.generic-mapping-tools.org/t/resolution/2917>\
**Category:** Q&A\
**Created:** [May 12, 2022, 2:59pm UTC](https://forum.generic-mapping-tools.org/t/resolution/2917 "2022-05-12T14:59:33Z")\
**Posts on this page:** 11\
**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:** [May 12, 2022, 2:59pm UTC](https://forum.generic-mapping-tools.org/t/resolution/2917/1 "2022-05-12T14:59:34Z")

</div>

how increment the resolution for this immagine?

this is my code:

```auto
gmt begin italy pdf,png
gmt set IO_COL_SEPARATOR=tab
	gmt set GMT_THEME cookbook

gmt info C:\programs\Camerino_1.txt 

 gmt coast -R13.02272/13.22734/43.09620/43.21342 -Wthin -B -JM5i -Gbeige -Slightblue -I1
  
  gmt grdimage @earth_relief_01s -R13.02272/13.22734/43.09620/43.21342 -I+d

gmt plot C:\programs\Camerino_1.txt -St0.05i -Gblue 

 

gmt image c:\programs\north.jpg -Dg11.50000/38.70000+w0.50 -R11.50000/12.00000/38.70000/39.00000 

gmt end show 

```

I receive thi ERROR:

```auto
C:\Users\Anna>gmt grdimage @earth_relief_01s -R13.02272/13.22734/43.09620/43.21342 -I+d 
grdblend [ERROR]: Failed to remove C:\Users\Anna\AppData\Local\Temp/grdblend_resampled_4860_1.nc! [remove error: Permission denied]
grdblend [ERROR]: Failed to delete file C:\Users\Anna\AppData\Local\Temp/grdblend_resampled_4860_1.nc

```

---

<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:** [May 13, 2022, 8:00am UTC](https://forum.generic-mapping-tools.org/t/resolution/2917/2 "2022-05-13T08:00:50Z")

</div>

Use another **code** in your _earth\_relief\_ **code** _.

See [this](https://www.generic-mapping-tools.org/remote-datasets/earth-relief.html#id1) for available resolutions.

Don’t know the error about whats going on with your `Temp`-folder.

---

<div class="post-metadata">

**Author:** ![seisman](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/seisman/32/4_2.png) [@seisman](https://forum.generic-mapping-tools.org/u/seisman)\
**Post date:** [May 13, 2022, 9:33am UTC](https://forum.generic-mapping-tools.org/t/resolution/2917/3 "2022-05-13T09:33:36Z")

</div>

> [@annafiglioli](#):
>
> I receive thi ERROR:
> 
> ```auto
> C:\Users\Anna>gmt grdimage @earth_relief_01s -R13.02272/13.22734/43.09620/43.21342 -I+d 
> grdblend [ERROR]: Failed to remove C:\Users\Anna\AppData\Local\Temp/grdblend_resampled_4860_1.nc! [remove error: Permission denied]
> grdblend [ERROR]: Failed to delete file C:\Users\Anna\AppData\Local\Temp/grdblend_resampled_4860_1.nc
> 
> ```

This error message is caused by a GMT bug which likely fails to check the directory permission. I think it doesn’t affect your plots.

---

<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:** [May 13, 2022, 2:41pm UTC](https://forum.generic-mapping-tools.org/t/resolution/2917/4 "2022-05-13T14:41:18Z")

</div>

Odd if you do not have permission to delete files in your own temp directory that was created earlier? Any other explanation, @Joaquim?

---

<div class="post-metadata">

**Author:** ![seisman](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/seisman/32/4_2.png) [@seisman](https://forum.generic-mapping-tools.org/u/seisman)\
**Post date:** [May 13, 2022, 3:02pm UTC](https://forum.generic-mapping-tools.org/t/resolution/2917/5 "2022-05-13T15:02:42Z")

</div>

This is the related issue report:

> <https://github.com/GenericMappingTools/gmt/issues/6183>
>
> \*\*Description of the problem\*\*
> 
> I don't have a Windows machine so I can't repr…oduce it, but many Windows users in China have seen errors like this while some other users never see the errors. 
> 
> !\[image\](https://user-images.githubusercontent.com/3974108/147915321-7a288ad4-10a0-4a53-956d-4cba048360ca.png)
> 
> It happens when users use high-resolution remote grids on Windows. The error doesn't make sense to me, because GMT is able to create temporary grdlbend grids and should have the permission to delete them.

---

<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:** [May 13, 2022, 3:18pm UTC](https://forum.generic-mapping-tools.org/t/resolution/2917/6 "2022-05-13T15:18:11Z")

</div>

Thanks, so this fix should be in 6.3.0 on Windows. @annafiglioli, which GMT version do you have?

---

<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:** [May 13, 2022, 5:11pm UTC](https://forum.generic-mapping-tools.org/t/resolution/2917/7 "2022-05-13T17:11:16Z")

</div>

Yep, Dongdong got it first. The _bug_ is fixed. Users should pay a little more attention check if errors were not fixed in **latest** version.

---

<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:** [May 16, 2022, 1:39pm UTC](https://forum.generic-mapping-tools.org/t/resolution/2917/8 "2022-05-16T13:39:29Z")

</div>

6.2!  
So i will delete the gmt 6.2 and dowload 6.3?

---

<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:** [May 16, 2022, 2:32pm UTC](https://forum.generic-mapping-tools.org/t/resolution/2917/9 "2022-05-16T14:32:57Z")

</div>

Sounds like a good plan - always work with the latest version

---

<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:** [May 16, 2022, 2:35pm UTC](https://forum.generic-mapping-tools.org/t/resolution/2917/10 "2022-05-16T14:35:40Z")

</div>

Or even better

[http://fct-gmt.ualg.pt/mirone/gmt-6.4.0\_2022.02.24-win64.exe](http://fct-gmt.ualg.pt/mirone/gmt-6.4.0_2022.02.24-win64.exe)

---

<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:** [May 16, 2022, 2:38pm UTC](https://forum.generic-mapping-tools.org/t/resolution/2917/11 "2022-05-16T14:38:02Z")

</div>

okay.  
thanks you
