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

events.sh 516 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
  1. #!/usr/bin/env bash
  2. # Test gmt psevents with some quakes
  3. ps=events.ps
  4. #gmt convert "https://earthquake.usgs.gov/fdsnws/event/1/query.csv?starttime=2018-01-01%2000:00:00&endtime=2018-12-31%2000:00:00&minmagnitude=5&orderby=time-asc" \
  5. # -i2,1,3,4+s50,0 -hi1 > quakes_2018.txt
  6. gmt makecpt -Cred,green,blue -T0,70,300,10000 > q.cpt
  7. gmt psevents -Rg -JG200/5/6i -Baf -B+t"Pacific seismicity in 2018 on June 1" @quakes_2018.txt -SE- -Cq.cpt --TIME_UNIT=d -T2018-06-01T -Es+r2+d6 -Ms5+c0.5 -Mi1+c-0.6 -Mt+c0 -P > $ps
Tip!

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

Comments

Loading...