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

spotter_11.sh 1.8 KB

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
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
  1. #!/usr/bin/env bash
  2. #
  3. ps=spotter_11.ps
  4. # Example 11 - Using gmt backtracker [repeat of 1 with a few more things]
  5. #
  6. # We will use gmt backtracker to test all six functions. We will
  7. # Go backwards in time from present coordinates to past coordinates:
  8. # 1. Predict hotspot track from Loihi back to 80 m.y. [-Df -Lb]
  9. # 2. Predict present location of point formed at Loihi 80 m.y ago [-Df]
  10. # 3. Predict plate flowline through Suiko starting at present ridge [-Df -Lf]
  11. # Go forward in time from the past to the present:
  12. # 4. Predict plate flowline from Suiko back until paleoridge (100 Ma) [-Db -Lf]
  13. # 5. Predict backtracked location of Suiko using its age of 64.7 Ma [-Db]
  14. # 6. Predict hotspot track backwards from 80 m.y. to now [-Db -Lb]
  15. echo "205 20 80" > loihi.txt
  16. echo "170 44 100" > suiko.txt
  17. gmt backtracker loihi.txt -Df -E@WK97.txt > end_of_trail.txt
  18. gmt backtracker suiko.txt -Db -E@WK97.txt > start_at_ridge.txt
  19. #
  20. gmt pscoast -R150/220/00/65 -JM7i -P -K -G30/120/30 -A500 -Dl -W0.25p -B20 -BWSne -Xc > $ps
  21. gmt psxy -R -J -O -K -Sc0.1i -Gred -W0.5p loihi.txt >> $ps
  22. # Task 1:
  23. gmt backtracker loihi.txt -Df -Lb25 -E@WK97.txt | gmt psxy -R -J -O -K -W1p >> $ps
  24. # Task 6:
  25. gmt backtracker end_of_trail.txt -Db -Lb200 -E@WK97.txt | gmt psxy -R -J -O -K -Sc0.2c -Wfaint >> $ps
  26. # Task 2:
  27. gmt backtracker loihi.txt -Df -E@WK97.txt | gmt psxy -R -J -O -K -Sc0.1i -Ggreen -W0.5p >> $ps
  28. # Task 4:
  29. gmt backtracker suiko.txt -Db -Lf25 -E@WK97.txt | gmt psxy -R -JM -O -K -W1p,orange >> $ps
  30. # Task 3:
  31. gmt backtracker start_at_ridge.txt -Df -Lf200 -E@WK97.txt | gmt psxy -R -JM -O -K -Sc0.2c -Wfaint,orange >> $ps
  32. # Task 5:
  33. echo "170 44 64.7" > suiko.txt
  34. gmt backtracker suiko.txt -Db -E@WK97.txt | gmt psxy -R -JM -O -K -ST0.1i -Gyellow -W0.5p >> $ps
  35. gmt psxy -R -JM -O -ST0.1i -Gcyan -W0.5p suiko.txt >> $ps
Tip!

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

Comments

Loading...