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_06.sh 777 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
  1. #!/usr/bin/env bash
  2. #
  3. # Testing absolute gravity crossovers from c2308 near Oahu.
  4. ps=x2sys_06.ps
  5. export X2SYS_HOME=`pwd`
  6. gmt x2sys_init LINE -D"${src:-.}"/line -Etxt -G -F
  7. gmt x2sys_cross -TLINE @c2308.txt -Qi > c2308_faa_x.txt
  8. gmt grdmath -R199/204/18/25 -I5m -fg c2308_faa_x.txt PDIST = dist_km.grd
  9. gmt makecpt -Chot -T0/100 > t.cpt
  10. gmt math c2308_faa_x.txt -i10 ABS = xfaa.txt
  11. gmt grdimage dist_km.grd -Ct.cpt -JM6i -P -K -Xc -Ei > $ps
  12. gmt pscoast -R -J -O -Ggray -Baf -K -Df >> $ps
  13. gmt psxy -R -J @c2308.txt -W0.25p,cyan -O -K -i0,1 >> $ps
  14. gmt psxy c2308_faa_x.txt -R -J -K -O -Sc0.02c -Ggreen@50 >> $ps
  15. gmt psbasemap -R -J -O -K -DjTL+w2i+o0.6i/0.2i+t >> $ps
  16. gmt pshistogram xfaa.txt -W2 -R0/150/0/30 -JX2i -Gred -L0.25p -BWSne+glightblue -Byaf+u% -Bxaf+lmGal -O >> $ps
Tip!

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

Comments

Loading...