Many thanks. Unfortunately, now I have a new error as below.
So this is the official GMT forum? Glad to hear about that. I’ll try to ask this type of questions over there:
Error message:
**ERROR:** LoadError: MethodError: no method matching GMTgrid(::String, ::String, ::Int64, ::Vector{Float64}, ::Vector{Float64}, ::Int64, ::Float64, ::String, ::String, ::String, ::Vector{String}, ::Vector{Float64}, ::Vector{Float64}, ::Vector{Float64}, ::LinearAlgebra.Adjoint{Float64, Matrix{Float64}}, ::String, ::String, ::String, ::String, ::String, ::Float32, ::Float32, ::Int64)
Closest candidates are:
GMTgrid(::String, ::String, ::Int64, ::Vector{Float64}, ::Vector{Float64}, ::Int64, ::Union{Float32, Float64}, ::String, ::String, ::String, ::Vector{String}, ::Vector{Float64}, ::Vector{Float64}, ::Union{Vector{String}, Vector{<:Real}}, ::Array{T, N}, ::String, ::String, ::String, ::String, ::String, ::Union{Float32, Float64}, ::Union{Float32, Float64}, ::Int64) where {T<:Real, N} at ~/.julia/packages/GMT/TPV4a/src/gmt_main.jl:2
Stacktrace:
[1] **mat2grid(** mat::LinearAlgebra.Adjoint{Float64, Matrix{Float64}}, xx::Vector{Float64}, yy::Vector{Float64}; reg::Nothing, x::Vector{Float64}, y::Vector{Float64}, v::Vector{Float64}, hdr::Nothing, proj4::String, wkt::String, epsg::Int64, tit::String, rem::String, cmd::String, names::Vector{String}, scale::Float32, offset::Float32 **)**
@ GMT ~/.julia/packages/GMT/TPV4a/src/utils_types.jl:622