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

east_map_7.sh 604 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
28
  1. #!/usr/bin/env bash
  2. ps=east_map_7.ps
  3. EARTH_MODEL=e
  4. DEBUG=
  5. X0=-Xc
  6. Y0=-Yc
  7. REGION=-Rg
  8. TITLE=${ps%.ps}
  9. latitude=41.5
  10. longitude=-74.0
  11. altitude=20000.0
  12. tilt=0
  13. azimuth=0
  14. twist=0
  15. Width=0.0
  16. Height=0.0
  17. PROJ=-JG${DEBUG}${EARTH_MODEL}${longitude}/${latitude}/${altitude}/${azimuth}/${tilt}/${twist}/${Width}/${Height}/7i+
  18. # first generate a gmt grdimage
  19. GRDFILE=@earth_relief_30m
  20. gmt makecpt -Cearth > t.cpt
  21. gmt grdimage ${GMT_VERBOSE} ${GRDFILE} -P -Xc -Yc $REGION $PROJ -Ct.cpt -K > $ps
  22. gmt pscoast ${GMT_VERBOSE} $REGION $PROJ -B10g10 -B+t${TITLE} -Wfaint -A10000 -Dc -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...