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

slices_file.sh 673 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
  1. #!/usr/bin/env bash
  2. # Test grdinterpolate slicing along equator through a 3-D grid
  3. # Getting the file directly from IRIS.
  4. # This script tests ability to supply our own profile file
  5. gmt begin slices_file ps
  6. gmt set PROJ_ELLIPSOID sphere
  7. curl -s http://ds.iris.edu/spudservice/data/17996723 -o S362ANI_kmps.nc
  8. gmt math -T0/180/0.5 0 = line.txt
  9. gmt grdinterpolate S362ANI_kmps.nc?vs -Eline.txt -T30/2890/10 -Gvs.nc
  10. gmt makecpt -Cseis -T4.25/7.35
  11. gmt subplot begin 3x1 -Fs12c/7c -Bafg -R0/180/0/2900 -A
  12. gmt grdimage vs.nc -JP?+fp+kx -c -BWESn
  13. gmt grdimage vs.nc -JP?+fp+a+t90 -c -BWESn
  14. gmt grdimage vs.nc -JP?+fp+zp+a+t90 -c -BWESn
  15. gmt subplot end
  16. gmt end show
Tip!

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

Comments

Loading...