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

mgd77header.rst 4.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
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
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
  1. .. index:: ! mgd77header
  2. .. include:: ../module_supplements_purpose.rst_
  3. ***********
  4. mgd77header
  5. ***********
  6. |mgd77header_purpose|
  7. Synopsis
  8. --------
  9. .. include:: ../../common_SYN_OPTs.rst_
  10. **gmt mgd77header** *GEODAS-id.a77*
  11. [ |-H|\ *headervalues.txt* ]
  12. [ |-M|\ **f**\ [*item*]\|\ **r**\|\ **t** ]
  13. [ |SYN_OPT-V| ]
  14. [ |SYN_OPT--| ]
  15. |No-spaces|
  16. Description
  17. -----------
  18. **mgd77header** generates an MGD77 header by reading A77 data (i.e.,
  19. the data record portion of MGD77 files), determines temporal and spatial
  20. extents, ten degree boxes crossed, and data columns present. Optionally,
  21. it can also read an input file consisting of header field values (**-H**\ )
  22. to be included in program output. Header field values determined from
  23. data and read from input are output in either MGD77 format or as a list.
  24. Required Arguments
  25. ------------------
  26. .. include:: explain_ncid.rst_
  27. Optional Arguments
  28. ------------------
  29. .. _-H:
  30. **-H**\ *headervalues.txt*
  31. Obtain header field values from the input text file. Each row of
  32. the input file should consist of a header field name and its
  33. desired value, separated by a space. See below for a sample header
  34. file and for the full list of header field names.
  35. .. _-M:
  36. **-Mf**\ [*item*]\|\ **r**\|\ **t**
  37. List the meta-data (header) for
  38. each cruise. Append **f** for a formatted display. This will list
  39. individual parameters and their values, one entry per output line,
  40. in a format that can be searched using standard UNIX text tools.
  41. Alternatively, append the name of a particular parameter (you only
  42. need to give enough characters - starting at the beginning - to
  43. uniquely identify the item). Give - to display the list of all
  44. parameter names. You may also specify the number of a parameter. For
  45. the raw, punchcard-formatted MGD77 original header block, append
  46. **r** instead. For the M77T format, append **t** instead.
  47. .. _-V:
  48. .. |Add_-V| unicode:: 0x20 .. just an invisible code
  49. .. include:: ../../explain_-V.rst_
  50. .. include:: ../../explain_help.rst_
  51. Header Item Sample File
  52. -----------------------
  53. Format_Acronym MGD77
  54. Source_Institution SOEST - UNIV. OF HAWAII
  55. Country USA
  56. Platform_Name KILO MOANA
  57. Platform_Type_Code 1
  58. Platform_Type SHIP
  59. Names of All MGD77 Header Fields
  60. --------------------------------
  61. Survey_Identifier
  62. Format_Acronym
  63. Data_Center_File_Number
  64. Parameters_Surveyed_Code
  65. File_Creation_Year
  66. File_Creation_Month
  67. File_Creation_Day
  68. Source_Institution
  69. Country
  70. Platform_Name
  71. Platform_Type_Code
  72. Platform_Type
  73. Chief_Scientist
  74. Project_Cruise_Leg
  75. Funding
  76. Survey_Departure_Year
  77. Survey_Departure_Month
  78. Survey_Departure_Day
  79. Port_of_Departure
  80. Survey_Arrival_Year
  81. Survey_Arrival_Month
  82. Survey_Arrival_Day
  83. Port_of_Arrival
  84. Navigation_Instrumentation
  85. Geodetic_Datum_Position_Determination_Method
  86. Bathymetry_Instrumentation
  87. Bathymetry_Add_Forms_of_Data
  88. Magnetics_Instrumentation
  89. Magnetics_Add_Forms_of_Data
  90. Gravity_Instrumentation
  91. Gravity_Add_Forms_of_Data
  92. Seismic_Instrumentation
  93. Seismic_Data_Formats
  94. Format_Type
  95. Format_Description
  96. Topmost_Latitude
  97. Bottommost_Latitude
  98. Leftmost_Longitude
  99. Rightmost_Longitude
  100. Bathymetry_Digitizing_Rate
  101. Bathymetry_Sampling_Rate
  102. Bathymetry_Assumed_Sound_Velocity
  103. Bathymetry_Datum_Code
  104. Bathymetry_Interpolation_Scheme
  105. Magnetics_Digitizing_Rate
  106. Magnetics_Sampling_Rate
  107. Magnetics_Sensor_Tow_Distance
  108. Magnetics_Sensor_Depth
  109. Magnetics_Sensor_Separation
  110. Magnetics_Ref_Field_Code
  111. Magnetics_Ref_Field
  112. Magnetics_Method_Applying_Res_Field
  113. Gravity_Digitizing_Rate
  114. Gravity_Sampling_Rate
  115. Gravity_Theoretical_Formula_Code
  116. Gravity_Theoretical_Formula
  117. Gravity_Reference_System_Code
  118. Gravity_Reference_System
  119. Gravity_Corrections_Applied
  120. Gravity_Departure_Base_Station
  121. Gravity_Departure_Base_Station_Name
  122. Gravity_Arrival_Base_Station
  123. Gravity_Arrival_Base_Station_Name
  124. Number_of_Ten_Degree_Identifiers
  125. Ten_Degree_Identifier
  126. Additional_Documentation_1
  127. Additional_Documentation_2
  128. Additional_Documentation_3
  129. Additional_Documentation_4
  130. Additional_Documentation_5
  131. Additional_Documentation_6
  132. Additional_Documentation_7
  133. Examples
  134. --------
  135. To generate an MGD77 header from A77 input, try
  136. ::
  137. gmt mgd77header km0201 -Hkmheaderitems.txt -Mf > km0201.h77
  138. See Also
  139. --------
  140. :doc:`mgd77info`,
  141. :doc:`mgd77list`,
  142. :doc:`mgd77manage`,
  143. :doc:`mgd77path`,
  144. :doc:`mgd77track`,
  145. :doc:`x2sys_init <../x2sys/x2sys_init>`
  146. References
  147. ----------
  148. The Marine Geophysical Data Exchange Format - MGD77, see
  149. `http://www.ngdc.noaa.gov/mgg/dat/geodas/docs/mgd77.txt. <http://www.ngdc.noaa.gov/mgg/dat/geodas/docs/mgd77.txt.>`_
Tip!

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

Comments

Loading...