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

grdtime.sh 954 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. ps=grdtime.ps
  4. # tsu_chile60.nc contains predicted tsunami travel times in hours since the earthquake
  5. # Zero hour is 1960-05-22T19:11:17.0. Make a map showing UTC hours as contour annotations.
  6. gmt grdcontour @tsu_chile60.nc -JM6i -P -A1+f9p -C0.5 -L0/4.75 -GlZ-/LT -K -Wc0.25p,- -Xc -fg,T \
  7. --TIME_EPOCH=1960-05-22T19:11:17.0 --TIME_UNIT=h \
  8. --FORMAT_DATE_MAP= --FORMAT_CLOCK_MAP=hh:mm > $ps
  9. gmt grdcontour @tsu_chile60.nc -J -A1+f9p -C0.5 -L5.25/50 -GlZ-/LT -O -K -Wc0.25p,- -fg,T \
  10. --TIME_EPOCH=1960-05-22T19:11:17.0 --TIME_UNIT=h \
  11. --FORMAT_DATE_MAP= --FORMAT_CLOCK_MAP=hh:mm >> $ps
  12. gmt grdcontour @tsu_chile60.nc -J -A1+f10p+v -L4.75/5.25 -GlZ-/LT -O -K -fg,T \
  13. --TIME_EPOCH=1960-05-22T19:11:17.0 --TIME_UNIT=hh:mm \
  14. --FORMAT_DATE_MAP=yyyy/mm/dd --FORMAT_CLOCK_MAP=hh:mm >> $ps
  15. echo 74:30W 39:30S | gmt psxy -R@tsu_chile60.nc -J -O -K -Sa0.1i -Gblack >> $ps
  16. gmt pscoast -R -J -O -Ggray -Baf --FORMAT_GEO_MAP=dddF >> $ps
Tip!

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

Comments

Loading...