-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest-gmt.bat
More file actions
35 lines (26 loc) · 825 Bytes
/
Copy pathtest-gmt.bat
File metadata and controls
35 lines (26 loc) · 825 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
REM
REM Run GMT Tests
REM
@echo on
REM check GMT version
gmt --version
REM check GMT defaults
gmt defaults -Vd
REM check GMT classic mode, GSHHG and DCW
gmt pscoast -R0/10/0/10 -JM6i -Ba -Ggray -ENG+p1p,blue -P -Vd > test.ps
REM check GMT modern mode, GSHHG and DCW
gmt begin
gmt coast -R0/10/0/10 -JM6i -Ba -Ggray -ENG+p1p,blue
gmt end
REM check remote file, one-liner
gmt grdimage @earth_relief_01d -JH10c -Baf -pdf map
REM check remote file and PROJ settings
gmt grdinfo @earth_day_01d
REM check local documentation
gmt docs -Q coast
REM check movie in MP4 and GIF format
echo "gmt begin" > globe.bat
echo "gmt coast -Rg -JG%%MOVIE_FRAME%%/20/%%MOVIE_WIDTH%% -Gmaroon -Sturquoise -Bg -X0 -Y0" >> globe.bat
echo "gmt end" >> globe.bat
gmt movie globe.bat -Nglobe_bat -T12 -Fmp4 -Agif -C6ix6ix100 -Lf -Vd
@echo off