Skip to content

grdmath for externals seems to only accept input grids, not lines #2476

@joa-quim

Description

@joa-quim
julia> G = gmt("grdmath -R60/95/6/24 -I0.1 ? LDIST", mat2ds([73 24; 89 6]))
ERROR: grd_init: input (Array{GMT.GMTdataset,1}) is not a GRID container type

bu it works if I first save the the line into a file and next do

julia> G = gmt("grdmath -R60/95/6/24 -I0.1 line.dat LDIST")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions