-
Dear All, I am working on converting RTCMv3 stream to RINEX observation and navigation files. I work with Septentrio receivers and logged simultaneous the RTCMv3 and the SBF raw data. From both I cangenerate the observation and navigation data. The Obs/Nav RINEX files obtained by converting the SBF raw data are reference for getting the same values from the RTCM parsing I am creating.
Something useful would be to be able to get the bits of a datafield, but I cannot find a suitable method. Tx for any help |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 3 replies
-
Hi All, I found some corrections that needs to be done to get the same values as from a raw data SBF file:
and with these modifications I get the same values as in the RINEX files bye/Alain |
Beta Was this translation helpful? Give feedback.
-
Hi @alainmuls Thanks for this - you just beat me to it on the resolution. The SCALEDP value of 8 was chosen arbitrarily and I realise now that it was a bit too conservative for many applications. I'll test your proposed changes myself and if all's well get this into the next release of pyrtcm (v1.0.12). |
Beta Was this translation helpful? Give feedback.
-
Hi @alainmuls There's an updated version in branch https://github.com/semuconsulting/pyrtcm/tree/RC-1.0.12. If you'd care to install it to confirm your earlier test results, be my guest: pip install -U git+https://github.com/semuconsulting/[email protected] |
Beta Was this translation helpful? Give feedback.
-
Resolved in e0078d4 |
Beta Was this translation helpful? Give feedback.
-
Not clear what your intentions were but the only change I've made is to remove the rounding. If you have any further code changes to submit, can I request that you submit them via a PR (Pull Request), so the changes are absolutely clear.
Release 1.0.12 is now generally available so the RC branch has been deleted. |
Beta Was this translation helpful? Give feedback.
-
Yes
python3 -m pip install –upgrade pyrtcm
From: Alain Muls ***@***.***>
Date: Saturday, 5 August 2023 at 16:18
To: semuconsulting/pyrtcm ***@***.***>
Cc: semuadmin ***@***.***>, State change ***@***.***>
Subject: Re: [semuconsulting/pyrtcm] Problem converting to RINEX Obs/Nav (Discussion #40)
Hi,
so just an update of pyrtcm is needed?
—
Reply to this email directly, view it on GitHub<#40 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AGZ7C32VJ5MFBIMOO6L53DTXTZP4TANCNFSM6AAAAAA3EALPSA>.
You are receiving this because you modified the open/close state.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
Hi All,
I found some corrections that needs to be done to get the same values as from a raw data SBF file:
values are rounded by
SCALEDP = 8 # number of decimal places to scale float values to
which I changed to a larger value (24)
the procedure "bits2val" is not treating correctly the values. I changed it into:
def bits2valAM(att: str, scale: float, bitfield: int) -> object:
"""
Convert bitfield to value for given attribute type.
:param str att: attribute type e.g. "UNT008"
:param float scale: scaling factor (where defined)
:param int bitfield: attribute as integer
:return: value
:rtype: object (int, float, char, bool)
"""
typ = rh.atttyp(att)
siz = rh.attsiz(att)
val = msb = 0
if ty…