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

grdokb_grav.sh 815 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
  1. #! /bin/bash
  2. # $Id$
  3. #
  4. # Compute the gravity anomaly of the whater layer above the Gorringe bank
  5. ps=grdokb_grav.ps
  6. lim=-12.5/-10/35.5/37.5
  7. # Compute the grav anomaly using a contrast density of 1700 kg/m^3.
  8. # To get the Bouger anomaly this would be added to the FAA
  9. gmt grdgravmag3d ../genper/etopo10.nc -R$lim -fg -C1700 -Ggrdokb_grav.nc -I0.05 -Q0.5
  10. # Generate a line to compute a profile
  11. gmt project -C-11.7/37.2 -E-11/35.8 -G1 -Q > tt.xyp
  12. # Compute the anomaly along the tt line
  13. gmt grdgravmag3d ../genper/etopo10.nc -R$lim -fg -C1700 -Ftt.xyp -Q0.5 > tt.grv
  14. gmt grdcontour grdokb_grav.nc -C10 -A20 -JM14c -Ba -BWSen -P -K > $ps
  15. # Plot the track
  16. gmt psxy tt.xyp -R -W0.5p -JM -O -K >> $ps
  17. # And computed profile
  18. paste tt.xyp tt.grv | gmt psxy -i2,5 -R0/165/80/360 -JX14c/8c -W1p -Ba -BWS -Y16c -O >> $ps
Tip!

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

Comments

Loading...