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

illum_var.sh 532 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 the generation of illumination for variable azimuth
  3. ps=illum_var.ps
  4. gmt grdmath -R-15/15/-15/15 -I0.1 Y 30 MUL SIND X 30 MUL SIND MUL = sin.nc
  5. gmt grdmath -R-15/15/-15/15 -I0.1 0 10 CAZ = az.nc
  6. gmt grd2cpt sin.nc -Cjet > pal.cpt
  7. gmt grd2cpt az.nc -Cjet > az.cpt
  8. gmt grdgradient sin.nc -Aaz.nc -Gintensity.nc -Nt1.25
  9. gmt grdcontour az.nc -JX4.5i -Baf -C10 -A30 -K -P -Zp -GlLM/RM -Xc > $ps
  10. gmt grdimage sin.nc -J -Baf -BWsNE -Iintensity.nc -Cpal.cpt -O -Y5i >> $ps
  11. rm -f sin.nc intensity.nc pal.cpt
Tip!

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

Comments

Loading...