How spagheddieg/pynavcore works
Project type and purpose
• This is an open-source, command-line–driven scientific/engineering tool written in Python, implementing a Single Point Positioning (SPP) solver for GNSS data (primarily GPS). It ingests RINEX observation and navigation files, computes satellite ephemerides and corrections, runs an iterative least-squares solver, then emits JSON results and optional visualizations.
File structure
• Top-level scripts:
• main.py – CLI entry point that ties everything together.
• spp_module.py – core solver library (parsing, ephemeris computation, corrections, solver).
• visualizer.py – plotting routines for position errors, pseudorange residuals, geometry, convergence.
• test.py – unit– or integration–test harness.
• Data files (example inputs): algo0010.25o and brdc0010.25n – RINEX observation and broadcast ephemeris.
• __pycache__ – compiled Python artifacts (ignore).
• No separate frontend/backend; it’s a single-process modular CLI application.
README for architectural insights
• Key modules implicitly described: RINEX parsing (georinex + xarray), ephemeris & clock correction, Sagnac correction, iterative least-squares solver, progress tracking (tqdm), JSON output, convergence logging, visualization.