# GMT 6.4 for Julia

**URL:** <https://forum.generic-mapping-tools.org/t/gmt-6-4-for-julia/3030>\
**Category:** GMT.jl Q&A\
**Created:** [June 16, 2022, 2:33pm UTC](https://forum.generic-mapping-tools.org/t/gmt-6-4-for-julia/3030 "2022-06-16T14:33:13Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![marianoarnaiz](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/marianoarnaiz/32/971_2.png) [@marianoarnaiz](https://forum.generic-mapping-tools.org/u/marianoarnaiz)\
**Post date:** [June 16, 2022, 2:33pm UTC](https://forum.generic-mapping-tools.org/t/gmt-6-4-for-julia/3030/1 "2022-06-16T14:33:13Z")

</div>

Hellow Joaquim.  
How are you doing? Sorry to bother you.  
I am trying a couple of simple things in the Julia Wrapper for GMT and I was wondering if you could help me a bit.

First the hard one. I need to use grdfft but I get this message:

```auto
grdfft(grid,C=10000)
Warning: Sorry but you need at least GMT 6.4 to use this module. Previous version had a bug that prevented Julia wrapper to work.

```

I can only find installer for 6.3.0\_7. Where can I get 6.4?

The second question is, how can I add -Na (from the classic GMT) here:

```auto
coast(region=(-74,-58,0,13), proj=:Mercator, figsize=25,frame=(annot=2, grid=2,ticks=1),N=:a)

```

---

<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:** [June 16, 2022, 3:31pm UTC](https://forum.generic-mapping-tools.org/t/gmt-6-4-for-julia/3030/2 "2022-06-16T15:31:26Z")

</div>

Made this topic public on June 16, 2022, 3:31pm UTC



---

<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:** [June 16, 2022, 3:37pm UTC](https://forum.generic-mapping-tools.org/t/gmt-6-4-for-julia/3030/3 "2022-06-16T15:37:25Z")

</div>

Hi Mariano,

GMT4 is not out yet but will be in a day or 2 (we are waiting for a certificate?) . But you are on Windows, right? Then just uninstall your GMT and next time you run GMT.jl a very recent GMT6.4dev will be installed automatically.

> [@marianoarnaiz](#):
>
> The second question is, how can I add -Na

You have it with `N=:a`. Confirmation with `Vd=1`

```auto
coast(region=(-74,-58,0,13), proj=:Mercator, figsize=25,frame=(annot=2, grid=2,ticks=1),N=:a, Vd=1)

```

---

<div class="post-metadata">

**Author:** ![marianoarnaiz](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/marianoarnaiz/32/971_2.png) [@marianoarnaiz](https://forum.generic-mapping-tools.org/u/marianoarnaiz)\
**Post date:** [June 16, 2022, 6:51pm UTC](https://forum.generic-mapping-tools.org/t/gmt-6-4-for-julia/3030/4 "2022-06-16T18:51:24Z")

</div>

Hi Joaquim.

I am working on Mac and Ubuntu. It is OK I can wait a few days hehehe.

I thought N=:a should work, but I am getting my map without the boundaries. Maybe I am missing something?

Verbose mode reads the -Na properly, but won’t plot.

> pscoast -R-74/-58/0/13 -JM25 -Bpa2f1g2 -BWSen -Na -Da -P -K \> /var/folders/b1/p8hb0\_6s3sq2kb9fcbmvgsr00000gn/T/GMTjl\_tmp.ps

 ![Screen Shot 2022-06-16 at 20.47.55 copy](https://canada1.discourse-cdn.com/flex047/uploads/gmt/original/2X/f/f51df144ff405840d1880fb809b8bb88cf85a3b6.jpeg)

---

<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:** [June 16, 2022, 7:02pm UTC](https://forum.generic-mapping-tools.org/t/gmt-6-4-for-julia/3030/5 "2022-06-16T19:02:47Z")

</div>

Quite likely because you are plotting the coast first and hiding that with the image. First image, next coast.

Regarding 6.4 if you are waiting that Ubuntu distributes it you may wait sit because it may take years. Better is to build it yourself.

---

<div class="post-metadata">

**Author:** ![marianoarnaiz](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/marianoarnaiz/32/971_2.png) [@marianoarnaiz](https://forum.generic-mapping-tools.org/u/marianoarnaiz)\
**Post date:** [June 17, 2022, 6:37am UTC](https://forum.generic-mapping-tools.org/t/gmt-6-4-for-julia/3030/6 "2022-06-17T06:37:17Z")

</div>

I can built it for ubuntu when it comes out. But I do most of my mapping in Mac anyway. So, I just need it to call ir from Homebrew.  
I guess it will take a few weeks.  
Thanks for the tip hahaha. I get all messed up with the modern julia way and miss things like that hahaha
