REM GMT EXAMPLE xxxx REM 2019-04-14 leiyang@fio.org.cn REM Purpose: Using grdmath to show the distance from GSHHG coastline data REM gmt gmtset FORMAT_GEO_MAP = dddF MAP_FRAME_WIDTH=2p gmt gmtset FONT_ANNOT_PRIMARY 7p,Helvetica,black FONT_LABEL 7p,Helvetica,black
REM 使用GSHHG 提取海岸线,需要使用GSHHG的bin文件,此方法可以提取出闭合的全球地理数据 rem 进入 gshhg bin文件夹,执行: REM gmt gshhg gshhs_i.b --IO_SEGMENT_MARKER=N > gshhs_i.txt # http://gmt.soest.hawaii.edu/boards/1/topics/6324 , http://www.soest.hawaii.edu/pwessel/gshhg/ REM 使用pscoast 提取海岸线 gmt pscoast -R100/170/00/55 -M -W -Dc -A10000> coastal.txt REM another way to select data gmt select trc.dat -Lcoastal.txt+d50k -fg > subset.d2