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

x2sys_03.sh 649 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
  1. #!/usr/bin/env bash
  2. #
  3. # This is original Figure 3 script from
  4. # Wessel, P. (2010), Tools for analyzing intersecting tracks: the x2sys package,
  5. # Computers & Geosciences, 36, 348-354.
  6. # Here used as a test for the x2sys suite.
  7. ps=x2sys_03.ps
  8. R=181/185/0/3
  9. gmt makecpt -Crainbow -T-80/80 > faa.cpt
  10. # Grid the data
  11. cat "${src:-.}"/bad/*.xyg | gmt blockmean -R$R -I1m | gmt surface -R$R -I1m -Gss_gridded_bad.nc -T0.25
  12. gmt grdgradient ss_gridded_bad.nc -Ne0.75 -A65 -fg -Gss_gridded_bad_int.nc
  13. gmt grdimage ss_gridded_bad.nc -Iss_gridded_bad_int.nc -Ei -JM5.5i -P -X1.75i -Y1.25i -Cfaa.cpt -B1 -BWSne --MAP_FRAME_WIDTH=3p --FORMAT_GEO_MAP=dddF > $ps
Tip!

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

Comments

Loading...