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_linear.sh 275 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 trend
  4. gmt grdmath -R-15/15/-15/15 -I0.1 X Y ADD = lixo1.grd
  5. gmt grdtrend lixo1.grd -N3 -Dlixo2.grd
  6. gmt grdinfo lixo2.grd -Cn -L2 | gmt convert -o10 > lixo1.dat
  7. echo 0 > lixo2.dat
  8. diff lixo1.dat lixo1.dat --strip-trailing-cr > fail
Tip!

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

Comments

Loading...