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

grdpmodeler.rst 4.9 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
  1. .. index:: ! grdpmodeler
  2. .. include:: ../module_supplements_purpose.rst_
  3. ***********
  4. grdpmodeler
  5. ***********
  6. |grdpmodeler_purpose|
  7. Synopsis
  8. --------
  9. .. include:: ../../common_SYN_OPTs.rst_
  10. **gmt grdpmodeler** |-E|\ *rot_file* **-S**\ *flags*
  11. [ *agegrdfile* ]
  12. [ |-F|\ *polygonfile* ]
  13. [ |-G|\ *outgrdfile* ]
  14. [ |SYN_OPT-R| ]
  15. [ |-T|\ *age* ]
  16. [ |SYN_OPT-V| ]
  17. [ |SYN_OPT-b| ]
  18. [ |SYN_OPT-d| ]
  19. [ |SYN_OPT-h| ]
  20. [ |SYN_OPT-r| ]
  21. [ |SYN_OPT-:| ]
  22. [ |SYN_OPT--| ]
  23. |No-spaces|
  24. Description
  25. -----------
  26. **grdpmodeler** reads a geographical age grid and a plate motion model
  27. and evaluates one of several model predictions. Optionally, the user may
  28. supply a clipping polygon in multiple-segment format; then, only the
  29. part of the grid inside the polygon is used to determine the model
  30. prediction; the remainder of the grid is set to NaN.
  31. Required Arguments
  32. ------------------
  33. .. include:: explain_rots.rst_
  34. .. _-S:
  35. **-S**\ *flags*
  36. Type of model prediction(s). Append one or more items: choose from **a** for plate motion
  37. azimuth, **d** for great-circle distance between current location and its
  38. origin at the ridge (in km), **s** for plate motion model stage ID (1 is youngest),
  39. **v** for plate motion rate (in mm/yr),
  40. **w** for plate rotation rate (degree/Myr), **x** for change in
  41. longitude relative to location of crust formation, **y** for change in
  42. latitude relative to location of crust formation, **X** for longitude of
  43. crust formation, and **Y** for latitude of crust formation.
  44. If no arguments are given we default to all [**adsvwxyXY**].
  45. Optional Arguments
  46. ------------------
  47. *ingrdfile*
  48. Name of a grid file in geographical (lon, lat) coordinates with ages in Myr.
  49. If no grid is provided then you may define the domain via **-R**, **-I**, and optionally **-r**.
  50. .. _-F:
  51. **-F**\ *polygonfile*
  52. Specify a multisegment closed polygon file that describes the inside
  53. area of the grid where the model should be evaluated; the outside
  54. will be set to NaN [Default evaluates model on the entire grid].
  55. .. _-G:
  56. **-G**\ *outgrdfile*
  57. Name of output grid. This is the grid with the model predictions
  58. given the specified rotations. **Note**: If you specified more than one
  59. model prediction in **-S** then the filename *must* be a template
  60. that contains the format %s; this will be replaced with the corresponding
  61. tags az, dist, stage, vel, omega, dlon, dlat, lon, lat.
  62. If the **-G** option is not used then we create no grids and instead
  63. write *lon, lat, age, predictions* records to standard output.
  64. .. _-T:
  65. **-T**\ *age*
  66. Use a fixed age for model evaluation (i.e., override the ages in the
  67. age grid). This lets you evaluate the model at a snapshot in time.
  68. Required if no age grid was provided.
  69. .. _-V:
  70. .. |Add_-V| unicode:: 0x20 .. just an invisible code
  71. .. include:: ../../explain_-V.rst_
  72. .. |Add_-bi| replace:: [Default is 2 input columns].
  73. .. include:: ../../explain_-bi.rst_
  74. .. |Add_-d| unicode:: 0x20 .. just an invisible code
  75. .. include:: ../../explain_-d.rst_
  76. .. |Add_-h| unicode:: 0x20 .. just an invisible code
  77. .. include:: ../../explain_-h.rst_
  78. .. include:: ../../explain_help.rst_
  79. .. include:: explain_geodetic.rst_
  80. .. include:: ../../explain_inside.rst_
  81. Examples
  82. --------
  83. We will use a grid with Pacific crust ages (pac_age.nc), a plate motion
  84. model (Pac_APM.txt), and a polygon that contains the outline of the
  85. present Pacific plate (pac_clip_path.txt). To evaluate the plate motion
  86. azimuths at the present time for the Pacific, try
  87. ::
  88. gmt grdpmodeler pac_age.nc -EPac_APM.txt -V -Fpac_clip_path.txt \
  89. -Gpac_dir_0.nc -Sa -T0
  90. To determine the changes in latitude since crust formation for the
  91. entire Pacific, try
  92. ::
  93. gmt grdpmodeler pac_age.nc -EPac_APM.txt -V -Fpac_clip_path.txt \
  94. -Gpac_dlat.nc -Sy
  95. To determine the plate motion velocities in effect when the Pacific crust was
  96. formed, try
  97. ::
  98. gmt grdpmodeler pac_age.nc -EPac_APM.txt -V -Fpac_clip_path.txt \
  99. -Gpac_vel.nc -Sv
  100. To determine how far the crust has moved since formation, try
  101. ::
  102. gmt grdpmodeler pac_age.nc -EPac_APM.txt -V -Fpac_clip_path.txt \
  103. -Gpac_dist.nc -Sd
  104. To save the coordinates of the crust's formation to separate grids, try
  105. ::
  106. gmt grdpmodeler pac_age.nc -EPac_APM.txt -V -Fpac_clip_path.txt \
  107. -Gpac_origin_%s.nc -SXY
  108. To repeat the same exercise but save output *lon,lat,age,xorigin,yorigin* to a table, use
  109. ::
  110. gmt grdpmodeler pac_age.nc -EPac_APM.txt -V -Fpac_clip_path.txt -SXY > origin.txt
  111. Notes
  112. -----
  113. GMT distributes the EarthByte rotation model Global_EarthByte_230-0Ma_GK07_AREPS.rot.
  114. To use an alternate rotation file, create an environmental parameters named
  115. **GPLATES_ROTATIONS** that points to an alternate rotation file.
  116. See Also
  117. --------
  118. :doc:`backtracker`,
  119. :doc:`gmtpmodeler`,
  120. :doc:`grdrotater`,
  121. :doc:`grdspotter`,
  122. :doc:`hotspotter`,
  123. :doc:`originater`,
  124. :doc:`rotconverter`
Tip!

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

Comments

Loading...