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

pacific_map_2.sh 655 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
20
21
22
23
24
25
26
27
  1. #!/usr/bin/env bash
  2. ps=pacific_map_2.ps
  3. EARTH_MODEL=e
  4. DEBUG=
  5. X0=-Xc
  6. Y0=-Yc
  7. REGION=-Rg
  8. TITLE=${ps%.ps}
  9. longitude=-140.0
  10. latitude=0.0
  11. altitude=35000.0
  12. tilt=0
  13. azimuth=0
  14. twist=0
  15. vp_longitude=-160L
  16. vp_latitude=22.5L
  17. Width=2.0
  18. Height=2.0
  19. PROJ=-JG${DEBUG}${EARTH_MODEL}${longitude}/${latitude}/${altitude}/${vp_longitude}/${vp_latitude}/${twist}/${Width}/${Height}/7i+
  20. gmt makecpt -Cglobe > t.cpt
  21. gmt grdcut @earth_relief_02m -R189/210/10/33 -Getopo2-hawaii.nc=ns
  22. gmt grdimage etopo2-hawaii.nc ${GMT_VERBOSE} -P -Xc -Yc $REGION $PROJ -Ct.cpt -K > $ps
  23. gmt pscoast ${GMT_VERBOSE} $REGION $PROJ -B5g5 -B+t${TITLE} -Wfaint -O --MAP_ANNOT_MIN_SPACING=0.5i >> $ps
Tip!

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

Comments

Loading...