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

x2sys_list.rst 6.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
  1. .. index:: ! x2sys_list
  2. .. include:: ../module_supplements_purpose.rst_
  3. **********
  4. x2sys_list
  5. **********
  6. |x2sys_list_purpose|
  7. Synopsis
  8. --------
  9. .. include:: ../../common_SYN_OPTs.rst_
  10. **gmt x2sys_list** |-C|\ *column* |-T|\ *TAG* [ *coedbase.txt* ]
  11. [ |-A|\ *asymm_max* ]
  12. [ |-E| ]
  13. [ |-F|\ *flags* ]
  14. [ |-I|\ [*list*] ]
  15. [ |-L|\ [*corrtable*] ]
  16. [ |-N|\ *nx_min*\ [**+p**] ]
  17. [ |-Q|\ **e**\|\ **i** ]
  18. [ |SYN_OPT-R| ]
  19. [ |-S|\ *track*\ [**+b**] ]
  20. [ |SYN_OPT-V| ]
  21. [ |-W|\ [*list*] ]
  22. [ |SYN_OPT-bo| ]
  23. [ |SYN_OPT--| ]
  24. |No-spaces|
  25. Description
  26. -----------
  27. **x2sys_list** will read the crossover ASCII data base *coedbase.txt*
  28. (or *stdin*) and extract a subset of the crossovers based on the other
  29. arguments. The output may be ASCII or binary.
  30. Required Arguments
  31. ------------------
  32. .. _-C:
  33. **-C**\ *column*
  34. Specify which data column you want to process. Crossovers related to
  35. this column name must be present in the crossover data base.
  36. .. include:: explain_tag.rst_
  37. Optional Arguments
  38. ------------------
  39. *coedbase.txt*
  40. The name of the input ASCII crossover error data base as produced by
  41. :doc:`x2sys_cross`. If not given we read standard input instead.
  42. .. _-A:
  43. **-A**\ *asymm_max*
  44. Specifies maximum asymmetry in the distribution of crossovers
  45. relative to the mid point in time (or distance, if not time is
  46. available). Asymmetry is computed as (n_right - n_left)/(n_right
  47. + n_left), referring the the number of crossovers that falls in the
  48. left or right half of the range. Symmetric distributions will have
  49. values close to zero. If specified, we exclude tracks whose
  50. asymmetry exceeds the specify cutoff in absolute value [1, i.e.,
  51. include all].
  52. .. _-E:
  53. **-E**
  54. Enhance ASCII output by writing GMT segment headers with names of the
  55. two tracks and their total number of cross-overs [no segment headers].
  56. .. _-F:
  57. **-F**\ *flags*
  58. Specify your desired output using any combination of
  59. **acdhiInNtTvwxyz**, in any order. Do not use space between the
  60. letters, and note your selection is case-sensitive. The output will
  61. be ASCII (or binary, **-bo**) columns of
  62. values. Description of codes: **a** is the angle (< 90) defined by
  63. the crossing tracks, **c** is crossover value of chosen observation
  64. (see **-C**), **d** is distance along track, **h** is heading along
  65. track, **i** is the signed time interval between the visit at the
  66. crossover of the two tracks involved, **I** is same as **i** but is
  67. unsigned, **n** is the names of the two tracks, **N** is the id
  68. numbers of the two tracks, **t** is time along track in
  69. *date*\ **T**\ *clock* format (NaN if not available), **T** is
  70. elapsed time since start of track along track (NaN if not
  71. available), **v** is speed along track, **w** is the composite
  72. weight, **x** is *x*-coordinate (or longitude), **y** is
  73. *y*-coordinate (or latitude), and **z** is observed value (see
  74. **-C**) along track. If **-S** is not specified then
  75. **d**,\ **h**,\ **n**,\ **N**,\ **t**,\ **T**,\ **v** results in two
  76. output columns each: first for track one and next for track two (in
  77. lexical order of track names); otherwise, they refer to the
  78. specified track only (except for **n**,\ **N** which then refers to
  79. the other track). The sign convention for **c**,\ **i** is track one
  80. minus track two (lexically sorted). Time intervals will be returned
  81. according to the :term:`TIME_UNIT` GMT defaults setting. The output order
  82. of the columns follows the order they were given in *flags* with the
  83. exception that **n**, if chosen, will always be placed after all
  84. numeric columns (it becomes part of the trailing text).
  85. .. _-i:
  86. **-I**\ [*list*]
  87. Name of ASCII file with a list of track names (one per record) that
  88. should be excluded from consideration [Default includes all tracks].
  89. .. _-L:
  90. **-L**\ [*corrtable*]
  91. Apply optimal corrections to the chosen observable. Append the
  92. correction table to use [Default uses the correction table
  93. *TAG*\ \_corrections.txt which is expected to reside in the
  94. **$X2SYS_HOME**/*TAG* directory]. For the format of this file, see
  95. **x2sys_solve**.
  96. .. _-N:
  97. **-N**\ *nx_min*\ [**+p**]
  98. Suppress all crossovers involving tracks that did not generate
  99. at least a total of *nx_min* crossings with all other tracks.
  100. Alternatively, append **+p** to instead suppress data from pairs that
  101. generated less than *nx_min* crossovers between them [use all pairs].
  102. .. _-Q:
  103. **-Qe**\|\ **i**
  104. Append **e** for external crossovers or **i** for internal
  105. crossovers only [Default is all crossovers].
  106. .. _-R:
  107. .. |Add_-Rgeo| replace:: For Cartesian
  108. data just give *xmin/xmax/ymin/ymax*. This option bases the
  109. statistics on those COE that fall inside the specified domain.
  110. .. include:: ../../explain_-Rgeo.rst_
  111. .. _-S:
  112. **-S**\ *track*\ [**+b**]
  113. Name of a single track. If given we restrict output to those
  114. crossovers involving this track [Default output is crossovers
  115. involving any track pair]. Append **+b** to print info relative
  116. to both tracks in the pair.
  117. .. _-V:
  118. .. |Add_-V| unicode:: 0x20 .. just an invisible code
  119. .. include:: ../../explain_-V.rst_
  120. .. _-W:
  121. **-W**\ [*list*]
  122. Name of ASCII file with a list of track names and their relative
  123. weights (one track per record) that should be used to calculate the
  124. composite crossover weight (output code **w** above). [Default sets
  125. weights to 1].
  126. .. |Add_-bo| unicode:: 0x20 .. just an invisible code
  127. .. include:: ../../explain_-bo.rst_
  128. .. include:: ../../explain_help.rst_
  129. Input Format
  130. ------------
  131. In moving to a more robust data record definition in GMT 6, all text
  132. items are now placed after all numerical items. For **x2sys_list**, this
  133. means that whereas the *ID1, ID2* track ids used to be written to the first two
  134. columns, they are now placed at the end as part of the trailing text.
  135. Examples
  136. --------
  137. To find all the magnetic crossovers associated with the tag MGD77 from
  138. the file COE_data.txt, restricted to occupy a certain region in the
  139. south Pacific, and return location, time, and crossover value, try
  140. ::
  141. gmt x2sys_list COE_data.txt -V -TMGD77 -R180/240/-60/-30 -Cmag -Fxytz > mag_coe.txt
  142. To find all the faa crossovers globally that involves track 12345678 and
  143. output time since start of the year, using a binary double precision
  144. format, try
  145. ::
  146. gmt x2sys_list COE_data.txt -V -TMGD77 -Cfaa -S12345678 -FTz -bod > faa_coe.b
  147. See Also
  148. --------
  149. :doc:`x2sys_binlist`,
  150. :doc:`x2sys_cross`,
  151. :doc:`x2sys_datalist`,
  152. :doc:`x2sys_get`,
  153. :doc:`x2sys_init`,
  154. :doc:`x2sys_put`,
  155. :doc:`x2sys_report`,
  156. :doc:`x2sys_solve`
Tip!

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

Comments

Loading...