Problem in Julia

Hi everyone!
I am working with the Julia wrapper and I have a question.

I am using:
pmid=gmt(“vector -A133/35 -S-155/-30 -Ta -fg”)
To get the midpoint between to coordinates. But the variable pmid is Array{GMT.GMTdataset{Float64,2},1}.

How do I get this info to a normal Array{Float64,2}

Any idea? Thanks in advance!

Easy, but it’s instructive to look at the GMT.jl types definition


gives you the Array{Float64,2}

fields(pmid) shows you all members of the GMTdataset type.

Great! Thanks @Joaquim