'SPARTN MESSAGE': How to extract other ID's. #41
-
|
I'm processing data and I've noticed that codes like identifiers like SF096, SF097, etc. are missing from the ocb parse and hpac. If they're missing, does that mean I didn't receive them, or do I have to extract them with other scripts? Thank you very much. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
Python code? SPARTN data source? Assuming you're using an unencrypted PPFlex NTRIP SPARTN source, then if you're not seeing any SF datafields at all it could simply be because you haven't set the from pyspartn import SPARTNReader, ERRLOG
INFILE = "spartnntrip_20240430192807.log"
with open(INFILE, "rb") as stream:
spr = SPARTNReader(
stream,
quitonerror=ERRLOG,
decode=True, # <==
)
for raw, parsed in spr:
print(parsed) |
Beta Was this translation helpful? Give feedback.
-
|
Thank you very much! I just missed this function. |
Beta Was this translation helpful? Give feedback.
Hi @ferraragianluigi97-source
Python code?
SPARTN data source?
Assuming you're using an unencrypted PPFlex NTRIP SPARTN source, then if you're not seeing any SF datafields at all it could simply be because you haven't set the
decodeflag to "True" e.g.