Skip to content

ephemeris selection (seleph) #765

@plutonheaven

Description

@plutonheaven

I am trying to compare my own satellite position computation to the one performed by rtklib. I see a difference for a single satellite (G15), which is due to a different ephemeris selection.

I paste here the content of my RINEX NAV file:

G15 2024 06 24 07 59 44 1.736045815051e-04 4.206412995700e-12 0.000000000000e+00
     4.000000000000e+00-9.028125000000e+01 4.785199322759e-09-6.493624923029e-01
    -4.604458808899e-06 1.573454437312e-02 9.842216968536e-06 5.153677450180e+03
     1.151840000000e+05-1.396983861923e-07-2.820946273747e+00 1.899898052216e-07
     9.359883245393e-01 1.812500000000e+02 1.319706711607e+00-8.354633718315e-09
     3.239420649158e-10 1.000000000000e+00 2.320000000000e+03 0.000000000000e+00
     2.000000000000e+00 0.000000000000e+00-1.024454832077e-08 4.000000000000e+00
     1.146660000000e+05 4.000000000000e+00                                      
G15 2024 06 24 08 00 00 1.736055128276e-04 4.206412995700e-12 0.000000000000e+00
     1.120000000000e+02-9.028125000000e+01 4.785556480493e-09-6.470286903135e-01
    -4.604458808899e-06 1.573454204481e-02 9.842216968536e-06 5.153677459717e+03
     1.152000000000e+05-1.396983861923e-07-2.820946398095e+00 1.899898052216e-07
     9.359883245393e-01 1.812500000000e+02 1.319706609203e+00-8.354633718315e-09
     3.239420649158e-10 1.000000000000e+00 2.320000000000e+03 0.000000000000e+00
     2.000000000000e+00 0.000000000000e+00-1.024454832077e-08 1.120000000000e+02
     1.080180000000e+05 4.000000000000e+00

There are two close Clock, Ephemeris, Integrity (CEI) data sets. The observation for which I need to get the satellite position is at 08:20:00.

I would expect to select the second CEI data set, but rtklib selects the first one.
To my understanding, rtklib use the difference between the transmission time and the ephemeris toe (1st param on 3rd line of the NAV block), and find the one with the smallest absolute value. However, this should not result in the selection of the first CEI data set.

Do you have any clue of why this is happening?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions