Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

trace1p.sh 356 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
  1. #!/usr/bin/env bash
  2. # Test grdlandmask for border tracing [pixel grid]
  3. ps=trace1p.ps
  4. R=9/11/36/38
  5. cat << EOF > t.cpt
  6. 0 red
  7. 1 blue
  8. 2 lightbrown
  9. 3 cyan
  10. 4 white
  11. EOF
  12. gmt grdlandmask -R$R -Di -I1m -r -N1/2/3/4/5 -Gt.nc -E0/4/5/6
  13. gmt grdimage t.nc -JQ6i -nn -K -Ct.cpt -Xc -t75 -P > $ps
  14. gmt pscoast -R -J -Di -Wthin -O -Bafg1m -BWSne --MAP_GRID_PEN=faint >> $ps
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...