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

greenwich.sh 1.5 KB

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
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
  1. #!/usr/bin/env bash
  2. # Test grdlandmask across Greenwich
  3. ps=greenwich.ps
  4. gmt makecpt -Cred -T0.5,1.5 -N > t.cpt
  5. # ORIGINAL:
  6. gmt grdlandmask -R-1.05/0.05/50.95/52.05 -I3s -Glandmask.grd=ns -Df -NNaN/1/1/1/1
  7. gmt grdimage landmask.grd -Jx2.5id -P -Ba1g1 -BWSne -Ct.cpt -K -Xc > $ps
  8. gmt pscoast -R -J -O -K -Df -W0.25p >> $ps
  9. gmt grdlandmask -R-2.05/-0.95/50.95/52.05 -I3s -Glandmask.grd=ns -Df -NNaN/1/1/1/1
  10. gmt grdimage landmask.grd -J -O -Ba1g1 -BWSne -Ct.cpt -K -Y3.25i >> $ps
  11. gmt pscoast -R -J -O -K -Df -W0.25p >> $ps
  12. gmt grdlandmask -R-0.05/1.05/50.95/52.05 -I3s -Glandmask.grd=ns -Df -NNaN/1/1/1/1
  13. gmt grdimage landmask.grd -J -O -K -Ba1g1 -BWSne -Ct.cpt -Y3.25i >> $ps
  14. gmt pscoast -R -J -O -Df -W0.25p >> $ps
  15. rm -f landmask.grd t.cpt
  16. # FAKED TO GIVE CORRECT PS
  17. #grdlandmask -R-1.05/0.05/50.95/52.05 -I3s -Glandmask.grd=ns -Df -NNaN/1/1/1/1
  18. #psbasemap -R -Jx2.5id -P -B+gred -K -Xc > $ps
  19. #grdimage landmask.grd -Jx2.5id -O -Ct.cpt -K >> $ps
  20. #psxy -R -J -O -K -A -Gred << EOF >> $ps
  21. #-1.05 50.95
  22. #-0.95 50.95
  23. #-0.95 52.05
  24. #-1.05 52.05
  25. #EOF
  26. #pscoast -R -J -O -K -Df -W0.25p -Ba1g1 -BWSne >> $ps
  27. #grdlandmask -R-2.05/-0.95/50.95/52.05 -I3s -Glandmask.grd=ns -Df -NNaN/1/1/1/1
  28. #grdimage landmask.grd -J -O -Ba1g1 -BWSne -Ct.cpt -K -Y3.25i >> $ps
  29. #pscoast -R -J -O -K -Df -W0.25p >> $ps
  30. #grdlandmask -R-0.05/1.05/50.95/52.05 -I3s -Glandmask.grd=ns -Df -NNaN/1/1/1/1
  31. #grdimage landmask.grd -J -O -K -Ct.cpt -Y3.25i >> $ps
  32. #psxy -R -J -O -K -A -Gred << EOF >> $ps
  33. #-0.05 50.95
  34. #0.05 50.95
  35. #0.05 52.05
  36. #-0.05 52.05
  37. #EOF
  38. #pscoast -R -J -O -Df -W0.25p -Ba1g1 -BWSne >> $ps
Tip!

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

Comments

Loading...