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.sh 584 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
  1. #!/usr/bin/env bash
  2. # Test grdinterpolate slicing along equator through a 3-D grid
  3. # Getting the file directly from IRIS
  4. gmt begin slices ps
  5. gmt set PROJ_ELLIPSOID sphere
  6. curl -s http://ds.iris.edu/spudservice/data/17996723 -o S362ANI_kmps.nc
  7. gmt grdinterpolate S362ANI_kmps.nc?vs -E0/0/180/0+i0.5d+g+p -T30/2890/10 -Gvs.nc
  8. gmt makecpt -Cseis -T4.25/7.35
  9. gmt subplot begin 3x1 -Fs12c/7c -Bafg -R0/180/0/2900 -A
  10. gmt grdimage vs.nc -JP?+fp+kx -c -BWESn
  11. gmt grdimage vs.nc -JP?+fp+a+t90 -c -BWESn
  12. gmt grdimage vs.nc -JP?+fp+zp+a+t90 -c -BWESn
  13. gmt subplot end
  14. gmt end show
Tip!

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

Comments

Loading...