Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in if (differenceToeToc > 302400) #6

Open
egdeory opened this issue Nov 16, 2023 · 6 comments
Open

Error in if (differenceToeToc > 302400) #6

egdeory opened this issue Nov 16, 2023 · 6 comments

Comments

@egdeory
Copy link

egdeory commented Nov 16, 2023

When running

readGPSNavigationRINEX("path\43-JAE1-2022-362-00690.rnx")

I got the error message

Error in if (differenceToeToc > 302400) differenceToeToc <- differenceToeToc - :
missing value where TRUE/FALSE needed
In addition: There were 28 warnings (use warnings() to see them)

The versions I'm working with:

R version: 4.3.1 (2023-06-16 ucrt)
RStudio version: 2023.6.0.421

@Rafael-Ayala
Copy link
Owner

I cannot troubleshoot this without a minimal reproducible example including an example file that triggers the error

@egdeory
Copy link
Author

egdeory commented Nov 17, 2023

Attached please find the compressed RINEX file I'm triying to read (rnx format is not supported)
43-JAE1-2022-362-00690.zip

@Rafael-Ayala
Copy link
Owner

I see. This is RINEX specification version 3, currently we are only supporting version 2.XX for GPS navigation RINEX... I can look into adding support for version 3 if this would be really useful to you

@egdeory
Copy link
Author

egdeory commented Nov 17, 2023

It's OK, thank you

@Rafael-Ayala
Copy link
Owner

Hello, I have now added support for GPS and GLONASS RINEX v3 navigation files in the development version (you cant get it from GitHub, still not on CRAN).

However, I checked your file again and I realized this is a RINEX observation file, not a navigation file. These are different and provide other type of information, and you should probably use another library to read them.

@egdeory
Copy link
Author

egdeory commented Dec 4, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants