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

lmask.sh 354 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
  1. #!/usr/bin/env bash
  2. # Test grdlandmask on ocean/land/lake
  3. ps=lmask.ps
  4. cat << EOF > t.cpt
  5. 1 blue
  6. 2 brown
  7. 3 cyan
  8. EOF
  9. gmt pscoast -R9:30/10/37/37:30 -JX4.5id -Baf -BWSne -Di -Gred -K -P -Xc -Y0.75i > $ps
  10. gmt grdlandmask -R -Di -r -I1m -N1/2/3/4/5 -Gt.nc
  11. gmt grdimage t.nc -J -O -K -Ct.cpt -Bafg1m -BWSne -Y5.1i >> $ps
  12. gmt pscoast -R -J -Di -Wthin -O >> $ps
Tip!

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

Comments

Loading...