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

trend_robust.sh 415 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
  1. #!/usr/bin/env bash
  2. #
  3. # Remove a bilinear robust trend
  4. ps=trend_robust.ps
  5. gmt grdtrend -N3r -Ttrend.nc -Dresid.nc @data_w_nans.nc
  6. gmt makecpt -T-5000/-4000 -Crainbow > t.cpt
  7. gmt grdimage @data_w_nans.nc -JM3i -P -Baf -BWSne -Xc -Ct.cpt -K > $ps
  8. gmt grdcontour trend.nc -J -Y3.25i -C5 -A10 -Baf -BWSne -O -K >> $ps
  9. gmt makecpt -T-500/500 -Cjet > t.cpt
  10. gmt grdimage resid.nc -J -Y3.25i -Ct.cpt -Baf -BWSne -O >> $ps
Tip!

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

Comments

Loading...