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

holes.sh 361 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
  1. #!/usr/bin/env bash
  2. # Test single hole points in grdmask, including the poles
  3. ps=holes.ps
  4. gmt math -T-90/90/10 -N2/1 0 = points.txt
  5. gmt makecpt -T0/1/1 -Cyellow > t.cpt
  6. gmt grdmask -Ghole.nc -I30m -R-75/75/-90/90 -N1/1/NaN -S4d points.txt
  7. gmt grdimage hole.nc -JQ0/7i -Bxafg180 -Byafg10 -BWSne+t"NaN mask for points with r = 4 degrees" -Ct.cpt -P -X0.75i > $ps
Tip!

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

Comments

Loading...