1 | <h3>BKG Ntrip Client (BNC) Version 1.5</h3>
|
---|
2 |
|
---|
3 | <p>
|
---|
4 | The BKG Ntrip Client (BNC) is a program for simultaneously retrieving, decoding and converting real-time GNSS data streams from NTRIP broadcasters like <u>http://www.euref-ip.net/home</u> or <u>http://www.igs-ip.net/home</u>.
|
---|
5 | </p>
|
---|
6 | <p>
|
---|
7 | BNC has been developed for the Federal Agency for Cartography and Geodesy (BKG) within the framework of EUREF's Real-time GNSS Project (EUREF-IP, IP for Internet Protocol) and the Real-Time IGS Pilot Project (RTIGS).
|
---|
8 | </p>
|
---|
9 | <p>
|
---|
10 | BNC has been written under GNU General Public License (GPL). Binaries for BNC are available for Windows, 32-bit Linux, 64-bit Linux (compiled using option -m32), Solaris, and Mac systems. We used the MinGW Version 5.3.1 compiler to create the Windows binary. It is likely that BNC can be compiled on other systems where a GNU compiler and Qt Version 4.3.2 are installed.
|
---|
11 | </p>
|
---|
12 | <h3>Contents</h3>
|
---|
13 | <p>
|
---|
14 | <h4>
|
---|
15 | <a href=#purpose>1. Purpose</a><br>
|
---|
16 | <a href=#resources>2. Resources</a><br>
|
---|
17 | <a href=#options>3. Options</a><br>
|
---|
18 | <a href=#limits>4. Limitations</a><br>
|
---|
19 | <a href=#authors>5. Authors</a><br>
|
---|
20 | <a href=#annex>8. Annex</a><br>
|
---|
21 | </h4>
|
---|
22 | </p>
|
---|
23 |
|
---|
24 | <p><a name="purpose"><h3>1. Purpose</h3></p>
|
---|
25 |
|
---|
26 | <p> The purpose of BNC is to
|
---|
27 |
|
---|
28 | <ul>
|
---|
29 | <li>retrieve real-time GNSS data streams available through NTRIP transport protocol,</li>
|
---|
30 | <li>generate high-rate RINEX Observation and Navigation files to support near real-time GNSS post-processing applications, and/or</li>
|
---|
31 | <li>generate ephemeris and synchronized observations epoch by epoch through an IP port to support real-time GNSS engines, and/or</li>
|
---|
32 | <li>monitor the performance of a network of real-time GNSS reference stations to generate advisory notes.</li>
|
---|
33 | </ul>
|
---|
34 | </p>
|
---|
35 | <p>
|
---|
36 | BNC supports the following GNSS data formats:
|
---|
37 | </p>
|
---|
38 | <p>
|
---|
39 | <ul>
|
---|
40 | <li>RTCM Version 2.x containing message types 18 and 19 (GPS and GLONASS), </li>
|
---|
41 | <li>RTCM Version 3.x containing message types 1002 (GPS, SBAS) or 1004 (GPS), 1010 or 1012 (GLONASS), 1019 or 1020 (broadcast ephemeris)</li>
|
---|
42 | <li>RTIGS containing GPS record types 200 (observations) and 300 (ephemeris).</li>
|
---|
43 | </ul>
|
---|
44 | BNC allows to by-pass its decoding and conversion algorithms, leave whatever is received untouched and save it in files.
|
---|
45 | </p>
|
---|
46 | <p><a name="resources"><h3>2. Resources</h3></p>
|
---|
47 | <p>
|
---|
48 | BNC requires access to the Internet with a minimum of about 2 to 6 kbits/sec per stream depending on the stream format and the number of visible satellites. You need to make sure that the connection can sustain the required bandwidth.
|
---|
49 | </p>
|
---|
50 | <p>
|
---|
51 | Note that running BNC requires the clock of the host computer to be properly synchronized.
|
---|
52 | </p>
|
---|
53 | <p>
|
---|
54 | BNC has the capacity to retrieve hundreds of GNSS data streams simultaneously. Please be aware that such usage may incur a heavy load on the NTRIP broadcaster side depending on the number of streams requested. We recommend limiting the number of streams where possible to avoid unnecessary workload.
|
---|
55 | </p>
|
---|
56 |
|
---|
57 | <p><a name="options"><h3>3. Options</h3></p>
|
---|
58 | <p>
|
---|
59 | 3.1. <a href=#file>File</a><br>
|
---|
60 | 3.2. <a href=#help>Help</a><br>
|
---|
61 | 3.3. <a href=#proxy>Proxy</a><br>
|
---|
62 | 3.4. <a href=#general>General</a><br>
|
---|
63 | 3.4.1. <a href=#genlog>Logfile</a><br>
|
---|
64 | 3.4.2. <a href=#genapp>Append Files</a><br>
|
---|
65 | 3.5. <a href=#rinex>RINEX - Observations</a><br>
|
---|
66 | 3.5.1. <a href=#rnxname>File Names</a><br>
|
---|
67 | 3.5.2. <a href=#rnxdir>Directory</a><br>
|
---|
68 | 3.5.3. <a href=#rnxinterval>File Interval</a><br>
|
---|
69 | 3.5.4. <a href=#rnxsample>Sampling</a><br>
|
---|
70 | 3.5.5. <a href=#rnxskl>Skeleton Extension</a><br>
|
---|
71 | 3.5.6. <a href=#rnxscript>Script</a><br>
|
---|
72 | 3.5.7. <a href=#rnxvers>Version</a><br>
|
---|
73 | 3.6. <a href=#ephemeris>RINEX - Ephemeris</a><br>
|
---|
74 | 3.6.3. <a href=#ephdir>Directory</a><br>
|
---|
75 | 3.6.1. <a href=#ephint>File Interval</a><br>
|
---|
76 | 3.6.2. <a href=#ephport>Output Port</a><br>
|
---|
77 | 3.6.4. <a href=#ephvers>Version</a><br>
|
---|
78 | 3.7. <a href=#syncout>Synchronized Observations</a><br>
|
---|
79 | 3.7.1. <a href=#syncport>Output Port</a><br>
|
---|
80 | 3.7.2. <a href=#syncwait>Wait for Full Epoch</a><br>
|
---|
81 | 3.7.3. <a href=#syncfile>Output File</a><br>
|
---|
82 | 3.8. <a href=#advnote>Monitor</a><br>
|
---|
83 | 3.8.1. <a href=#obsrate>Observation Rate</a><br>
|
---|
84 | 3.8.2. <a href=#advfail>Failure Threshold</a><br>
|
---|
85 | 3.8.3. <a href=#advreco>Recovery Threshold</a><br>
|
---|
86 | 3.8.4. <a href=#advscript>Advisory Script</a><br>
|
---|
87 | 3.8.5. <a href=#latelog>Latency Logging</a><br>
|
---|
88 | 3.9. <a href=#mountpoints>Mountpoints</a><br>
|
---|
89 | 3.9.1. <a href=#mountadd>Add Mountpoints</a><br>
|
---|
90 | 3.9.2. <a href=#mounthost>Broadcaster Host and Port</a><br>
|
---|
91 | 3.9.3. <a href=#mountuser>Broadcaster User and Password</a><br>
|
---|
92 | 3.9.4. <a href=#mounttable>Get Table</a><br>
|
---|
93 | 3.9.5. <a href=#mountdelete>Delete Mountpoints</a><br>
|
---|
94 | 3.9.6. <a href=#mountedit>Edit Mountpoints</a><br>
|
---|
95 | 3.10. <a href=#start>Start</a><br>
|
---|
96 | 3.11. <a href=#stop>Stop</a><br>
|
---|
97 | 3.12. <a href=#nw>No Window</a>
|
---|
98 | </p>
|
---|
99 |
|
---|
100 | <p><a name="file"><h4>3.1. File</h4></p>
|
---|
101 |
|
---|
102 | <p>
|
---|
103 | The 'File' button lets you
|
---|
104 | <ul>
|
---|
105 | <li>
|
---|
106 | select an appropriate font.<br>
|
---|
107 | Use smaller font size if the BNC main window exceeds the size of your screen.
|
---|
108 | </li>
|
---|
109 | <li> save selected options.<br>
|
---|
110 | Note that on Windows systems options are saved in register BKG_NTRIP_Client. On Unix/Linux systems options are saved in file ${HOME}/.config/BKG/BKG_NTRIP_Client.conf.
|
---|
111 | </li>
|
---|
112 | <li>
|
---|
113 | quit the BNC program.
|
---|
114 | </li>
|
---|
115 | </ul>
|
---|
116 | </p>
|
---|
117 |
|
---|
118 | <p><a name="help"><h4>3.2. Help</h4></p>
|
---|
119 |
|
---|
120 | <p>
|
---|
121 | The 'Help' button provides access to
|
---|
122 | <ul>
|
---|
123 | <li>
|
---|
124 | help contents.<br>
|
---|
125 | You may keep the 'Help Contents' window open while configuring BNC.
|
---|
126 | </li>
|
---|
127 | <li>
|
---|
128 | general information about BNC.<br>
|
---|
129 | Close the 'About BNC' window to continue working with BNC.
|
---|
130 | </li>
|
---|
131 | </ul>
|
---|
132 | </p>
|
---|
133 | <p>
|
---|
134 | BNC comes with a help system providing online information about its functionality and usage. Short descriptions are available for any widget. Focus to the relevant widget and press Shift+F1 to request help information. A help text appears immediately; it disappears as soon as the user does something else. The dialogs on some operating systems may provide a "?" button that users can click; they then click the relevant widget to pop up the help text.
|
---|
135 | </p>
|
---|
136 |
|
---|
137 | <p><a name="proxy"><h4>3.3. Proxy - for usage in a protected LAN</h4></p>
|
---|
138 |
|
---|
139 | <p>
|
---|
140 | If you are running BNC within a protected Local Area Network (LAN), you might need to use a proxy server to access the Internet. Enter your proxy server IP and port number in case one is operated in front of BNC. If you don't know the IP and port of your proxy server, check the proxy server settings in your Internet browser or ask your network administrator.</p>
|
---|
141 | <p>
|
---|
142 | Note that IP streaming is often not allowed in a LAN. In this case you need to ask your network administrator for an appropriate modification of the local security policy or for the installation of a TCP relay to the NTRIP broadcasters. If these are not possible, you might need to run BNC outside your LAN on a host that has unobstructed connection to the Internet.
|
---|
143 | </p>
|
---|
144 | <p><a name="general"><h4>3.4. General</h4></p>
|
---|
145 |
|
---|
146 | <p><a name="genlog"><h4>3.4.1 Logfile - optional</h4></p>
|
---|
147 | <p>
|
---|
148 | Records of BNC's activities are shown in the Log section on the bottom of the main window. These logs can be saved into a file when a valid path is specified in the 'Log (full path)' field. The message log covers the communication status between BNC and the NTRIP broadcaster as well as problems that may occur in the communication link, stream availability, stream delay, stream conversion etc. The default value for 'Log (full path)' is an empty option field, meaning that BNC logs will not saved into a file.
|
---|
149 | </p>
|
---|
150 |
|
---|
151 | <p><a name="genapp"><h4>3.4.2 Append Files</h4></p>
|
---|
152 | <p>
|
---|
153 | When BNC is started, new files are created by default and any existing files with the same name will be overwritten. However, users might want to append existing files following a restart of BNC, a system crash or when BNC crashed. Tick 'Append files' to continue with existing files and keep what has been recorded so far. Note that option 'Append files' affects all types of files created by BNC.
|
---|
154 | </p>
|
---|
155 |
|
---|
156 | <p><a name="rinex"><h4>3.5. RINEX - Observations</h4></p>
|
---|
157 | <p>
|
---|
158 | Observations will be converted to RINEX if they come in either RTCM Version 2.x, RTCM Version 3.x, or RTIGS format. BNC's RINEX Observation files generally contain C1, C2, P1, P2, L1, L2, S1, and S2 observations. In case an observation is unavailable, its value is set to zero '0.000'. Note that the 'RINEX TYPE' field in the RINEX Observation file header is always set to 'M(MIXED)' even if the file does not contain any GLONASS or SABAS data.
|
---|
159 | </p>
|
---|
160 |
|
---|
161 | <p><a name="rnxname"><h4>3.5.1 RINEX File Names</h4></p>
|
---|
162 | <p>
|
---|
163 | RINEX file names are derived by BNC from the first 4 characters of the corresponding mountpoint (4Char Station ID). For example, data from mountpoints FRANKFURT and WETTZELL will have hourly RINEX Observation files named</p>
|
---|
164 | <p>
|
---|
165 | FRAN{ddd}{h}.{yy}O<br>
|
---|
166 | WETT{ddd}{h}.{yy}O
|
---|
167 | </p>
|
---|
168 | <p>
|
---|
169 | where 'ddd' is the day of year, 'h' is a letter which corresponds to an hour long UTC time block and 'yy' is the year.
|
---|
170 | </p>
|
---|
171 | <p>
|
---|
172 | If there are more than one stream with identical 4Char Station ID (same first 4 characters for their mountpoints), the mountpoint strings are split into two sub-strings and both become part of the RINEX file name. For example, when simultaneously retrieving data from mountpoints FRANKFURT and FRANCE, their hourly RINEX Observation files are named as</p>
|
---|
173 | <p>
|
---|
174 | FRAN{ddd}{h}_KFURT.{yy}O<br>
|
---|
175 | FRAN{ddd}{h}_CE.{yy}O.
|
---|
176 | </p>
|
---|
177 | <p>
|
---|
178 | If several streams show exactly the same mountpoint name (example: BRUS0 from <u>www.euref-ip.net</u> and BRUS0 from <u>www.igs-ip.net</u>), BNC adds an integer number to the file name leading i.e. to hourly RINEX Observation files like</p>
|
---|
179 | <p>
|
---|
180 | BRUS{ddd}{h}_0.{yy}O<br>
|
---|
181 | BRUS{ddd}{h}_1.{yy}O.
|
---|
182 | </p>
|
---|
183 | <p>
|
---|
184 | Note that RINEX file names for all intervals less than 1 hour follow the file name convention for 15 minutes RINEX Observation files i.e.</p>
|
---|
185 | <p>
|
---|
186 | FRAN{ddd}{h}{mm}.{yy}O
|
---|
187 | </p>
|
---|
188 | <p>
|
---|
189 | where 'mm' is the starting minute within the hour.
|
---|
190 | </p>
|
---|
191 |
|
---|
192 | <p><a name="rnxdir"><h4>3.5.2 Directory - optional</h4></p>
|
---|
193 | <p>
|
---|
194 | Here you can specify the path to where the RINEX Observation files will be stored. If the specified directory does not exist, BNC will not create RINEX Observation files. Default value for 'Directory' is an empty option field, meaning that no RINEX Observation files will be written.
|
---|
195 | </p>
|
---|
196 |
|
---|
197 | <p><a name="rnxinterval"><h4>3.5.3 File Interval - mandatory if 'Directory' is set</h4></p>
|
---|
198 | <p>
|
---|
199 | Select the length of the RINEX Observation file generated. The default value is 15 minutes.
|
---|
200 | </p>
|
---|
201 |
|
---|
202 | <p><a name="rnxsample"><h4>3.5.4 Sampling - mandatory if 'Directory' is set </h4></p>
|
---|
203 | <p>
|
---|
204 | Select the RINEX Observation sampling interval in seconds. A value of zero '0' tells BNC to store all received epochs into RINEX. This is the default value.
|
---|
205 | </p>
|
---|
206 |
|
---|
207 | <p><a name="rnxskl"><h4>3.5.5 Skeleton Extension - optional</h4></p>
|
---|
208 | <p>
|
---|
209 | Whenever BNC starts generating RINEX Observation files (and then once every day at midnight), it first tries to retrieve information needed for RINEX headers from so-called public RINEX header skeleton files which are derived from sitelogs. A HTTP link to a directory containing these skeleton files may be available through data field number 7 of the affected NET record in the source-table. See <u>http://www.epncb.oma.be:80/stations/log/skl/brus.skl</u> for an example of a public RINEX header skeleton file for the Brussels EPN station.
|
---|
210 | </p>
|
---|
211 | <p>
|
---|
212 | However, sometimes public RINEX header skeleton files are not available, its contents is not up to date, or you need to put additional/optional records in the RINEX header. For that BNC allows using personal skeleton files that contain the header records you would like to include. You can derive a personal RINEX header skeleton file from the information given in an up to date sitelog. A file in the RINEX 'Directory' with a 'Skeleton extension' is interpreted by BNC as a personal RINEX header skeleton file for the corresponding stream.
|
---|
213 | </p>
|
---|
214 | <p>
|
---|
215 | Examples for personal skeleton file name convention: RINEX Observation files for mountpoints WETTZELL, FRANKFURT and FRANCE (same 4Char Station ID), BRUS0 from <u>www.euref-ip.net</u> and BRUS0 from <u>www.igs-ip.net</u> (same 4Char Station ID, identical mountpoint stings) would accept personal skeleton files named</p>
|
---|
216 | <p>
|
---|
217 | WETT.skl<br>
|
---|
218 | FRAN_KFURT.skl<br>
|
---|
219 | FRAN_CE.skl<br>
|
---|
220 | BRUS_0.skl<br>
|
---|
221 | BRUS_1.skl</p>
|
---|
222 | <p>
|
---|
223 | if RINEX 'Skeleton extension' is set to 'skl'.
|
---|
224 | </p>
|
---|
225 | <p>
|
---|
226 | Note the following regulations regarding personal RINEX header skeleton files:
|
---|
227 | <ul>
|
---|
228 | <li>If such a file exists in the 'RINEX directory', the corresponding public RINEX header skeleton file is ignored. The RINEX header is generated solely from the contents of the personal skeleton.</li>
|
---|
229 | <li>Personal skeletons should contain a complete first header record of type</li>
|
---|
230 | <br>- RINEX VERSION / TYPE
|
---|
231 | <li>They should then contain an empty header record of type</li>
|
---|
232 | <br>- PGM / RUN BY / DATE
|
---|
233 | <br>BNC will complete this line and include it in the actual RINEX file header.
|
---|
234 | <li>They should further contain complete header records of type</li>
|
---|
235 | <br>- MARKER NAME
|
---|
236 | <br>- OBSERVER / AGENCY
|
---|
237 | <br>- REC # / TYPE / VERS
|
---|
238 | <br>- ANT # / TYPE
|
---|
239 | <br>- APPROX POSITION XYZ
|
---|
240 | <br>- ANTENNA: DELTA H/E/N
|
---|
241 | <br>- WAVELENGTH FACT L1/2
|
---|
242 | <li>They may contain any other optional complete header record as defined in the RINEX documentation.</li>
|
---|
243 | <li>They should then contain empty header records of type</li>
|
---|
244 | <br>- # / TYPES OF OBSERV
|
---|
245 | <br>- TIME OF FIRST OBS
|
---|
246 | <br>BNC will include these lines in the final RINEX file header together with an additional
|
---|
247 | <br>- COMMENT
|
---|
248 | <br>line describing the source of the stream.
|
---|
249 | <li>They should finally contain an empty header record of type</li>
|
---|
250 | <br>- END OF HEADER (last record)
|
---|
251 | </ul>
|
---|
252 | <p>
|
---|
253 | If neither a public nor a personal RINEX header skeleton file is available for BNC, a default header will be used.
|
---|
254 | </p>
|
---|
255 |
|
---|
256 | <p><a name="rnxscript"><h4>3.5.6 Script - optional</h4></p>
|
---|
257 | <p>
|
---|
258 | Whenever a RINEX Observation file is saved, you might want to compress, copy or upload it immediately via FTP. BNC allows you to execute a script/batch file to carry out these operations. To do that specify the full path of the script/batch file here. BNC will pass the RINEX Observation file path to the script as a command line parameter (%1 on Windows systems, $1 on Unix/Linux systems).
|
---|
259 | </p>
|
---|
260 | <p>
|
---|
261 | The triggering event for calling the script or batch file is the end of a RINEX Observation file 'Interval'. If that is overridden by a stream outage, the triggering event is the stream reconnection.
|
---|
262 | </p>
|
---|
263 | <p>
|
---|
264 | As an alternative to initiating file uploads through BNC, you may like to call an upload script or batch file through your crontable or Task Scheduler (independent from BNC) once every 2 or 3 minutes after the end of each RINEX file 'Interval'.
|
---|
265 | </p>
|
---|
266 |
|
---|
267 | <p><a name="rnxvers"><h4>3.5.7 Version - optional</h4></p>
|
---|
268 | <p>
|
---|
269 | The default format for RINEX Observation files is RINEX Version 2.11. Select 'Version 3' if you would like to save observations in RINEX Version 3 format.
|
---|
270 | </p>
|
---|
271 |
|
---|
272 | <p><a name="ephemeris"><h4>3.6. Ephemeris</h4></p>
|
---|
273 | <p>
|
---|
274 | Broadcast ephemeris can be saved as RINEX Navigation files when received via RTCM Version 3.x as message types 1019 (GPS) and 1020 (GLONASS) or via RTIGS records type 300. The file name convention follows the details given in section 'RINEX File Names' except that the first four characters are 'BRDC' and the last character is
|
---|
275 | </p>
|
---|
276 | <ul>
|
---|
277 | <li>'N' or 'G' for GPS or GLONASS ephemeris in two separate RINEX Version 2.11 Navigation files, or</li>
|
---|
278 | <li>'P' for GPS plus GLONASS ephemeris saved together in one RINEX Version 3 Navigation file.
|
---|
279 | </ul>
|
---|
280 |
|
---|
281 | <p><a name="ephdir"><h4>3.6.1 Directory - optional</h4></p>
|
---|
282 | <p>
|
---|
283 | Specify the path for saving broadcast ephemeris data as RINEX Navigation files. If the specified directory does not exist, BNC will not create RINEX Navigation files. Default value for Ephemeris 'Directory' is an empty option field, meaning that no RINEX Navigation files will be created.
|
---|
284 | </p>
|
---|
285 |
|
---|
286 | <p><a name="ephint"><h4>3.6.2 File Interval - mandatory if Ephemeris 'Directory' is set</h4></p>
|
---|
287 | <p>
|
---|
288 | Select the length of the RINEX Navigation file generated. The default value is 1 day.
|
---|
289 | </p>
|
---|
290 |
|
---|
291 | <p><a name="ephport"><h4>3.6.3 Output Port - optional</h4></p>
|
---|
292 | <p>
|
---|
293 | BNC can output broadcast ephemeris in RINEX ASCII format on your local host (IP 127.0.0.1) through an IP port. Specify an IP port number to activate this function. The default is an empty option field, meaning that no ASCII ephemeris output via IP port is generated.
|
---|
294 | </p>
|
---|
295 | <p>
|
---|
296 | The source code for BNC comes with an example perl script called 'test_bnc_eph.pl' that allows you to read BNC's ASCII ephemeris output from the IP port.
|
---|
297 | </p>
|
---|
298 |
|
---|
299 | <p><a name="ephvers"><h4>3.6.4 Version - optional</h4></p>
|
---|
300 | <p>
|
---|
301 | Default format for RINEX Navigation files containing broadcast ephemeris is RINEX Version 2.11. Select 'Version 3' if you want to save the ephemeris in RINEX Version 3 format.
|
---|
302 | </p>
|
---|
303 |
|
---|
304 | <p><a name="syncout"><h4>3.7. Synchronized Observations</h4></p>
|
---|
305 | <p>
|
---|
306 | BNC can generate synchronized epoch by epoch observations from all stations and satellites. The output can be in either a plain ASCII format and/or a binary format. It comprises the following observations where available:</p>
|
---|
307 | <p>
|
---|
308 | StatID, SVPRN, GPSWeek, GPSWeeks, C1, C2, P1, P2, L1, L2, S1, S2, SNR1, SNR2
|
---|
309 | </p>
|
---|
310 | <p>
|
---|
311 | Note that SNR stands for the signal-to-noise ratio 'S' mapped to integer numbers 1 to 9. In case an observation is not available, its value is set to zero '0.000'.
|
---|
312 | </p>
|
---|
313 |
|
---|
314 | <p><a name="syncport"><h4>3.7.1 Output Port - optional</h4></p>
|
---|
315 | <p>
|
---|
316 | BNC can produce synchronized observations in binary format on your local host (IP 127.0.0.1) through an IP port. Specify an IP port number here to activate this function. The default is an empty option field, meaning that no binary output is generated.</p>
|
---|
317 | <p>The binary output is a continuous stream in the following order:</p>
|
---|
318 | <pre>
|
---|
319 | begEpoch
|
---|
320 | begObs
|
---|
321 | Observation
|
---|
322 | begObs
|
---|
323 | Observation
|
---|
324 | begObs
|
---|
325 | Observation
|
---|
326 | ...
|
---|
327 | endEpoch
|
---|
328 | begEpoch
|
---|
329 | ...
|
---|
330 | </pre>
|
---|
331 | <p>with the corresponding structures defined as follow:</p>
|
---|
332 | <pre>
|
---|
333 | const char begEpoch = 'A';
|
---|
334 | const char begObs = 'B';
|
---|
335 | const char endEpoch = 'C';
|
---|
336 | struct Observation {
|
---|
337 | int flags;
|
---|
338 | char StatID[20+1];// Station ID
|
---|
339 | char satSys; // Satellite System ('G' or 'R')
|
---|
340 | int satNum; // Satellite Number (PRN for GPS NAVSTAR)
|
---|
341 | int slot; // Slot Number (for Glonass)
|
---|
342 | int GPSWeek; // Week of GPS-Time
|
---|
343 | double GPSWeeks; // Second of Week (GPS-Time)
|
---|
344 | double C1; // CA-code pseudorange (meters)
|
---|
345 | double C2; // CA-code pseudorange (meters)
|
---|
346 | double P1; // P1-code pseudorange (meters)
|
---|
347 | double P2; // P2-code pseudorange (meters)
|
---|
348 | double L1; // L1 carrier phase (cycles)
|
---|
349 | double L2; // L2 carrier phase (cycles)
|
---|
350 | double S1; // L1 signal-to noise ratio
|
---|
351 | double S2; // L2 signal-to noise ratio
|
---|
352 | int SNR1; // L1 signal-to noise ratio (mapped to integer)
|
---|
353 | int SNR2; // L2 signal-to noise ratio (mapped to integer)
|
---|
354 | } ;
|
---|
355 | </pre>
|
---|
356 | <p>
|
---|
357 | The source code for BNC comes with an example program called 'test_bnc_qt.cpp' that allows you to read BNC's binary observation output from the IP port.
|
---|
358 | </p>
|
---|
359 |
|
---|
360 | <p><a name="syncwait"><h4>3.7.2 Wait for Full Epoch - optional</h4></p>
|
---|
361 | <p>
|
---|
362 | When feeding a real-time GNSS engine waiting for input epoch by epoch, BNC drops whatever is received later than 'Wait for full epoch' seconds. A value of 3 to 5 seconds could be an appropriate choice for that, depending on the latency of the incoming streams and the delay acceptable for your real-time GNSS product. Default value for 'Wait for full epoch' is 5 seconds.
|
---|
363 | </p>
|
---|
364 | <p>
|
---|
365 | Note that 'Wait for full epoch' does not effect the RINEX Observation file content. Observations received later than 'Wait for full epoch' seconds will still be included in the RINEX Observation files.
|
---|
366 | </p>
|
---|
367 |
|
---|
368 | <p><a name="syncfile"><h4>3.7.3 Output File - optional</h4></p>
|
---|
369 | <p>
|
---|
370 | Specifies the full path to a file where synchronized observations are saved in plain ASCII format. The default value is an empty option field, meaning that no ASCII output file is created.
|
---|
371 | </p>
|
---|
372 | <p>
|
---|
373 | Beware that the size of this file can rapidly increase depending on the number of incoming streams. This option is primarily meant for testing and evaluation.
|
---|
374 | </p>
|
---|
375 |
|
---|
376 | <p><a name="advnote"><h4>3.8. Monitor</h4></p>
|
---|
377 |
|
---|
378 | <p>
|
---|
379 | At various times, the incoming stream might become unavailable or corrupted. In such cases, it is important that the BNC operator and/or the stream providers become aware of the situation so that necessary measures can be taken to restore the stream. Furthermore, continuous attempts to decode corrupted stream(s) can generate unnecessary workload for BNC. Outages and corruptions are handled by BNC as follows:
|
---|
380 | </p>
|
---|
381 | <p>
|
---|
382 | <u>Stream outages:</u> BNC considers a connection to be broken when there are no incoming data detected for more than 20 seconds. When this occurs, BNC will attempt to reconnect at a decreasing rate. It will first try to reconnect with 1 second delay, and again in 2 seconds if the previous attempt failed. If the attempt is still unsuccessful, it will try to reconnect within 4 seconds after the previous attempt and so on. The wait time doubles each time with a maximum wait time of 256 seconds.
|
---|
383 | </p>
|
---|
384 | <p>
|
---|
385 | <u>Stream corruption:</u> Not all bits chunk transfers to BNC's internal decoders return valid observations. Sometimes several chunks might be needed before the next observation can be properly decoded. BNC buffers all the outputs (both valid and invalid) from the decoder for a short time span (size derived from the expected 'Observation rate') and then determines whether a stream is valid or corrupted. In case of a corrupted stream, the decoding process is paused and decodings are then attempted again at decreasing rate. BNC will first attempt to decode again after a 30 second lag and if unsuccessful, make another attempt within 60 seconds after the previous attempt. If it is still unsuccessful, it will make another attempt to decode within 120 seconds after the previous attempt and so on. Each decoding attempt doubles the wait time since the previous attempt. The maximum wait time between attempts is limited to 960 seconds.
|
---|
386 | </p>
|
---|
387 | <p>
|
---|
388 | Outage and corruption events are reported in the Log file/section. They can also be passed on as parameters to a shell script or batch file to generate an advisory note to BNC operator or affected stream providers. This functionality lets users utilise BNC as a real-time performance monitor and alarm system for a network of GNSS reference stations.
|
---|
389 | </p>
|
---|
390 |
|
---|
391 | <p><a name="obsrate"><h4>3.8.1 Observation Rate - mandatory for 'Failure threshold' and 'Recovery threshold'</h4></p>
|
---|
392 | <p>
|
---|
393 | BNC can collect all returns (success or failure) coming from a decoder within a certain short time span to then decide whether a stream has an outage or its content is corrupted. This procedure needs a rough estimate of the expected observation rate of the incoming streams.</p><p>An empty option field (default) means that you don't want an explicit information from BNC about stream outages and incoming streams that can not be decoded and that the special procedure for handling of corrupted streams is by-passed (decoding attempt will never get paused).
|
---|
394 | </p>
|
---|
395 |
|
---|
396 | <p><a name="advfail"><h4>3.8.2 Failure Threshold - optional</h4></p>
|
---|
397 | <p>
|
---|
398 | Event 'Begin_Failure' will be reported if no data is received continuously for longer than the 'Failure threshold' time. Similarly, event 'Begin_Corrupted' will be reported when corrupted data is detected by the decoder continuously for longer than this 'Failure threshold' time. The default value is set to 15 minutes and is recommended so not to innundate user with too many event reports.
|
---|
399 | </p>
|
---|
400 | <p>
|
---|
401 | Note that specifying a value of zero '0' for the 'Failure threshold' will force BNC to report any stream failure immediately. Note also that for using this function you need to specify the 'Observation rate'.
|
---|
402 | </p>
|
---|
403 |
|
---|
404 | <p><a name="advreco"><h4>3.8.3 Recovery Threshold - optional</h4></p>
|
---|
405 | <p>
|
---|
406 | Once a 'Begin_Failure' or 'Begin_Corrupted' event has been reported, BNC will check for when the stream again becomes available or uncorrupted. Event 'End_Failure' or 'End_Corrupted' will be reported as soon as valid observations are again detected continuously throughout the 'Recovery threshold' time span. The default value is set to 5 minutes and is recommended so not to innundate users with too many event reports.
|
---|
407 | </p>
|
---|
408 | <p>
|
---|
409 | Note that specifying a value of zero '0' for the 'Recovery threshold' will force BNC to report any stream recovery immediately. Note also that for using this function you need to specify the 'Observation rate'.
|
---|
410 | </p>
|
---|
411 |
|
---|
412 | <p><a name="advscript"><h4>3.8.4 Advisory Script - optional </h4></p>
|
---|
413 | <p>
|
---|
414 | As mentioned previously, BNC can trigger a shell script or a batch file to be executed when one of the events described are reported. This script can be used to email an advisory note to network operator or stream providers. To enable this feature, specify the full path to the script or batch file in the 'Script' field. The affected mountpoint and type of event reported ('Begin_Outage', 'End_Outage', 'Begin_Corrupted' or 'End_Corrupted') will then be passed on to the script as command line parameters (%1 and %2 on Windows systems or $1 and $2 on Unix/Linux systems) together with date and time information.
|
---|
415 | </p>
|
---|
416 | <p>
|
---|
417 | Leave the 'Script' field empty if you do not wish to use this option. An invalid path will also disable this option.
|
---|
418 | </p>
|
---|
419 | <p>
|
---|
420 | Examples for command line parameter strings passed on to the advisory 'Script' are:
|
---|
421 | <pre>
|
---|
422 | FFMJ0 Begin_Outage 08-02-21 09:25:59
|
---|
423 | FFMJ0 End_Outage 08-02-21 11:36:02 Begin was 08-02-21 09:25:59
|
---|
424 | </pre>
|
---|
425 | Sample script for Unix/Linux systems:
|
---|
426 | <pre>
|
---|
427 | #!/bin/bash
|
---|
428 | sleep $((60*RANDOM/32767))
|
---|
429 | cat | mail -s "NABU: $1" email@address <<!
|
---|
430 | Advisory Note to BNC User,
|
---|
431 | Please note the following advisory received from BNC.
|
---|
432 | Stream: $*
|
---|
433 | Regards, BNC
|
---|
434 | !
|
---|
435 | </pre>
|
---|
436 | </p>
|
---|
437 | <p>
|
---|
438 | Note the sleep command in this script which causes the system to wait for a random period of up to 60 seconds before sending the email. This should avoids overloading your mail server in case of a simultaneous failure of many streams.
|
---|
439 | </p>
|
---|
440 |
|
---|
441 | <p><a name="latelog"><h4>3.8.5 Latency Logging - optional </h4></p>
|
---|
442 | <p>
|
---|
443 | Latency is defined here through the following equation:
|
---|
444 | </p>
|
---|
445 | <p>
|
---|
446 | (a) UTC time provided by BNC's host, minus<br>
|
---|
447 | (b) GPS time of currently processed epoch, plus<br>
|
---|
448 | (c) Number of leap seconds between UTC and GPS time (hard-coded to 14).
|
---|
449 | </p>
|
---|
450 | <p>BNC can average all latencies per stream over a certain period. The resulting mean latencies are recorded in the Log file/section at the end of each 'Latency logging' interval. Select a 'Latency logging' interval or select the empty option field if you do not want BNC to log latency information. Note that computing correct latencies requires the clock of the host computer to be properly synchronized.
|
---|
451 | </p>
|
---|
452 |
|
---|
453 | <p><a name="mountpoints"><h4>3.9. Mountpoints</h4></p>
|
---|
454 | <p>
|
---|
455 | Each stream on an NTRIP broadcaster is defined using a unique source ID called mountpoint. An NTRIP client like BNC access the desired data stream by referring to its mountpoint. Information about mountpoints is available through the source-table maintained by the NTRIP broadcaster. Note that mountpoints could show up in BNC more than once when retrieving streams from several NTRIP broadcasters.
|
---|
456 | </p>
|
---|
457 |
|
---|
458 | Streams selected for retrieval are listed under the 'Mountpoints' section on BNC's main window. The list provides the following information extracted from source-table(s) produced by the NTRIP broadcasters:
|
---|
459 |
|
---|
460 | <table>
|
---|
461 | <tr></tr>
|
---|
462 | <tr><td>'mountpoint' </td><td>NTRIP broadcaster URL, port, and mountpoint.</td></tr>
|
---|
463 | <tr><td>'decoder' </td><td>Type of decoder used to handle the incoming stream content according to its format; editable.</td></tr>
|
---|
464 | <tr><td>'lat' </td><td>Approximate latitude of reference station, in degrees, north; editable if 'nmea' = 'yes'.</td></tr>
|
---|
465 | <tr><td>'long' </td><td>Approximate longitude of reference station, in degrees, east; editable if 'nmea' = 'yes'.</td></tr>
|
---|
466 | <tr><td>'nmea' </td><td>Indicates whether or not streaming needs to be initiated by BNC through sending NMEA-GGA message carrying position coordinates in 'lat' and 'long'.</td></tr>
|
---|
467 | <tr><td>'bytes' </td><td>Number of bytes retrieved.
|
---|
468 | </table>
|
---|
469 |
|
---|
470 | <p><a name="mountadd"><h4>3.9.1 Add Mountpoints</h4></p>
|
---|
471 | <p>
|
---|
472 | Button 'Add Mountpoints' opens a window that allows user to select data streams from an NTRIP broadcaster according to their mountpoints.
|
---|
473 | </p>
|
---|
474 |
|
---|
475 | <p><a name="mounthost"><h4>3.9.2 Broadcaster Host and Port - required</h4></p>
|
---|
476 | <p>
|
---|
477 | Enter the NTRIP broadcaster host IP and port number. <u>http://www.rtcm-ntrip.org/home</u> provides information about known NTRIP broadcaster installations. Note that EUREF and IGS operate NTRIP broadcasters at <u>http://www.euref-ip.net/home</u> and <u>http://www.igs-ip.net/home</u>.
|
---|
478 | </p>
|
---|
479 |
|
---|
480 | <p><a name="mountuser"><h4>3.9.3 Broadcaster User and Password - required for protected streams</h4></p>
|
---|
481 | <p>
|
---|
482 | Some streams on NTRIP broadcasters may be restricted. Enter a valid 'User' ID and 'Password' for access to protected streams. Accounts are usually provided per NTRIP broadcaster through a registration procedure. Register through <u>http://igs.bkg.bund.de/index_ntrip_reg.htm</u> for access to protected streams on <u>www.euref-ip.net</u> and <u>www.igs-ip.net</u>.
|
---|
483 | </p>
|
---|
484 |
|
---|
485 | <p><a name="mounttable"><h4>3.9.4 Get Table</h4></p>
|
---|
486 | <p>
|
---|
487 | Use the 'Get Table' button to download the source-table from the NTRIP broadcaster. Pay attention to data fields 'format' and 'format-details'. Keep in mind that BNC can only decode and convert streams that come in RTCM Version 2.x, RTCM Version 3.x, or RTIGS format. RTCM Version 2.x streams must contain message types 18 and 19 while RTCM Version 3.x streams must contain GPS or SBAS message types 1002 or 1004 and may contain GLONASS message types 1010 or 1012, see data field 'format-details' for available message types and their repetition rates in brackets. Note that in order to produce RINEX Navigation files RTCM Version 3.x streams containing message types 1019 (GPS) and 1020 (GLONASS) are required. Select your streams line by line, use +Shift and +Ctrl when necessary.
|
---|
488 | </p>
|
---|
489 | <p>
|
---|
490 | The contents of data field 'nmea' tells you whether a stream retrieval needs to be initiated by BNC through sending an NMEA-GGA message carrying position coordinates (virtual reference station).
|
---|
491 | </p>
|
---|
492 | <p>
|
---|
493 | Hit 'OK' to return to the main window. If you wish you can click on 'Add Mountpoints' and repeat the process again to retrieve mountpoints from different casters.
|
---|
494 | </p>
|
---|
495 |
|
---|
496 | <p><a name="mountdelete"><h4>3.9.5 Delete Mountpoints</h4></p>
|
---|
497 | <p>
|
---|
498 | To remove a stream from the 'Mountpoints' list in the main window, highlight it by clicking on it and hit the 'Delete Mountpoints' button. You can also remove multiple mountpoints simultaneously by highlighting them using +Shift and +Ctrl.</p>
|
---|
499 |
|
---|
500 | <p><a name="mountedit"><h4>3.9.6 Edit Mountpoints</h4></p>
|
---|
501 | <ul>
|
---|
502 | <li>
|
---|
503 | BNC automatically allocates one of its internal decoders to a stream based on the stream's 'format' and 'format-details' as given in the source-table. However, there might be cases where you need to override the automatic selection due to incorrect source-table for example. BNC allows users to manually select the required decoder by editing the decoder string. Double click on the 'decoder' field, enter your preferred decoder and then hit Enter. The accepted decoder strings are 'RTCM_2.x', 'RTCM_3.x', and 'RTIGS'.
|
---|
504 | </li>
|
---|
505 | <li>
|
---|
506 | In case you need to log the raw data as is, BNC allows users to by-pass its decoders and and directly save the input in daily log files. To do this specify the decoder string as 'ZERO'. The generated file names are created from the characters of the mountpoints plus two-digit numbers each for year, month, and day. Example: Setting the 'decoder' string for mountpoint WTZZ0 to 'ZERO' and running BNC on March 29, 2007 would save the raw data in a file named WTZZ0_070329.
|
---|
507 | </li>
|
---|
508 | <li>
|
---|
509 | BNC can also retrieve streams from virtual reference stations (VRS). To initiate these streams, an approximate rover position needs to be sent in NMEA format to the NTRIP broadcaster. In return, a user-specific data stream is generated, typically by a Network-RTK software. This stream is customized to the exact latitude and longitude as shown in the 'lat' and 'long' columns under 'Mountpoints'. These VRS streams are indicated by a 'yes' in the 'nmea' column under 'Mountpoints' as well as in the source-table.
|
---|
510 | <br>The default 'lat' and 'long' values are taken from the source-table however in most cases you would probably want to change this according to your requirement. Double-click on 'lat' and 'long' fields, enter the values you wish to send and then hit Enter. The format is in positive north latitude degrees (e.g. for northern hemisphere: 52.436, for southern hemisphere: -24.567) and eastern longitude degrees (example: 358.872 or -1.128). Only mountpoints with a 'yes' in its 'nmea' column can be edited. The position must preferably be a point within the service area of the network. RINEX files generated from these streams will contain an additional COMMENT line in the header beginning with 'NMEA' showing the 'lat' and 'long' used.
|
---|
511 | <br>Note that when running BNC in a Local Area Network (LAN), NMEA strings may be blocked by a proxy server, firewall or virus scanner.
|
---|
512 | </li>
|
---|
513 | </ul>
|
---|
514 |
|
---|
515 | <p><a name="start"><h4>3.10. Start</h4></p>
|
---|
516 | <p>
|
---|
517 | Hit 'Start' to start retrieving, decoding, and converting GNSS data streams in real-time. Note that 'Start' generally forces BNC to begin with fresh RINEX which might overwrite existing files when necessary unless the option 'Append files' is ticked.
|
---|
518 | </p>
|
---|
519 |
|
---|
520 | <p><a name="stop"><h4>3.11. Stop</h4></p>
|
---|
521 | <p>
|
---|
522 | Hit the 'Stop' button in order to stop BNC.
|
---|
523 | </p>
|
---|
524 |
|
---|
525 | <p><a name="nw"><h4>3.12. No Window - optional</h4></p>
|
---|
526 | <p>
|
---|
527 | On all systems BNC can be started in batch mode with the command line option '-nw'. BNC will then run in 'no window' mode, using options from the configuration file ${HOME}/.config/BKG/BNC_NTRIP_Client.conf (Unix/Linux, see Config File example in the Annex) or from the register BKG_NTRIP_Client (Windows).
|
---|
528 | </p>
|
---|
529 | <p>
|
---|
530 | Note that the self-explaining contents of the configuration file or the Windows register can easily be edited. Terminate BNC using Windows Task Manager when running it in 'no window' mode on Windows systems.
|
---|
531 | </p>
|
---|
532 | <p><a name="limits"><h3>4. Limitations</h3></p>
|
---|
533 | <ul>
|
---|
534 | <li>
|
---|
535 | In Qt-based desktop environments (like KDE) on Unix/Linux platforms it may happen that you experience a crash of BNC at startup even when running the program in the background using the '-nw' option. This is a known bug most likely resulting from an incompatibility of Qt libraries in the environment and in BNC. Entering the command 'unset SESSION_MANAGER' before running BNC may help as a work-around.
|
---|
536 | </li>
|
---|
537 | <li>
|
---|
538 | Currently BNC only handles GPS, SBAS and GLONASS data. Galileo is not yet supported.
|
---|
539 | </li>
|
---|
540 | <li>
|
---|
541 | BNC currently will only handle C1, C2, P1, P2, L1, L2, S1, and S2 observations. Which observables are available on a particular stream will depend on the setup of source receiver and the data format used. RTCM Version 2.x streams do not carry signal-to-noise ratio 'S' values while RTCM Version 3.x streams can only transport one code observable per frequency. Note that signal-to-noise ratios 'S' are also logged mapped to integer numbers 1 to 9.
|
---|
542 | </li>
|
---|
543 | <li>
|
---|
544 | Using RTCM Version 2.x, BNC will only handle message types 18 and 19. Using RTCM Version 3.x, BNC will properly handle message types 1002, 1004, 1010, and 1012. Note that when handling message types 1001, 1003, 1009 and 1011 where the ambiguity field is not set, the output will be no valid RINEX. All values will be stored modulo 299792.458 (speed of light).
|
---|
545 | </li>
|
---|
546 | <li>
|
---|
547 | Streams coming in RTIGS format carry only GPS data.
|
---|
548 | </li>
|
---|
549 | <li>
|
---|
550 | BNC's 'Get Table' function only shows the STR records of a source-table. You can use an Internet browser to download the full source-table contents of any NTRIP broadcaster by simply entering its URL in the form of http://host:port. Data field number 8 in the NET records may provide information about where to register for an NTRIP broadcaster account.
|
---|
551 | </li>
|
---|
552 | <li>
|
---|
553 | EUREF as well as IGS adhere to an open data policy. Streams are made available through NTRIP broadcasters at <u>www.euref-ip.net</u> and <u>www.igs-ip.net</u> free of charge to anyone for any purpose. There is no indication up until now how many users will need to be supported simultaneously. The given situation may develop in such a way that it might become difficult to serve all registered users at the same times. In cases where limited resources on the NTRIP broadcaster side (software restrictions, bandwidth limitation etc.) dictates, first priority in stream provision will be given to stream providers followed by re-broadcasting activities and real-time analysis centers while access to others might be temporarily denied.
|
---|
554 | </li>
|
---|
555 | <li>
|
---|
556 | We experienced a limitation of the Standard Version of Microsoft Windows related to socket communication where sockets are not always handled properly. Since BNC makes intensive use of communication through sockets, we recommend to use the Server Version of Microsoft Windows when running BNC continuously for extended on a Windows platform.
|
---|
557 | </li>
|
---|
558 | <li>
|
---|
559 | The source code provided by NRCan for decoding RTIGS streams is 32-bit dependent. Hence the BNC executable generated for 64-bit Linux systems would only run when compiled using the -m32 compiler option.
|
---|
560 | </li>
|
---|
561 | <li>
|
---|
562 | Once BNC has been started, its configuration can not be changed as long as it is stopped. A reconfiguration on-the-fly is not implemented.
|
---|
563 | </li>
|
---|
564 | <br>
|
---|
565 | </ul>
|
---|
566 | <p><a name="authors"><h3>5. Authors</h3></p>
|
---|
567 | <p>
|
---|
568 | The BKG Ntrip Client (BNC) Qt Graphic User Interface (GUI) has been developed for the Federal Agency for Cartography and Geodesy (BKG) by Leos Mervart, Czech Technical University Prague, Department of Geodesy. BNC includes the following GNU GPL software components:
|
---|
569 | <ul>
|
---|
570 | <li> RTCM 2.x decoder, written by Oliver Montenbruck, German Space Operations Center, DLR, Oberpfaffenhofen</li>
|
---|
571 | <li> RTCM 3.x decoder, written for BKG by Dirk Stoecker, Alberding GmbH, Schoenefeld</li>
|
---|
572 | <li> RTIGS decoder, written by Ken MacLeod, Natural Resources, Canada.</li>
|
---|
573 | </ul>
|
---|
574 | </p>
|
---|
575 | <p>
|
---|
576 | Please ensure that you have installed the latest version of BNC available from <u>http://igs.bkg.bund.de/index_ntrip_down.htm</u>. We are continuously working on the program and would appreciate if you could send any comments, suggestions, or bug reports to:
|
---|
577 | </p>
|
---|
578 | <p>
|
---|
579 | Georg Weber<br>
|
---|
580 | Federal Agency for Cartography and Geodesy (BKG)<br>
|
---|
581 | Frankfurt, Germany<br>
|
---|
582 | euref-ip@bkg.bund.de or igs-ip@bkg.bund.de
|
---|
583 | </p>
|
---|
584 | <p>
|
---|
585 | <b>Acknowledgements</b><br>
|
---|
586 | BNC's Help Contents has been proofread by Thomas Yan, University of New South Wales, Australia.<br>
|
---|
587 | Scott Glazier, OmniSTAR Australia, included the decoding of broadcast ephemeris from RTIGS streams and has been helpful in finding BNC's bugs.<br>
|
---|
588 | </p>
|
---|
589 |
|
---|
590 | <p><a name="annex"><h3>8. Annex</h3></p>
|
---|
591 | <p>
|
---|
592 | 8.1. <a href=#history>History</a><br>
|
---|
593 | 8.2. <a href=#ntrip>NTRIP</a><br>
|
---|
594 | 8.2.1 <a href=#source>Source-table</a><br>
|
---|
595 | 8.3. <a href=#rtcm>RTCM</a><br>
|
---|
596 | 8.3.1 RTCM <a href=#rtcm2> Version 2.x</a><br>
|
---|
597 | 8.3.2 RTCM <a href=#rtcm3> Version 3.x</a><br>
|
---|
598 | 8.4. <a href=#rtigs>RTIGS</a><br>
|
---|
599 | 8.4.1 <a href=#soc>SOC</a><br>
|
---|
600 | 8.5. <a href=#config>Config File</a><br>
|
---|
601 | 8.6. <a href=#links>Links</a><br>
|
---|
602 | </p>
|
---|
603 |
|
---|
604 | <p><a name=history><h3>8.1 History</h3></p>
|
---|
605 | <table>
|
---|
606 | <tr></tr>
|
---|
607 | <tr><td>Dec 2006 </td><td>Version 1.0b </td><td>[Add] First Beta Binaries published based on Qt 4.2.3.</td></tr>
|
---|
608 | <tr><td>Jan 2007 </td><td>Version 1.1b </td><td>[Add] Observables C2, S1, and S2<br>[Add] Virtual reference station access<br>[Bug] RTCM2 decoder time tag fixed<br>[Mod] Small letters for public RINEX skeleton files<br>[Add] Online help through Shift+F1</td></tr>
|
---|
609 | <tr><td>Apr 2007 </td><td>Version 1.2b </td><td>[Bug] Output only through IP port<br>[Bug] Method 'reconnecting' now thread-save<br> [Add] ZERO decoder added<br> [Mod] Download public RINEX skeletons once per day<br> [Mod] Upgrade to Qt Version 4.2.3<br> [Mod] Replace 'system' call for RINEX script by 'QProcess'<br> [Add] HTTP Host directive for skeleton file download<br> [Add] Percent encoding for user IDs and passwords<br> [Bug] Exit execution of calling thread for RTCM3 streams<br> [Bug] Signal-slot mechanism for threads</td></tr>
|
---|
610 | <tr><td>May 2007 </td><td>Version 1.3 </td><td>[Add] Source code published.
|
---|
611 | <tr><td>Jul 2007 </td><td>Version 1.4 </td><td>[Bug] Skip messages from proxy server<br> [Bug] Call RINEX script through 'nohup'</td></tr>
|
---|
612 | <tr><td>Feb 2008 </td><td>Version 1.5 </td><td>[Add] Handle ephemeris from RTCM Version 3.x streams<br> [Add] Upgrade to Qt Version 4.3.2<br> [Add] Optional RINEX v3 output<br> [Add] SBAS support<br> [Bug] RINEX skeleton download following stream outage<br> [Add] Handle ephemeris from RTIGS streams<br> [Add] Advisory notes following stream failure/recovery<br> [Mod] Main window layout<br> [Bug] Freezing of About window on Mac systems</td></tr>
|
---|
613 | </table>
|
---|
614 | </p>
|
---|
615 |
|
---|
616 | <p><a name="ntrip"><h4>8.2. NTRIP</h4></p>
|
---|
617 |
|
---|
618 | <p>
|
---|
619 | 'Networked Transport of RTCM via Internet Protocol' Version 1.0 (NTRIP) stands for an application-level protocol streaming Global Navigation Satellite System (GNSS) data over the Internet. NTRIP is a generic, stateless protocol based on the Hypertext Transfer Protocol HTTP/1.1. The HTTP objects are enhanced to GNSS data streams.
|
---|
620 | </p>
|
---|
621 |
|
---|
622 | <p>
|
---|
623 | NTRIP Version 1.0 is an RTCM standard designed for disseminating differential correction data (e.g. in the RTCM-104 format) or other kinds of GNSS streaming data to stationary or mobile users over the Internet, allowing simultaneous PC, Laptop, PDA, or receiver connections to a broadcasting host. NTRIP supports wireless Internet access through Mobile IP Networks like GSM, GPRS, EDGE, or UMTS.
|
---|
624 | </p>
|
---|
625 |
|
---|
626 | <p>
|
---|
627 | NTRIP is implemented in three system software components: NTRIP clients, NTRIP servers and NTRIP broadcasters. The NTRIP broadcaster is the actual HTTP server program whereas NTRIP client and NTRIP server are acting as HTTP clients.
|
---|
628 | </p>
|
---|
629 |
|
---|
630 | <p>
|
---|
631 | NTRIP is an open none-proprietary protocol. Major characteristics of NTRIP's dissemination technique are:
|
---|
632 | <ul>
|
---|
633 | <li>Based on the popular HTTP streaming standard; comparatively easy to implement when having limited client and server platform resources available.</li>
|
---|
634 | <li>Application not limited to one particular plain or coded stream content; ability to distribute any kind of GNSS data.</li>
|
---|
635 | <li>Potential to support mass usage; disseminating hundreds of streams simultaneously for thousands of users possible when applying modified Internet Radio broadcasting software.</li>
|
---|
636 | <li>Considering security needs; stream providers and users don't necessarily get into contact, streams often not blocked by firewalls or proxy servers protecting Local Area Networks.</li>
|
---|
637 | <li>Enables streaming over mobile IP networks because of using TCP/IP.</li>
|
---|
638 | </ul>
|
---|
639 | </p>
|
---|
640 |
|
---|
641 | <p><a name="source"><h4>8.2.1 Source-table</h4></p>
|
---|
642 |
|
---|
643 | <p>
|
---|
644 | The NTRIP broadcaster maintains a source-table containing information on available NTRIP streams, networks of NTRIP streams and NTRIP broadcasters. The source-table is sent to an NTRIP client on request. Source-table records are dedicated to one of the following: Data Streams (record type STR), Casters (record type CAS), or Networks of streams (record type NET).
|
---|
645 | </p>
|
---|
646 |
|
---|
647 | <p>
|
---|
648 | Source-table records of type STR contain the following data fields: 'mountpoint', 'identifier', 'format', 'format-details', 'carrier', 'nav-system', 'network', 'country', 'latitude', 'longitude', 'nmea', 'solution', 'generator', 'compr-encryp', 'authentication', 'fee', 'bitrate', 'misc'.
|
---|
649 | </p>
|
---|
650 | <p>
|
---|
651 | Source-table records of type NET contain the following data fields: 'identifiey', 'operator', 'authentication', 'fee', 'web-net', 'web-str', 'web-reg', 'misc'.
|
---|
652 | </p>
|
---|
653 | <p>
|
---|
654 | Source-table records of type CAS contain the following data fields: 'host', 'port', 'identifier', 'operator', 'nmea', 'country', 'latitude', 'longitude', 'misc'.
|
---|
655 | </p>
|
---|
656 |
|
---|
657 | <p><a name="rtcm"><h4>8.3. RTCM</h4></p>
|
---|
658 |
|
---|
659 | <p>
|
---|
660 | The Radio Technical Commission for Maritime Services (RTCM) is an international non-profit scientific, professional and educational organization. Special Committees provide a forum in which governmental and non-governmental members work together to develop technical standards and consensus recommendations in regard to issues of particular concern. RTCM is engaged in the development of international standards for maritime radionavigation and radiocommunication systems. The output documents and reports prepared by RTCM Committees are published as RTCM Recommended Standards. Topics concerning Differential Global Navigation Satellite Systems (DGNSS) are handled by the Special Committee SC 104.
|
---|
661 | <p>
|
---|
662 | Personal copies of RTCM Recommended Standards can be ordered through <u>http://www.rtcm.org/orderinfo.php</u>.
|
---|
663 | </p>
|
---|
664 |
|
---|
665 | <p><a name="rtcm2"><h4>8.3.1 RTCM Version 2.x</h4></p>
|
---|
666 | <p>
|
---|
667 | Transmitting GNSS carrier phase data can be done through RTCM Version 2.x messages. Please note that only RTCM Version 2.2 and 2.3 streams may include GLONASS data. Messages that may be of some interest here are:
|
---|
668 | </p>
|
---|
669 |
|
---|
670 | <ul>
|
---|
671 | <li>
|
---|
672 | Type 1 message is the range correction message and is the primary message in code-phase differential positioning (DGPS). It is computed in the base receiver by computing the error in the range measurement for each tracked SV.
|
---|
673 | </li>
|
---|
674 | <li>
|
---|
675 | Type 2 message is automatically generated when a new set of satellite ephemeris is downloaded to the base receiver. It is the computed difference between the old ephemeris and the new ephemeris. Type 2 messages are used when the base station is transmitting Type 1 messages.
|
---|
676 | </li>
|
---|
677 | <li>
|
---|
678 | Type 3 and 22 messages are the base station position and the antenna offset. Type 3 and 22 are used in RTK processing to perform antenna reduction.
|
---|
679 | </li>
|
---|
680 | <li>
|
---|
681 | Type 6 message is a null frame filler message that is provided for data links that require continuous transmission of data, even if there are no corrections to send. As many Type 6 messages are sent as required to fill in the gap between two correction messages (type 1). Message 6 is not sent in burst mode.
|
---|
682 | </li>
|
---|
683 | <li>
|
---|
684 | Type 9 message serves the same purpose as Type 1, but does not require a complete satellite set. As a result, Type 9 messages require a more stable clock than a station transmitting Type 1 's, because the satellite corrections have different time references.
|
---|
685 | </li>
|
---|
686 | <li>
|
---|
687 | Type 16 message is simply a text message entered by the user that is transmitted from the base station to the rover. It is used with code-phase differential.
|
---|
688 | </li>
|
---|
689 | <li>
|
---|
690 | Type 18 and 20 messages are RTK uncorrected carrier phase data and carrier phase corrections.
|
---|
691 | </li>
|
---|
692 | <li>
|
---|
693 | Type 19 and 21 messages are the uncorrected pseudo-range measurements and pseudo-range corrections used in RTK.
|
---|
694 | </li>
|
---|
695 | <li>
|
---|
696 | Type 23 message provides the information on the antenna type used on the reference station.
|
---|
697 | </li>
|
---|
698 | <li>
|
---|
699 | Type 24 message carries the coordinates of the installed antenna's ARP in the GNSS coordinate system coordinates.
|
---|
700 | </li>
|
---|
701 | </ul>
|
---|
702 |
|
---|
703 | <p><a name="rtcm3"><h4>8.3.2 RTCM Version 3.x</h4></p>
|
---|
704 | <p>
|
---|
705 | RTCM Version 3.x has been developed as a more efficient alternative to RTCM Version 2.x. Service providers and vendors have asked for a standard that would be more efficient, easy to use, and more easily adaptable to new situations. The main complaint was that the Version 2 parity scheme was wasteful of bandwidth. Another complaint was that the parity is not independent from word to word. Still another was that even with so many bits devoted to parity, the actual integrity of the message was not as high as it should be. Plus, 30-bit words are awkward to handle. The Version 3.x standard is intended to correct these weaknesses.
|
---|
706 | </p>
|
---|
707 | <p>
|
---|
708 | RTCM Version 3.x defines a number of message types. Messages that may be of interest here are:
|
---|
709 | </p>
|
---|
710 | <ul>
|
---|
711 | <li>Type 1001, GPS L1 code and phase.</li>
|
---|
712 | <li>Type 1002, GPS L1 code and phase and ambiguities and carrier to noise ratio.</li>
|
---|
713 | <li>Type 1003, GPS L1 and L2 code and phase.</li>
|
---|
714 | <li>Type 1004, GPS L1 and L2 code and phase and ambiguities and carrier to noise ratio.</li>
|
---|
715 | <li>Type 1005, Station coordinates XZY for antenna reference point.</li>
|
---|
716 | <li>Type 1006, Station coordinates XYZ for antenna reference point and antenna height.</li>
|
---|
717 | <li>Type 1007, Antenna descriptor and ID.</li>
|
---|
718 | <li>Type 1008, Antenna serial number.</li>
|
---|
719 | <li>Type 1009, GLONASS L1 code and phase.</li>
|
---|
720 | <li>Type 1010, GLONASS L1 code and phase and ambiguities and carrier to noise ratio.</li>
|
---|
721 | <li>Type 1011, GLONASS L1 and L2 code and phase.</li>
|
---|
722 | <li>Type 1012, GLONASS L1 and L2 code and phase and ambiguities and carrier to noise ratio.</li>
|
---|
723 | <li>Type 1013, Modified julian date, leap second, configured message types and interval.</li>
|
---|
724 | <li>Type 1014 and 1017, Network RTK (MAK) messages (under development).</li>
|
---|
725 | <li>Type 1019, GPS ephemeris.</li>
|
---|
726 | <li>Type 1020, GLONASS ephemeris.</li>
|
---|
727 | <li>Type 4088 and 4095, Proprietary messages (under development).
|
---|
728 | </li>
|
---|
729 | </ul>
|
---|
730 |
|
---|
731 | <p><a name="rtigs"><h4>8.4. RTIGS</h4></p>
|
---|
732 | <p>
|
---|
733 | RTIGS stands for a data format and transport protocol for GPS observations. It was defined by the Real-Time IGS Working Group (RTIGS WG). Its definition is based on the SOC format. Every RTIGS record has one of the following numbers:
|
---|
734 | </p>
|
---|
735 | <p>
|
---|
736 | Station record number 100<br>
|
---|
737 | Observation record (O_T) number 200<br>
|
---|
738 | Ephemeris record (E_T) number 300<br>
|
---|
739 | Meteorological record (M_T) number 400
|
---|
740 | </p>
|
---|
741 | <p>
|
---|
742 | Every station has one of the following unique numbers:
|
---|
743 | </p>
|
---|
744 | <p>
|
---|
745 | 1-99 reserved for JPL<br>
|
---|
746 | 100-199 reserved for NRCan<br>
|
---|
747 | 200-299 reserved for NGS<br>
|
---|
748 | 300-399 reserved for ESOC<br>
|
---|
749 | 400-499 reserved for GFZ<br>
|
---|
750 | 500-599 reserved for BKG<br>
|
---|
751 | 600-699 reserved for GEOSCIENCE AUS<br>
|
---|
752 | 700-799 others<br>
|
---|
753 | etc
|
---|
754 | </p>
|
---|
755 | <p>
|
---|
756 | The number of bytes in each real time message includes the header as well as the data content, but NOT the pointer.
|
---|
757 | </p>
|
---|
758 | <p>
|
---|
759 | For example:
|
---|
760 | </p>
|
---|
761 | <ul>
|
---|
762 | <li>A station message is output once per hour and is 20 bytes.</li>
|
---|
763 | <li>An observation message is output once per second. The header is 12 bytes long and the SOC data is 21 bytes per PRN. So a typical RTIGSO_T message will be 390 bytes if 8 sats are being tracked.</li>
|
---|
764 | <li>An ephemeris message is output when the ephemeris is decoded by the GPS receiver. The time in the ephemeris header is the collected time. Only one ephemeris can be bundled in a RTIGSE_T message.<br>
|
---|
765 | A RTIGSE_T message contains one eph. The message consists of 12 header bytes and 72 ephemeris bytes, for a total of 84 bytes.</li>
|
---|
766 | <li>The RTIGSM_T (met) message should be issued once every 15 minutes. A basic met message consists of a 12 byte header and 3 longs (temp, press and relative humidity) for a total of 24 bytes.</li>
|
---|
767 | </ul>
|
---|
768 | <p>
|
---|
769 | All records are related to a station configuration indicated by the Issue of Data Station (IODS). The IODS will enable the user to identify the equipment and software that was used to derive the observation data.
|
---|
770 | </p>
|
---|
771 | <p>
|
---|
772 | Each record header contains the GPS Time in seconds which flows continuously from 6 Jan-1980 onwards.
|
---|
773 | </p>
|
---|
774 | <p>
|
---|
775 | The data payload of each record consists of observations. The structures indicate a pointer to data but in fact the broadcast messages do not contain the pointer, only the data. Users will have to manage the data and the pointer is shown in order to illustrate where the data is located in the message and one possible data management option.
|
---|
776 | </p>
|
---|
777 | <p>
|
---|
778 | All record data are in network byte order (Big Endian), i.e. IA32 users have to swap bytes.
|
---|
779 | </p>
|
---|
780 | <p>
|
---|
781 | Visit <u>http://igscb.jpl.nasa.gov/mail/igs-rtwg/2004/msg00001.html</u> for further details.
|
---|
782 | </p>
|
---|
783 |
|
---|
784 | <p><a name="soc"><h4>8.4.1 SOC</h4></p>
|
---|
785 | <p>
|
---|
786 | The SOC format has been designed in July 1999 by the Jet Propulsion Laboratory (JPL) and the California Institute of Technology (CalTech) to transport 1Hz GPS data with minimal bandwidth over the open Internet. SOC follows the 'little-endian' byte order meaning that the low-order byte of a number is stored in memory at the lowest address, and the high-order byte at the highest address. Because the transport layer is UDP, the format does not include sync bits, a checksum, or cyclic redundancy checksum (CRC). SOC allows to transport the GPS observable CA, P1, P2, L1, and L2, efficiently compressed down to 14 bytes with 1 mm range resolution and 0.02 mm phase resolution. SOC contains epochs for cycle slips, a stand-alone time-tag per epoch, a minimum representation of the receiver's clock solution, 3 SNR numbers, a unique site id, a modulo 12 hour sequence number and flags for receiver type and GPS health. SOC's simple structure comprises an 8 byte header, a 9 byte overhead for timetag, number of gps, etc., plus 21 data bytes per gps.
|
---|
787 | </p>
|
---|
788 | <p>
|
---|
789 | Visit <u>http://gipsy.jpl.nasa.gov/igdg/papers/SOC_FORMAT.ppt</u> for further details.
|
---|
790 | </p>
|
---|
791 | <p>
|
---|
792 | </p>
|
---|
793 | <p><a name="config"><h4>8.5. Config File</h4></p>
|
---|
794 | <p>
|
---|
795 | The following is an example for the contents of a Unix/Linux configuration file ${HOME}/.config/BKG/BKG_NTRIP_Client.conf. It enables the retrieval of stream ACOR0 form www.euref-ip.net and FFMJ3 from www.igs-ip.net for the generation of 15 min RINEX files. RINEX files are uploaded to an archive using script 'up2archive' :
|
---|
796 | <pre>
|
---|
797 | [General]
|
---|
798 | adviseFail=15
|
---|
799 | adviseReco=5
|
---|
800 | adviseScript=
|
---|
801 | casterHost=www.euref-ip.net
|
---|
802 | casterPassword=pass
|
---|
803 | casterPort=80
|
---|
804 | casterUser=user
|
---|
805 | ephIntr=1 day
|
---|
806 | ephPath=/home/user/rinex
|
---|
807 | ephV3=2
|
---|
808 | logFile=/home/user/log.txt
|
---|
809 | mountPoints=//user:pass@www.euref-ip.net:2101/ACOR0 RTCM_2.3 43.36 351.60 no, //user:pass@www.igs-ip.net:2101/FFMJ3 RTCM_3.0 41.58 1.40 no
|
---|
810 | obsRate=
|
---|
811 | outEphPort=2102
|
---|
812 | outFile=/home/user/ascii
|
---|
813 | outPort=2101
|
---|
814 | proxyHost=proxyhost
|
---|
815 | proxyPort=8001
|
---|
816 | rnxAppend=2
|
---|
817 | rnxIntr=15 min
|
---|
818 | rnxPath=/home/weber/rinex
|
---|
819 | rnxSampl=0
|
---|
820 | rnxScript=/home/weber/up2archive
|
---|
821 | rnxSkel=SKL
|
---|
822 | rnxV3=2
|
---|
823 | waitTime=5
|
---|
824 | </pre>
|
---|
825 | </p>
|
---|
826 |
|
---|
827 | <p><a name="links"><h3>8.6 Links</h3></p>
|
---|
828 | <table>
|
---|
829 | <tr></tr>
|
---|
830 | <tr><td>NTRIP </td><td><u>http://igs.bkg.bund.de/index_ntrip.htm</u></td></tr>
|
---|
831 | <tr><td>EUREF-IP NTRIP broadcaster </td><td><u>http://www.euref-ip.net/home</u></td></tr>
|
---|
832 | <tr><td>IGS-IP NTRIP broadcaster </td><td><u>http://www.igs-ip.net/home</u></td></tr>
|
---|
833 | <tr><td>NTRIP broadcaster overview </td><td><u>http://www.rtcm-ntrip.org/home</u></td></tr>
|
---|
834 | <tr><td>EUREF-IP Project </td><td><u>http://www.epncb.oma.be/euref_IP</u></td></tr>
|
---|
835 | <tr><td>Real-time IGS Pilot Project </td><td><u>http://www.rtigs.net/pilot</u></td></tr>
|
---|
836 | <tr><td>Radio Technical Commission<br>for Maritime Services </td><td><u>http://www.rtcm.org</u>
|
---|
837 | </table>
|
---|
838 |
|
---|