geospace-code / georinex

Python RINEX 2 / 3 NAV / OBS / sp3 reader & batch convert to HDF5 with C-like speed
MIT License
220 stars 91 forks source link

PRN check in SP3 import #94

Open JulieTls opened 1 year ago

JulieTls commented 1 year ago

Hi, For sp3 loading, we've noticed that an erroneous sp3 header produce erroneous orbits, without any error nor warning. Here is an example. The header of the sp3 file list 22 satellites

If some satellites are missing in the following of the sp3 file (see example below), no error will be raised but values between satellites are inverted.

Some satellites that are present in the file have nan values, while their orbit is affected to missing satellites.

It seems that georinex consider that the PRN list and order provided in the header is perfectly respected in all the sp3 file. It would seem safer to check this assumption.

Do not hesitate to contact me for further information or illustrative example. Best regards, Julie