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_manip.sh 475 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 the generation of illumination with yet another algorithm
  3. ps=illum_manip.ps
  4. gmt grdmath -R-15/15/-15/15 -I0.3 X Y HYPOT DUP 2 MUL PI MUL 8 DIV COS EXCH NEG 10 DIV EXP MUL = somb.nc
  5. gmt grd2cpt somb.nc -Cjet > pal.cpt
  6. gmt grdgradient somb.nc -Em225/45 -Gintensity.nc
  7. gmt grdview somb.nc -JX6i -JZ2i -B5 -Bz0.5 -BSEwnZ -N-1+gwhite -Qi100 -Iintensity.nc -X1.5i -Cpal.cpt \
  8. -R-15/15/-15/15/-1/1 -p120/30 > $ps
  9. rm -f somb.nc intensity.nc pal.cpt
Tip!

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

Comments

Loading...