@aeroswarm/codec 0.0.0-stage → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +182 -3
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +1249 -0
- package/dist/surveillance/adsb/index.d.ts +16 -0
- package/dist/surveillance/adsb/index.d.ts.map +1 -0
- package/dist/surveillance/aftn/index.d.ts +3 -0
- package/dist/surveillance/aftn/index.d.ts.map +1 -0
- package/dist/surveillance/aftn/parser.d.ts +16 -0
- package/dist/surveillance/aftn/parser.d.ts.map +1 -0
- package/dist/surveillance/aftn/parser.test.d.ts +2 -0
- package/dist/surveillance/aftn/parser.test.d.ts.map +1 -0
- package/dist/surveillance/aftn/types.d.ts +75 -0
- package/dist/surveillance/aftn/types.d.ts.map +1 -0
- package/dist/surveillance/ais/index.d.ts +17 -0
- package/dist/surveillance/ais/index.d.ts.map +1 -0
- package/dist/surveillance/asmgcs/index.d.ts +14 -0
- package/dist/surveillance/asmgcs/index.d.ts.map +1 -0
- package/dist/surveillance/asterix/cat10/index.d.ts +3 -0
- package/dist/surveillance/asterix/cat10/index.d.ts.map +1 -0
- package/dist/surveillance/asterix/cat21/index.d.ts +5 -0
- package/dist/surveillance/asterix/cat21/index.d.ts.map +1 -0
- package/dist/surveillance/asterix/cat48/index.d.ts +5 -0
- package/dist/surveillance/asterix/cat48/index.d.ts.map +1 -0
- package/dist/surveillance/asterix/cat62/index.d.ts +3 -0
- package/dist/surveillance/asterix/cat62/index.d.ts.map +1 -0
- package/dist/surveillance/asterix/decoder.d.ts +14 -0
- package/dist/surveillance/asterix/decoder.d.ts.map +1 -0
- package/dist/surveillance/asterix/fields.d.ts +4 -0
- package/dist/surveillance/asterix/fields.d.ts.map +1 -0
- package/dist/surveillance/asterix/index.d.ts +5 -0
- package/dist/surveillance/asterix/index.d.ts.map +1 -0
- package/dist/surveillance/asterix/parser.d.ts +16 -0
- package/dist/surveillance/asterix/parser.d.ts.map +1 -0
- package/dist/surveillance/asterix/parser.test.d.ts +2 -0
- package/dist/surveillance/asterix/parser.test.d.ts.map +1 -0
- package/dist/surveillance/asterix/resolvers.d.ts +17 -0
- package/dist/surveillance/asterix/resolvers.d.ts.map +1 -0
- package/dist/surveillance/asterix/types.d.ts +56 -0
- package/dist/surveillance/asterix/types.d.ts.map +1 -0
- package/dist/surveillance/asterix/values.d.ts +10 -0
- package/dist/surveillance/asterix/values.d.ts.map +1 -0
- package/dist/surveillance/asterix/xml-loader.d.ts +46 -0
- package/dist/surveillance/asterix/xml-loader.d.ts.map +1 -0
- package/dist/surveillance/index.d.ts +7 -0
- package/dist/surveillance/index.d.ts.map +1 -0
- package/dist/surveillance/mlat/index.d.ts +16 -0
- package/dist/surveillance/mlat/index.d.ts.map +1 -0
- package/package.json +40 -6
- package/src/config/asterix.dtd +78 -0
- package/src/config/asterix.ini +17 -0
- package/src/config/asterix_bds.xml +462 -0
- package/src/config/asterix_cat001_1_1.xml +872 -0
- package/src/config/asterix_cat001_1_2.xml +836 -0
- package/src/config/asterix_cat002_1_0.xml +258 -0
- package/src/config/asterix_cat004_1_12.xml +1713 -0
- package/src/config/asterix_cat008_1_0.xml +353 -0
- package/src/config/asterix_cat010_1_1.xml +791 -0
- package/src/config/asterix_cat011_1_2.xml +1691 -0
- package/src/config/asterix_cat019_1_2.xml +293 -0
- package/src/config/asterix_cat020_1_7.xml +1256 -0
- package/src/config/asterix_cat021_0_26.xml +902 -0
- package/src/config/asterix_cat021_1_4.xml +1594 -0
- package/src/config/asterix_cat021_1_8.xml +1594 -0
- package/src/config/asterix_cat021_2_4.xml +2191 -0
- package/src/config/asterix_cat023_1_2.xml +357 -0
- package/src/config/asterix_cat025_1_2.xml +306 -0
- package/src/config/asterix_cat030_6_2.xml +1387 -0
- package/src/config/asterix_cat031_6_2.xml +214 -0
- package/src/config/asterix_cat032_6_2.xml +465 -0
- package/src/config/asterix_cat032_7_0.xml +702 -0
- package/src/config/asterix_cat034_1_26.xml +586 -0
- package/src/config/asterix_cat034_1_27.xml +683 -0
- package/src/config/asterix_cat048_1_14.xml +1142 -0
- package/src/config/asterix_cat048_1_21.xml +1241 -0
- package/src/config/asterix_cat062_0_17.xml +1442 -0
- package/src/config/asterix_cat062_1_16.xml +3031 -0
- package/src/config/asterix_cat062_1_18.xml +3303 -0
- package/src/config/asterix_cat062_1_7.xml +2817 -0
- package/src/config/asterix_cat062_1_9.xml +737 -0
- package/src/config/asterix_cat063_1_3.xml +298 -0
- package/src/config/asterix_cat065_1_2.xml +168 -0
- package/src/config/asterix_cat065_1_3.xml +183 -0
- package/src/config/asterix_cat094_0_1.xml +1103 -0
- package/src/config/asterix_cat205_1_0.xml +385 -0
- package/src/config/asterix_cat240_1_3.xml +289 -0
- package/src/config/asterix_cat242_1_0.xml +644 -0
- package/src/config/asterix_cat247_1_2.xml +92 -0
- package/src/config/asterix_cat252_6_1.xml +1826 -0
- package/src/config/asterix_cat252_6_2.xml +1831 -0
- package/src/config/asterix_cat252_7_0.xml +1867 -0
- package/src/config/eurocontroll_version/asterix-spec.xsd +343 -0
- package/src/config/eurocontroll_version/asterix_cat094.xml +457 -0
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!DOCTYPE Category SYSTEM "asterix.dtd">
|
|
3
|
+
|
|
4
|
+
<!--
|
|
5
|
+
|
|
6
|
+
Asterix Category 002 v1.0 definition
|
|
7
|
+
|
|
8
|
+
Author: dsalantic
|
|
9
|
+
Created: 25.2.2009.
|
|
10
|
+
Modified: 28.4.2014. (dsalantic) Special characters removed from BitsShortName, some BitsShortName renamed, tabs aligned
|
|
11
|
+
|
|
12
|
+
-->
|
|
13
|
+
|
|
14
|
+
<Category id="2" name="Transmission of Monoroadar Service Messages" ver="1.0">
|
|
15
|
+
|
|
16
|
+
<DataItem id="000">
|
|
17
|
+
<DataItemName>Message Type</DataItemName>
|
|
18
|
+
<DataItemDefinition>This Data Item allows for a more convenient handling of the messages at the receiver side by further defining the type of transaction.</DataItemDefinition>
|
|
19
|
+
<DataItemFormat desc="One-octet fixed length Data Item.">
|
|
20
|
+
<Fixed length="1">
|
|
21
|
+
<Bits from="8" to="1">
|
|
22
|
+
<BitsShortName>type</BitsShortName>
|
|
23
|
+
<BitsName>Message Type</BitsName>
|
|
24
|
+
<BitsValue val="1">North marker message</BitsValue>
|
|
25
|
+
<BitsValue val="2">Sector crossing message</BitsValue>
|
|
26
|
+
<BitsValue val="3">South marker message</BitsValue>
|
|
27
|
+
<BitsValue val="8">Activation of blind zone filtering</BitsValue>
|
|
28
|
+
<BitsValue val="9">Stop of blind zone filtering</BitsValue>
|
|
29
|
+
<!-- TODO <BitsValue from="1" to="127">Common standard use message</BitsValue> -->
|
|
30
|
+
<!-- TODO <BitsValue from="128" to="255">Application dependent message</BitsValue> -->
|
|
31
|
+
</Bits>
|
|
32
|
+
</Fixed>
|
|
33
|
+
</DataItemFormat>
|
|
34
|
+
</DataItem>
|
|
35
|
+
|
|
36
|
+
<DataItem id="010">
|
|
37
|
+
<DataItemName>Data Source Identifier</DataItemName>
|
|
38
|
+
<DataItemDefinition>Identification of the radar station from which the data are received.</DataItemDefinition>
|
|
39
|
+
<DataItemFormat desc="Two-octets fixed length data item.">
|
|
40
|
+
<Fixed length="2">
|
|
41
|
+
<Bits from="16" to="9">
|
|
42
|
+
<BitsShortName>SAC</BitsShortName>
|
|
43
|
+
<BitsName>System Area Code</BitsName>
|
|
44
|
+
</Bits>
|
|
45
|
+
<Bits from="8" to="1">
|
|
46
|
+
<BitsShortName>SIC</BitsShortName>
|
|
47
|
+
<BitsName>System Identification Code</BitsName>
|
|
48
|
+
</Bits>
|
|
49
|
+
</Fixed>
|
|
50
|
+
</DataItemFormat>
|
|
51
|
+
</DataItem>
|
|
52
|
+
|
|
53
|
+
<DataItem id="020">
|
|
54
|
+
<DataItemName>Sector Number</DataItemName>
|
|
55
|
+
<DataItemDefinition>Eight most significant bits of the antenna azimuth defining a particular azimuth sector.</DataItemDefinition>
|
|
56
|
+
<DataItemFormat desc="One-octet fixed length Data Item.">
|
|
57
|
+
<Fixed length="1">
|
|
58
|
+
<Bits from="8" to="1">
|
|
59
|
+
<BitsShortName>Azi</BitsShortName>
|
|
60
|
+
<BitsName>Antenna azimuth</BitsName>
|
|
61
|
+
<BitsUnit scale="1.40625">deg</BitsUnit>
|
|
62
|
+
</Bits>
|
|
63
|
+
</Fixed>
|
|
64
|
+
</DataItemFormat>
|
|
65
|
+
<DataItemNote>The use of the antenna azimuth as sector number has the advantage of being independent of the number of sectors implemented.</DataItemNote>
|
|
66
|
+
</DataItem>
|
|
67
|
+
|
|
68
|
+
<DataItem id="030">
|
|
69
|
+
<DataItemName>Time of Day</DataItemName>
|
|
70
|
+
<DataItemDefinition>Absolute time stamping expressed as UTC time.</DataItemDefinition>
|
|
71
|
+
<DataItemFormat desc="Three-octet fixed length Data Item.">
|
|
72
|
+
<Fixed length="3">
|
|
73
|
+
<Bits from="24" to="1">
|
|
74
|
+
<BitsShortName>ToD</BitsShortName>
|
|
75
|
+
<BitsName>Time of day</BitsName>
|
|
76
|
+
<BitsUnit scale="0.0078125">s</BitsUnit>
|
|
77
|
+
</Bits>
|
|
78
|
+
</Fixed>
|
|
79
|
+
</DataItemFormat>
|
|
80
|
+
<DataItemNote>1. The time of day value is reset to zero each day at midnight. 2. For time management in radar transmission applications, refer to Part 1, paragraph 5.4 [ Ref.2]. 3. Data Item I002/030 can have various logical meanings. In a particular message, the logical meaning is implicit from its context (e.g. in a North marker message it represents the antenna North crossing time; in a sector message it represents the antenna sector crossing time).</DataItemNote>
|
|
81
|
+
</DataItem>
|
|
82
|
+
|
|
83
|
+
<DataItem id="041">
|
|
84
|
+
<DataItemName>Antenna Rotation Speed</DataItemName>
|
|
85
|
+
<DataItemDefinition>Antenna rotation period as measured between two consecutive North crossings or as averaged during a period of time.</DataItemDefinition>
|
|
86
|
+
<DataItemFormat desc="Two-octet fixed length Data Item">
|
|
87
|
+
<Fixed length="2">
|
|
88
|
+
<Bits from="16" to="1">
|
|
89
|
+
<BitsShortName>RotS</BitsShortName>
|
|
90
|
+
<BitsName>Antenna rotation speed</BitsName>
|
|
91
|
+
<BitsUnit scale="0.0078125">s</BitsUnit>
|
|
92
|
+
</Bits>
|
|
93
|
+
</Fixed>
|
|
94
|
+
</DataItemFormat>
|
|
95
|
+
</DataItem>
|
|
96
|
+
|
|
97
|
+
<DataItem id="050">
|
|
98
|
+
<DataItemName>Station Configuration Status</DataItemName>
|
|
99
|
+
<DataItemDefinition>Information concerning the use and status of some vital hardware components of the radar system.</DataItemDefinition>
|
|
100
|
+
<DataItemFormat desc="Variable length Data Item comprising a first part of oneoctet, followed by one-octet extents as necessary.">
|
|
101
|
+
<Variable>
|
|
102
|
+
<Fixed length="1">
|
|
103
|
+
<Bits from="8" to="2">
|
|
104
|
+
<BitsShortName>Stat</BitsShortName>
|
|
105
|
+
<BitsName>Status</BitsName>
|
|
106
|
+
</Bits>
|
|
107
|
+
<Bits bit="1" fx="1">
|
|
108
|
+
<BitsShortName>fx</BitsShortName>
|
|
109
|
+
<BitsName>Field extension</BitsName>
|
|
110
|
+
<BitsValue val="1">Extension into next extent</BitsValue>
|
|
111
|
+
<BitsValue val="0">End of Data Item</BitsValue>
|
|
112
|
+
</Bits>
|
|
113
|
+
</Fixed>
|
|
114
|
+
</Variable>
|
|
115
|
+
</DataItemFormat>
|
|
116
|
+
<DataItemNote>Due to the diversity in hardware design and requirement of present and future radar stations, it is felt impractical to attempt to define the individual bits.</DataItemNote>
|
|
117
|
+
</DataItem>
|
|
118
|
+
|
|
119
|
+
<DataItem id="060">
|
|
120
|
+
<DataItemName>Station Processing Mode</DataItemName>
|
|
121
|
+
<DataItemDefinition>Details concerning the present status with respect to processing parameters and options.</DataItemDefinition>
|
|
122
|
+
<DataItemFormat desc="Variable length Data Item comprising a first part of oneoctet, followed by one-octet extents as necessary.">
|
|
123
|
+
<Variable>
|
|
124
|
+
<Fixed length="1">
|
|
125
|
+
<Bits from="8" to="2">
|
|
126
|
+
<BitsShortName>mode</BitsShortName>
|
|
127
|
+
<BitsName>Mode</BitsName>
|
|
128
|
+
</Bits>
|
|
129
|
+
<Bits bit="1" fx="1">
|
|
130
|
+
<BitsShortName>fx</BitsShortName>
|
|
131
|
+
<BitsName>Field extension</BitsName>
|
|
132
|
+
<BitsValue val="1">Extension into next extent</BitsValue>
|
|
133
|
+
<BitsValue val="0">End of Data Item</BitsValue>
|
|
134
|
+
</Bits>
|
|
135
|
+
</Fixed>
|
|
136
|
+
</Variable>
|
|
137
|
+
</DataItemFormat>
|
|
138
|
+
<DataItemNote>Typical information conveyed within this Data Item includes inter alia type of polarisation in use, Moving Target Indicator (MTI) in use and/or definition of the range to which MTI is applied, presence of overload conditions and the type of load reduction measures in use. 2. Only the structure of this Data Item is defined, no attempt is made to standardise its contents, in order not to hamper any application or future development.</DataItemNote>
|
|
139
|
+
</DataItem>
|
|
140
|
+
|
|
141
|
+
<DataItem id="070">
|
|
142
|
+
<DataItemName>Plot Count Values</DataItemName>
|
|
143
|
+
<DataItemDefinition>Plot count values according to various plot categories, either for the last full antenna scan or for the last sector processed.</DataItemDefinition>
|
|
144
|
+
<DataItemFormat desc="Repetitive Data Item, starting with a one-octet Field Repetition Indicator (REP) followed by at least one plot counter of two-octet length.">
|
|
145
|
+
<Repetitive>
|
|
146
|
+
<Fixed length="2">
|
|
147
|
+
<Bits bit="16">
|
|
148
|
+
<BitsShortName>A</BitsShortName>
|
|
149
|
+
<BitsName>Aerial identification</BitsName>
|
|
150
|
+
<BitsValue val="0">Counter for antenna 1</BitsValue>
|
|
151
|
+
<BitsValue val="1">Counter for antenna 2</BitsValue>
|
|
152
|
+
</Bits>
|
|
153
|
+
<Bits from="15" to="11">
|
|
154
|
+
<BitsShortName>ident</BitsShortName>
|
|
155
|
+
<BitsName>Plot category identification code</BitsName>
|
|
156
|
+
<BitsValue val="1">Sole primary plots</BitsValue>
|
|
157
|
+
<BitsValue val="2">Sole SSR plots</BitsValue>
|
|
158
|
+
<BitsValue val="3">Combined plots</BitsValue>
|
|
159
|
+
</Bits>
|
|
160
|
+
<Bits from="10" to="1">
|
|
161
|
+
<BitsShortName>counter</BitsShortName>
|
|
162
|
+
<BitsName>Counter value</BitsName>
|
|
163
|
+
</Bits>
|
|
164
|
+
</Fixed>
|
|
165
|
+
</Repetitive>
|
|
166
|
+
</DataItemFormat>
|
|
167
|
+
</DataItem>
|
|
168
|
+
|
|
169
|
+
<DataItem id="080">
|
|
170
|
+
<DataItemName>Warning/Error Conditions</DataItemName>
|
|
171
|
+
<DataItemDefinition>Warning/error conditions affecting the functioning of the radar system itself.</DataItemDefinition>
|
|
172
|
+
<DataItemFormat desc="Variable length Data Item comprising a first part of oneoctet, followed by one-octet extents as necessary">
|
|
173
|
+
<Variable>
|
|
174
|
+
<Fixed length="1">
|
|
175
|
+
<Bits from="8" to="2">
|
|
176
|
+
<BitsShortName>err_value</BitsShortName>
|
|
177
|
+
<BitsName>W/E Condition value</BitsName>
|
|
178
|
+
</Bits>
|
|
179
|
+
<Bits bit="1" fx="1">
|
|
180
|
+
<BitsShortName>fx</BitsShortName>
|
|
181
|
+
<BitsName>Field extension</BitsName>
|
|
182
|
+
<BitsValue val="1">Extension into next extent</BitsValue>
|
|
183
|
+
<BitsValue val="0">End of Data Item</BitsValue>
|
|
184
|
+
</Bits>
|
|
185
|
+
</Fixed>
|
|
186
|
+
</Variable>
|
|
187
|
+
</DataItemFormat>
|
|
188
|
+
<DataItemNote>Warning/error condition values 1-63 are reserved for common Standard use, whereas the values 64-127 are application dependent.</DataItemNote>
|
|
189
|
+
</DataItem>
|
|
190
|
+
|
|
191
|
+
<DataItem id="090">
|
|
192
|
+
<DataItemName>Collimation Error</DataItemName>
|
|
193
|
+
<DataItemDefinition>Averaged difference in range and in azimuth for the primary target position with respect to the SSR target position as calculated by the radar station</DataItemDefinition>
|
|
194
|
+
<DataItemFormat desc="Two-octet fixed length Data Item">
|
|
195
|
+
<Fixed length="2">
|
|
196
|
+
<Bits from="16" to="9" encode="signed">
|
|
197
|
+
<BitsShortName>RngE</BitsShortName>
|
|
198
|
+
<BitsName>Range Error</BitsName>
|
|
199
|
+
<BitsUnit scale="0.0078125">NM</BitsUnit>
|
|
200
|
+
</Bits>
|
|
201
|
+
<Bits from="8" to="1" encode="signed">
|
|
202
|
+
<BitsShortName>AziE</BitsShortName>
|
|
203
|
+
<BitsName>Azimuth Error</BitsName>
|
|
204
|
+
<BitsUnit scale="0.02197265625">deg</BitsUnit>
|
|
205
|
+
</Bits>
|
|
206
|
+
</Fixed>
|
|
207
|
+
</DataItemFormat>
|
|
208
|
+
<DataItemNote>1. A default quantisation unit of 0.022° and a range between -2.8125° and +2.7905° is obtained for a value of f=2 . 2. Negative values are expressed in 2's complement form, bit-16 and bit-8 are set to 0 for positive values and 1 for negative values.</DataItemNote>
|
|
209
|
+
</DataItem>
|
|
210
|
+
|
|
211
|
+
<DataItem id="100">
|
|
212
|
+
<DataItemName>Dynamic Window - Type 1</DataItemName>
|
|
213
|
+
<DataItemDefinition>Signals the activation of a certain selective filtering function and in a polar coordinates system the respective geographical areas.</DataItemDefinition>
|
|
214
|
+
<DataItemFormat desc="Eight-octet fixed length Data Item">
|
|
215
|
+
<Fixed length="8">
|
|
216
|
+
<Bits from="64" to="49">
|
|
217
|
+
<BitsShortName>rho_start</BitsShortName>
|
|
218
|
+
<BitsName>Rho start</BitsName>
|
|
219
|
+
<BitsUnit scale="0.0078125">NM</BitsUnit>
|
|
220
|
+
</Bits>
|
|
221
|
+
<Bits from="48" to="33">
|
|
222
|
+
<BitsShortName>rho_end</BitsShortName>
|
|
223
|
+
<BitsName>Rho end</BitsName>
|
|
224
|
+
<BitsUnit scale="0.0078125">NM</BitsUnit>
|
|
225
|
+
</Bits>
|
|
226
|
+
<Bits from="32" to="17">
|
|
227
|
+
<BitsShortName>theta_start</BitsShortName>
|
|
228
|
+
<BitsName>Theta start</BitsName>
|
|
229
|
+
<BitsUnit scale="0.0054931640625">deg</BitsUnit>
|
|
230
|
+
</Bits>
|
|
231
|
+
<Bits from="16" to="1">
|
|
232
|
+
<BitsShortName>theta_end</BitsShortName>
|
|
233
|
+
<BitsName>Theta end</BitsName>
|
|
234
|
+
<BitsUnit scale="0.0054931640625">deg</BitsUnit>
|
|
235
|
+
</Bits>
|
|
236
|
+
</Fixed>
|
|
237
|
+
</DataItemFormat>
|
|
238
|
+
<DataItemNote>The logical meaning of the polar window is defined by its context, given by the Message Type (Data Item I002/000) in the record concerned.</DataItemNote>
|
|
239
|
+
</DataItem>
|
|
240
|
+
|
|
241
|
+
<UAP>
|
|
242
|
+
<UAPItem bit="0" frn="1" len="2">010</UAPItem>
|
|
243
|
+
<UAPItem bit="1" frn="2" len="1">000</UAPItem>
|
|
244
|
+
<UAPItem bit="2" frn="3" len="1">020</UAPItem>
|
|
245
|
+
<UAPItem bit="3" frn="4" len="3">030</UAPItem>
|
|
246
|
+
<UAPItem bit="4" frn="5" len="2">041</UAPItem>
|
|
247
|
+
<UAPItem bit="5" frn="6" len="1+">050</UAPItem>
|
|
248
|
+
<UAPItem bit="6" frn="7" len="1+">060</UAPItem>
|
|
249
|
+
<UAPItem bit="7" frn="FX">-</UAPItem>
|
|
250
|
+
<UAPItem bit="8" frn="8" len="1+">070</UAPItem>
|
|
251
|
+
<UAPItem bit="9" frn="9" len="8">100</UAPItem>
|
|
252
|
+
<UAPItem bit="10" frn="10" len="2">090</UAPItem>
|
|
253
|
+
<UAPItem bit="11" frn="11" len="1+">080</UAPItem>
|
|
254
|
+
<UAPItem bit="15" frn="FX">-</UAPItem>
|
|
255
|
+
</UAP>
|
|
256
|
+
|
|
257
|
+
</Category>
|
|
258
|
+
|