Bug #1216

grdmask incorrect selection of nodes inside the polygon

Added by Mark 5 months ago. Updated 5 months ago.

Status:ClosedStart date:2018-03-13
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:Candidate for next bugfix release
Affected version:6.x-svn Platform:Linux

Description

Running version 6.0.0 on Ubuntu 16.04

gmt grdmask -Rg -I0.1d mohns.ll -N1/NaN/NaN -Gmohns.grd

Attached plot is generated using:

psfile="age.ps"

rgn="-R-20/20/65/90"
proj="-Jx1d"

gmt makecpt -T0/30/1 -Crainbow -D > age.cpt

gmt grdimage mohns.grd $rgn $proj -Cage.cpt -Q -K > $psfile
gmt psxy mohns.ll $rgn $proj -W0.5p,darkgreen -L -O -K >> $psfile
gmt pscoast $rgn $proj -A100 -W0.1p -Dh -O >> $psfile

mohns.ll - polygon (2.81 KB) Mark, 2018-03-13 11:07

age.jpg - plot (1.1 MB) Mark, 2018-03-13 11:07

History

#1 Updated by Joaquim 5 months ago

  • Status changed from New to In Progress

Can't confirm this. It works fine here (Win) and I can also confirm with Mirone that the mohns.grd grid is correct.

#2 Updated by Paul 5 months ago

Likewise on OSX. Looks good here (6.0.0-r19941). Maybe too aggressive compilation with -O3 or something?

#3 Updated by Paul 5 months ago

Mark, any update on this? We have nothing to go on.

#4 Updated by Mark 5 months ago

A complete wipe, update of all libraries and reinstall seems to have fixed the problem.

Still none the wiser as to why it was happening...

Apologies for the trouble!

Mark

#5 Updated by Joaquim 5 months ago

  • Status changed from In Progress to Closed

Also available in: Atom PDF