UBX to RINEX conversion problem using RTKCONV

I’m trying to setup a Sparkfun RTK GPS reference base, did as suggested in the several online tutorials, then connected to the base via Bluetooth SPP/COM port, then pressed “2) Configure GNSS Messages” then pressed “11) Reset to PPP Logging Defaults (NMEAx5 + RXMx2)”, then exited, and I could see on the PuTTY console the several PPP messages and the .ubx log file on the SD card constantly increasing, left it acquiring for 24 hours, ended up generating a 64MByte .ubx file.

Then copied that file to my PC, asked RTKCONV to convert it to RINEX, I could see the .obs, .nav and .sbs files briefly appearing in the output directory, then they disappeared, did not get an error message. Looked into the .ubx file, seems to be a mix between text and binary, as shown in the picture, the file has a total of about 1 million lines. I think this is the correct format, or am I missing something in here? Thanks

1 Like

BTW, if I play the .ubx file on the u-center (u-blox) software I get quite a nice constellation of satelites always visible and a relatively good GPS positional accuracy, as shown in the picture, so I am a bit baffled why RTKCONV does not want to convert this file to RINEX

Capture.PNG

Not an expert on this but maybe there’s some bad data somewhere in the file? Might try cutting out the first megabyte or so on your file and see if that works?

YellowDog:
Not an expert on this but maybe there’s some bad data somewhere in the file? Might try cutting out the first megabyte or so on your file and see if that works?

I had another look at the .ubx file and noticed that no more binary (raw) data was saved after line 1200, out of 1e6 lines, hence less than 2 minutes out of the 1440 minutes (24 h) of raw data, that might have been be the problem, don’t understand why the device stopped recording raw data. Now I am acquiring another 24h of NMEAx5 + RXMx2 messages, hopefully this time I shall get better data

This time the GPS data acquisition was successful, I could see much more binary/raw data being written, hence after 24 hours the file size was about 300 MByte, instead of only 64 MB as before, and this time RTKCONV had no problem in converting it to RINEX

I’m trying to convert the UBX files from my Facet RTK to Rinex for post processing and it doesn’t work. I just get zero output. I’ve searched and found no solutions!

Needs to contain UBX-RXM-RAWX records

You’d want to be using the RTK Explorer fork of RTKLIB / RTKCONV

Be sure you have RAWX messages enabled: https://docs.sparkfun.com/SparkFun_RTK_ … eax5-rxmx2

I set my RTK Facet to “logging mode” using the browser interface and was then able to take the log and process using Emlid Flow. These units should always have that mode enabled, I’m not sure why there would be UBX logging that doesn’t let you process the logs, that’s the whole point of GNSS/GPS

Perhaps review the source to establish if that’s the equivalent to doing “11) Reset to PPP Logging Defaults (NMEAx5 + RXMx2)”, and if it’s not setting this correctly, or as desired, submit a request on GitHub or create your own fix / remedy.

Excuse me, could you tell me how do you got that?, I have de same problem, only a get 70 Mb and I can not convert to RINEX. Regards