1004 1012 Parsing Problem #51
-
RTCMReader does not parse the 1004 and 1012 ı don't understand why ı look the message list on bnc and the mount points send the message. ı make a simple example code for this and add it too so any one can help ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 9 replies
-
Firstly, try to avoid submitting code as zip files in these Discussion forums - people may be reluctant to open these files as they may contain malware. Instead, post your code snippets as embedded text as follows: from pyrtcm import RTCMReader
with open("rtcm.log", "rb") as stream:
rtr = RTCMReader(stream)
for raw, parsed in rtr:
print(parsed) Secondly,
FYI if you want to see this working for yourself without writing any code, you could try installing the pygnssutils gnssntripclient command line utility which uses pyrtcm under the covers (substitute the server, mountpoint and user credentials for your own) python3 -m pip install --upgrade pygnssutils ➜ ~ gnssntripclient -S www.igs-ip.net -M USCL00CHL0 --ntripuser myusername --ntrippassword ********
2024-03-12 13:37:07.565108: Using mountpoint USCL00CHL0
2024-03-12 13:37:08.389891: <RTCM(1003, DF002=1003, DF003=0, DF004=221846000, DF005=1, DF006=14, DF007=0, DF008=0, DF009_01=3, DF010_01=0, DF011_01=160120.1, DF012_01=-0.6960000000000001, DF013_01=127, DF016_01=3, DF017_01=4.4, DF018_01=4.032, DF019_01=127, DF009_02=28, DF010_02=0, DF011_02=44767.74, DF012_02=3.463, DF013_02=127, DF016_02=3, DF017_02=9.08, DF018_02=13.728, DF019_02=127, DF009_03=2, DF010_03=0, DF011_03=293855.34, DF012_03=-4.496, DF013_03=127, DF016_03=3, DF017_03=-0.86, DF018_03=-9.5265, DF019_03=127, DF009_04=21, DF010_04=0, DF011_04=126138.0, DF012_04=-8.6425, DF013_04=127, DF016_04=3, DF017_04=0.18, DF018_04=-11.252, DF019_04=127, DF009_05=27, DF010_05=0, DF011_05=168440.94, DF012_05=-3.681, DF013_05=127, DF016_05=3, DF017_05=6.9, DF018_05=-5.9775, DF019_05=127, DF009_06=8, DF010_06=0, DF011_06=200609.92, DF012_06=-2.031, DF013_06=127, DF016_06=3, DF017_06=4.58, DF018_06=1.357, DF019_06=127, DF009_07=4, DF010_07=0, DF011_07=75376.68000000001, DF012_07=2.7515, DF013_07=127, DF016_07=3, DF017_07=6.5200000000000005, DF018_07=11.938, DF019_07=127, DF009_08=14, DF010_08=0, DF011_08=194375.56, DF012_08=-9.025500000000001, DF013_08=127, DF016_08=3, DF017_08=5.4, DF018_08=-5.369, DF019_08=127, DF009_09=22, DF010_09=0, DF011_09=294151.68, DF012_09=-1.0210000000000001, DF013_09=61, DF016_09=3, DF017_09=5.58, DF018_09=4.269, DF019_09=58, DF009_10=31, DF010_10=0, DF011_10=136166.52, DF012_10=3.3595, DF013_10=127, DF016_10=3, DF017_10=7.9, DF018_10=13.8025, DF019_10=127, DF009_11=10, DF010_11=0, DF011_11=70974.14, DF012_11=-34.2855, DF013_11=127, DF016_11=3, DF017_11=11.0, DF018_11=-41.477000000000004, DF019_11=127, DF009_12=17, DF010_12=0, DF011_12=6960.38, DF012_12=-1.5210000000000001, DF013_12=102, DF016_12=3, DF017_12=6.44, DF018_12=4.3020000000000005, DF019_12=101, DF009_13=32, DF010_13=0, DF011_13=100131.82, DF012_13=-17.3515, DF013_13=127, DF016_13=3, DF017_13=5.76, DF018_13=-22.628, DF019_13=127, DF009_14=1, DF010_14=0, DF011_14=37335.74, DF012_14=-0.7225, DF013_14=127, DF016_14=3, DF017_14=5.86, DF018_14=4.8305, DF019_14=127)>
2024-03-12 13:37:08.391519: <RTCM(1004, DF002=1004, DF003=0, DF004=221846000, DF005=1, DF006=14, DF007=0, DF008=0, DF009_01=3, DF010_01=0, DF011_01=160120.1, DF012_01=-0.6960000000000001, DF013_01=127, DF014_01=73, DF015_01=46.0, DF016_01=3, DF017_01=4.4, DF018_01=4.032, DF019_01=127, DF020_01=47.0, DF009_02=28, DF010_02=0, DF011_02=44767.74, DF012_02=3.463, DF013_02=127, DF014_02=81, DF015_02=37.5, DF016_02=3, DF017_02=9.08, DF018_02=13.728, DF019_02=127, DF020_02=20.0, DF009_03=2, DF010_03=0, DF011_03=293855.34, DF012_03=-4.496, DF013_03=127, DF014_03=68, DF015_03=49.75, DF016_03=3, DF017_03=-0.86, DF018_03=-9.5265, DF019_03=127, DF020_03=43.0, DF009_04=21, DF010_04=0, DF011_04=126138.0, DF012_04=-8.6425, DF013_04=127, DF014_04=66, DF015_04=50.25, DF016_04=3, DF017_04=0.18, DF018_04=-11.252, DF019_04=127, DF020_04=44.75, DF009_05=27, DF010_05=0, DF011_05=168440.94, DF012_05=-3.681, DF013_05=127, DF014_05=76, DF015_05=40.75, DF016_05=3, DF017_05=6.9, DF018_05=-5.9775, DF019_05=127, DF020_05=37.75, DF009_06=8, DF010_06=0, DF011_06=200609.92, DF012_06=-2.031, DF013_06=127, DF014_06=69, DF015_06=49.5, DF016_06=3, DF017_06=4.58, DF018_06=1.357, DF019_06=127, DF020_06=51.25, DF009_07=4, DF010_07=0, DF011_07=75376.68000000001, DF012_07=2.7515, DF013_07=127, DF014_07=80, DF015_07=36.0, DF016_07=3, DF017_07=6.5200000000000005, DF018_07=11.938, DF019_07=127, DF020_07=17.5, DF009_08=14, DF010_08=0, DF011_08=194375.56, DF012_08=-9.025500000000001, DF013_08=127, DF014_08=83, DF015_08=36.5, DF016_08=3, DF017_08=5.4, DF018_08=-5.369, DF019_08=127, DF020_08=15.5, DF009_09=22, DF010_09=0, DF011_09=294151.68, DF012_09=-1.0210000000000001, DF013_09=61, DF014_09=83, DF015_09=31.5, DF016_09=3, DF017_09=5.58, DF018_09=4.269, DF019_09=58, DF020_09=4.75, DF009_10=31, DF010_10=0, DF011_10=136166.52, DF012_10=3.3595, DF013_10=127, DF014_10=83, DF015_10=38.75, DF016_10=3, DF017_10=7.9, DF018_10=13.8025, DF019_10=127, DF020_10=29.25, DF009_11=10, DF010_11=0, DF011_11=70974.14, DF012_11=-34.2855, DF013_11=127, DF014_11=83, DF015_11=38.75, DF016_11=3, DF017_11=11.0, DF018_11=-41.477000000000004, DF019_11=127, DF020_11=28.5, DF009_12=17, DF010_12=0, DF011_12=6960.38, DF012_12=-1.5210000000000001, DF013_12=102, DF014_12=83, DF015_12=36.5, DF016_12=3, DF017_12=6.44, DF018_12=4.3020000000000005, DF019_12=101, DF020_12=26.75, DF009_13=32, DF010_13=0, DF011_13=100131.82, DF012_13=-17.3515, DF013_13=127, DF014_13=75, DF015_13=46.75, DF016_13=3, DF017_13=5.76, DF018_13=-22.628, DF019_13=127, DF020_13=45.0, DF009_14=1, DF010_14=0, DF011_14=37335.74, DF012_14=-0.7225, DF013_14=127, DF014_14=76, DF015_14=44.5, DF016_14=3, DF017_14=5.86, DF018_14=4.8305, DF019_14=127, DF020_14=43.25)>
2024-03-12 13:37:08.391976: <RTCM(1005, DF002=1005, DF003=0, DF021=0, DF022=1, DF023=1, DF024=1, DF141=0, DF025=1762489.6191, DF142=1, DF001_1=0, DF026=-5027633.8438, DF364=2, DF027=-3496008.8438000004)>
2024-03-12 13:37:08.392137: <RTCM(1006, DF002=1006, DF003=0, DF021=0, DF022=1, DF023=1, DF024=1, DF141=0, DF025=1762489.6191, DF142=1, DF001_1=0, DF026=-5027633.8438, DF364=2, DF027=-3496008.8438000004, DF028=0.034300000000000004)>
2024-03-12 13:37:08.392371: <RTCM(1007, DF002=1007, DF003=0, DF029=20, DF030_01=S, DF030_02=E, DF030_03=P, DF030_04=C, DF030_05=H, DF030_06=O, DF030_07=K, DF030_08=E, DF030_09=_, DF030_10=B, DF030_11=3, DF030_12=E, DF030_13=6, DF030_14= , DF030_15= , DF030_16= , DF030_17=S, DF030_18=P, DF030_19=K, DF030_20=E, DF031=0)>
2024-03-12 13:37:08.392638: <RTCM(1008, DF002=1008, DF003=0, DF029=20, DF030_01=S, DF030_02=E, DF030_03=P, DF030_04=C, DF030_05=H, DF030_06=O, DF030_07=K, DF030_08=E, DF030_09=_, DF030_10=B, DF030_11=3, DF030_12=E, DF030_13=6, DF030_14= , DF030_15= , DF030_16= , DF030_17=S, DF030_18=P, DF030_19=K, DF030_20=E, DF031=0, DF032=4, DF033_01=5, DF033_02=8, DF033_03=5, DF033_04=6)>
2024-03-12 13:37:08.393115: <RTCM(1009, DF002=1009, DF003=0, DF034=59828000, DF005=1, DF035=8, DF036=0, DF037=0, DF038_01=19, DF039_01=0, DF040_01=10, DF041_01=418194.62, DF042_01=-13.794500000000001, DF043_01=127, DF038_02=6, DF039_02=0, DF040_02=3, DF041_02=385659.28, DF042_02=1.0985, DF043_02=127, DF038_03=21, DF039_03=0, DF040_03=11, DF041_03=382677.42, DF042_03=4.17, DF043_03=127, DF038_04=4, DF039_04=0, DF040_04=13, DF041_04=482840.58, DF042_04=-35.865, DF043_04=127, DF038_05=7, DF039_05=0, DF040_05=12, DF041_05=187187.02, DF042_05=13.09, DF043_05=82, DF038_06=25, DF039_06=0, DF040_06=2, DF041_06=269175.72000000003, DF042_06=5.9645, DF043_06=127, DF038_07=5, DF039_07=0, DF040_07=8, DF041_07=142475.06, DF042_07=-8.8585, DF043_07=127, DF038_08=20, DF039_08=0, DF040_08=9, DF041_08=305960.64, DF042_08=-5.9105, DF043_08=127)>
2024-03-12 13:37:08.393698: <RTCM(1010, DF002=1010, DF003=0, DF034=59828000, DF005=1, DF035=8, DF036=0, DF037=0, DF038_01=19, DF039_01=0, DF040_01=10, DF041_01=418194.62, DF042_01=-13.794500000000001, DF043_01=127, DF044_01=38, DF045_01=33.75, DF038_02=6, DF039_02=0, DF040_02=3, DF041_02=385659.28, DF042_02=1.0985, DF043_02=127, DF044_02=33, DF045_02=41.0, DF038_03=21, DF039_03=0, DF040_03=11, DF041_03=382677.42, DF042_03=4.17, DF043_03=127, DF044_03=35, DF045_03=50.75, DF038_04=4, DF039_04=0, DF040_04=13, DF041_04=482840.58, DF042_04=-35.865, DF043_04=127, DF044_04=39, DF045_04=40.5, DF038_05=7, DF039_05=0, DF040_05=12, DF041_05=187187.02, DF042_05=13.09, DF043_05=82, DF044_05=40, DF045_05=36.25, DF038_06=25, DF039_06=0, DF040_06=2, DF041_06=269175.72000000003, DF042_06=5.9645, DF043_06=127, DF044_06=35, DF045_06=50.75, DF038_07=5, DF039_07=0, DF040_07=8, DF041_07=142475.06, DF042_07=-8.8585, DF043_07=127, DF044_07=33, DF045_07=53.5, DF038_08=20, DF039_08=0, DF040_08=9, DF041_08=305960.64, DF042_08=-5.9105, DF043_08=127, DF044_08=32, DF045_08=41.25)>
2024-03-12 13:37:08.394539: <RTCM(1011, DF002=1011, DF003=0, DF034=59828000, DF005=1, DF035=8, DF036=0, DF037=0, DF038_01=19, DF039_01=0, DF040_01=10, DF041_01=418194.62, DF042_01=-13.794500000000001, DF043_01=127, DF046_01=0, DF047_01=12.76, DF048_01=10.2105, DF049_01=127, DF038_02=6, DF039_02=0, DF040_02=3, DF041_02=385659.28, DF042_02=1.0985, DF043_02=127, DF046_02=0, DF047_02=-163.84, DF048_02=-262.144, DF049_02=0, DF038_03=21, DF039_03=0, DF040_03=11, DF041_03=382677.42, DF042_03=4.17, DF043_03=127, DF046_03=0, DF047_03=7.1000000000000005, DF048_03=9.694, DF049_03=127, DF038_04=4, DF039_04=0, DF040_04=13, DF041_04=482840.58, DF042_04=-35.865, DF043_04=127, DF046_04=0, DF047_04=11.72, DF048_04=-40.932, DF049_04=127, DF038_05=7, DF039_05=0, DF040_05=12, DF041_05=187187.02, DF042_05=13.09, DF043_05=82, DF046_05=0, DF047_05=13.06, DF048_05=11.291, DF049_05=78, DF038_06=25, DF039_06=0, DF040_06=2, DF041_06=269175.72000000003, DF042_06=5.9645, DF043_06=127, DF046_06=0, DF047_06=6.46, DF048_06=55.3695, DF049_06=127, DF038_07=5, DF039_07=0, DF040_07=8, DF041_07=142475.06, DF042_07=-8.8585, DF043_07=127, DF046_07=0, DF047_07=6.5, DF048_07=-9.71, DF049_07=127, DF038_08=20, DF039_08=0, DF040_08=9, DF041_08=305960.64, DF042_08=-5.9105, DF043_08=127, DF046_08=0, DF047_08=7.92, DF048_08=2.37, DF049_08=127)>
2024-03-12 13:37:08.395441: <RTCM(1012, DF002=1012, DF003=0, DF034=59828000, DF005=1, DF035=8, DF036=0, DF037=0, DF038_01=19, DF039_01=0, DF040_01=10, DF041_01=418194.62, DF042_01=-13.794500000000001, DF043_01=127, DF044_01=38, DF045_01=33.75, DF046_01=0, DF047_01=12.76, DF048_01=10.2105, DF049_01=127, DF050_01=39.5, DF038_02=6, DF039_02=0, DF040_02=3, DF041_02=385659.28, DF042_02=1.0985, DF043_02=127, DF044_02=33, DF045_02=41.0, DF046_02=0, DF047_02=-163.84, DF048_02=-262.144, DF049_02=0, DF050_02=0.0, DF038_03=21, DF039_03=0, DF040_03=11, DF041_03=382677.42, DF042_03=4.17, DF043_03=127, DF044_03=35, DF045_03=50.75, DF046_03=0, DF047_03=7.1000000000000005, DF048_03=9.694, DF049_03=127, DF050_03=46.75, DF038_04=4, DF039_04=0, DF040_04=13, DF041_04=482840.58, DF042_04=-35.865, DF043_04=127, DF044_04=39, DF045_04=40.5, DF046_04=0, DF047_04=11.72, DF048_04=-40.932, DF049_04=127, DF050_04=37.5, DF038_05=7, DF039_05=0, DF040_05=12, DF041_05=187187.02, DF042_05=13.09, DF043_05=82, DF044_05=40, DF045_05=36.25, DF046_05=0, DF047_05=13.06, DF048_05=11.291, DF049_05=78, DF050_05=33.0, DF038_06=25, DF039_06=0, DF040_06=2, DF041_06=269175.72000000003, DF042_06=5.9645, DF043_06=127, DF044_06=35, DF045_06=50.75, DF046_06=0, DF047_06=6.46, DF048_06=55.3695, DF049_06=127, DF050_06=47.0, DF038_07=5, DF039_07=0, DF040_07=8, DF041_07=142475.06, DF042_07=-8.8585, DF043_07=127, DF044_07=33, DF045_07=53.5, DF046_07=0, DF047_07=6.5, DF048_07=-9.71, DF049_07=127, DF050_07=50.0, DF038_08=20, DF039_08=0, DF040_08=9, DF041_08=305960.64, DF042_08=-5.9105, DF043_08=127, DF044_08=32, DF045_08=41.25, DF046_08=0, DF047_08=7.92, DF048_08=2.37, DF049_08=127, DF050_08=43.0)>
2024-03-12 13:37:08.395652: <RTCM(1013, DF002=1013, DF003=0, DF051=60381, DF052=49028, DF053=0, DF054=18)>
2024-03-12 13:37:08.395891: <RTCM(1019, DF002=1019, DF009=27, DF076=257, DF077=0, DF078=1, DF079=-1.2380496627883986e-10, DF071=24, DF081=223184, DF082=0.0, DF083=-2.8421709430404007e-12, DF084=-1.120520755648613e-05, DF085=24, DF086=-50.46875, DF087=1.59764113050187e-09, DF088=-0.055909117218106985, DF089=-2.5425106287002563e-06, DF090=0.012502275523729622, DF091=2.6989728212356567e-06, DF092=5153.670944213867, DF093=223184, DF094=1.30385160446167e-08, DF095=0.7466911841183901, DF096=1.8998980522155762e-07, DF097=0.30657122703269124, DF098=326.0, DF099=0.24526296509429812, DF100=-2.8129534257459454e-09, DF101=1.862645149230957e-09, DF102=0, DF103=0, DF137=0)>
etc... |
Beta Was this translation helpful? Give feedback.
ı am allowed to share just basic ntrip client part ı will add it in txt so when someone find here he can just copy paste it :D before that ı know the problems but know only god knows it. Now it works and ı need to solve other things. I just upload code in txt in zip