gmt icon indicating copy to clipboard operation
gmt copied to clipboard

Bug in grdcountour -T+a

Open Esteban82 opened this issue 4 years ago • 2 comments

BUG:

There is a contour line (that goes trough the Andes) with the tickmark in the opposite direction.

Doubt:

Should all the contour line have tickmarks?

Full script:

gmt begin grdcontour png
	gmt grdmath -Rg -I1 40 21 SDIST = tmp_dist.nc
	
	gmt coast -Rd -JX10/5c -G200 -Sdodgerblue2
	gmt grdcontour tmp_dist.nc -C1000 -Wthinnest -T+a -A
	
	gmt coast -Rd -JW40/10c -G200 -Sdodgerblue2 	   -Y5c
	gmt grdcontour tmp_dist.nc -C1000 -Wthinnest -T+a
gmt end show

grdcontour

Esteban82 avatar Dec 02 '21 14:12 Esteban82

Doubt:

Should all the contour line have tickmarks?

No, they are only applied to closed polygons.

PaulWessel avatar Dec 02 '21 19:12 PaulWessel

This is the 13000 km line. Interesting that it is determined to be a closed polygon. I will need to debug to see why it is selected in the first place.

PaulWessel avatar Dec 02 '21 20:12 PaulWessel