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

mask.sh 691 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
15
16
17
18
19
  1. #!/bin/bash
  2. # $Id$
  3. #
  4. # Test gmt grdlandmask for proper wrapping.
  5. ps=mask.ps
  6. gmt makecpt -Cwhite -T-10000,10000 -N > tt.cpt
  7. echo "N black" >> tt.cpt
  8. # Must split a 5x5 degree shore bin across L and R boundary
  9. gmt grdlandmask -Gtt.i2=bs -I60m -R-3/357/-90/90 -Di -N1/NaN/NaN/NaN/NaN -A500/1/1
  10. gmt grdimage tt.i2=bs -Jx0.017id -Bx30g180 -By30g90 -BWSnE -Ctt.cpt -Xc -Y0.75i -P -K > $ps
  11. #
  12. gmt grdlandmask -Gtt.i2=bs -I60m -Rg -Di -N1/NaN/NaN/NaN/NaN -A500/1/1
  13. gmt grdimage tt.i2=bs -J -Bx30g180 -By30g90 -BWsnE -Ctt.cpt -Y3.25i -O -K >> $ps
  14. #
  15. gmt grdlandmask -Gtt.i2=bs -I60m -Rd -Di -N1/NaN/NaN/NaN/NaN -A500/1/1
  16. gmt grdimage tt.i2=bs -J -Bx30g180 -By30g90 -BWsnE -Ctt.cpt -Y3.25i -O >> $ps
Tip!

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

Comments

Loading...