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

emag_v2.sh 595 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
  1. #!/usr/bin/env bash
  2. # Test script for issue # msg6788 with flipped CDF order
  3. # Orig plotted with -R is OK, region cut with grdcut fails
  4. ps=emag_v2.ps
  5. gmt makecpt -Crainbow -T-200/200/50 > col.cpt
  6. gmt grdcut @EMAG2_V2_1x1.grd -Gtmp.nc -R-25/-10/60/67
  7. gmt grdimage @EMAG2_V2_1x1.grd -P -JX4id -R -Ccol.cpt -K -Baf -BWSne -Xc > $ps
  8. gmt pstext -R -J -O -K -F+cTR+f24p+jTR+tORIG -Gwhite >> $ps
  9. gmt pscoast -Gblack -Dc -O -K -R -J >> $ps
  10. gmt grdimage tmp.nc -J -Ccol.cpt -K -O -Y5i -Baf -BWSne >> $ps
  11. gmt pscoast -Gblack -Dc -O -K -R -J >> $ps
  12. gmt pstext -R -J -O -F+cTR+f24p+jTR+tCUT -Gwhite >> $ps
Tip!

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

Comments

Loading...