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

saddle.sh 1.7 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
  1. #!/usr/bin/env bash
  2. #
  3. ps=saddle.ps
  4. gmt xyz2grd -Z -R36/45/50/59 -I1 -Gtmp.nc <<EOF
  5. 29527.5605469
  6. 18648.4960938
  7. 17192.5234375
  8. 17469.8847656
  9. 20927.1855469
  10. 29527.5605469
  11. 29527.5605469
  12. 29527.5605469
  13. 29527.5605469
  14. 29527.5605469
  15. 16496.4746094
  16. 12068.6875
  17. 14445.1748047
  18. 18845.078125
  19. 14076.6220703
  20. 14089.5166016
  21. 14885.2011719
  22. 20648.7324219
  23. 19196.2714844
  24. 16855.6757812
  25. 11698.4199219
  26. 8837.23925781
  27. 23396.84375
  28. 16408.640625
  29. 11589.3251953
  30. 11761.3007812
  31. 18030.5371094
  32. 29527.5605469
  33. 29527.5605469
  34. 702.703063965
  35. 4274.65039062
  36. 10718.1162109
  37. 29527.5605469
  38. 4273.41259766
  39. 3764.75537109
  40. 29527.5605469
  41. 29527.5605469
  42. 29527.5605469
  43. 29527.5605469
  44. 28954.8769531
  45. 6249.45214844
  46. 7598.66650391
  47. 9495.21386719
  48. 2497.19824219
  49. 4745.03125
  50. 29527.5605469
  51. 13267.6923828
  52. 6599.89111328
  53. 6308.71191406
  54. 6976.85107422
  55. 4158.26660156
  56. 9958.11621094
  57. 7107.57128906
  58. 12078.0351562
  59. 10756.5996094
  60. 3813.96289062
  61. 4071.78686523
  62. 5684.43896484
  63. 7168.00341797
  64. 8182.87451172
  65. 7323.07861328
  66. 13999.6308594
  67. 6125.33007812
  68. 12331.4101562
  69. 4780.36376953
  70. 2281.17333984
  71. 4519.12109375
  72. 5376.76074219
  73. 5044.72802734
  74. 8351.234375
  75. 13287.8466797
  76. 8861.76269531
  77. 5099.01708984
  78. 7291.19580078
  79. 7219.94335938
  80. 7593.43310547
  81. 11506.9697266
  82. 6538.55615234
  83. 4508.85253906
  84. 7552.95849609
  85. 6756.79052734
  86. 10267.5527344
  87. 10848.5419922
  88. 6219.63378906
  89. 8064.08056641
  90. 13971.2060547
  91. 14540.2714844
  92. 8462.86132812
  93. 4057.77636719
  94. 6448.57226562
  95. 9629.86425781
  96. 13083.1933594
  97. 12245.8808594
  98. 8408.57128906
  99. 5525.45214844
  100. 9427.93554688
  101. 3227.48852539
  102. 11455.9863281
  103. 11501.3388672
  104. 12617.8066406
  105. EOF
  106. gmt makecpt -Cblack,red -T8000/10000 -N > tmp.cpt
  107. gmt grdcontour -Ctmp.cpt -An -R -JX4i tmp.nc -W+c -B1g1 -B+t"Direct contour" -K > $ps
  108. gmt grdcontour -Ctmp.cpt -An -R -JX4i tmp.nc -D | gmt psxy -O -X5i -J -R -B1g1 -B+t"Via -D then psxy" -Ctmp.cpt >> $ps
Tip!

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

Comments

Loading...