cssrlib icon indicating copy to clipboard operation
cssrlib copied to clipboard

Error Occurs When Decoding Galileo-HAS and Outputting as File

Open opgn716 opened this issue 10 months ago • 3 comments

Dear Dr. Rui Hirokawa,

Thanks for providing the compact PPP/PPP-RTK toolkit. I can really learned a lot following your tutorial.

However, I found one issue when decoding Galileo-HAS and output the result as a file. In the "self.out_log()" function of "cssrlib.py", when "self.subtype == sCSSR.CBIAS", you get the keys like this: for sig_ in range(self.lc[0].pbias[sat_].keys()): However, the "range()" function doesn't seem to support arguments of type 'dict_keys'. The similar issue also arises when 'subtype == sCSSR.PBIAS'. In my attempt, removing the “range()” function allows the program to run normally. If I have misunderstood, I humbly request correction.

Best regards

opgn716 avatar Mar 30 '24 11:03 opgn716

Thank you for finding a bug in out_log(). out_log() is still based on the old sig structure, it needs to be updated. The code in devel branch is already fixed, it will be merged into master branch soon. Rui

hirokawa avatar Mar 31 '24 10:03 hirokawa