Skip to content

integrates rinex v4.02 useage - #20

Merged
frigusgulo merged 6 commits into
mainfrom
fix/tiledb-rinex-402
Jul 31, 2026
Merged

integrates rinex v4.02 useage#20
frigusgulo merged 6 commits into
mainfrom
fix/tiledb-rinex-402

Conversation

@frigusgulo

Copy link
Copy Markdown
Collaborator

This PR accomodates the upgrade to rinex version 4.02.

@netlify

netlify Bot commented Jul 17, 2026

Copy link
Copy Markdown

Deploy Preview for earthscope-sfg-workflows ready!

Name Link
🔨 Latest commit ac8ca25
🔍 Latest deploy log https://app.netlify.com/projects/earthscope-sfg-workflows/deploys/6a6c485d0154770008c9aa33
😎 Deploy Preview https://deploy-preview-20--earthscope-sfg-workflows.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates EarthScope SFG workflows to accommodate RINEX v4.02 (notably the v3/v4 “long name” .rnx outputs) across generation, detection, compression, and downstream parsing.

Changes:

  • Update SV3/QC pipelines to treat tdb2rnx outputs as *.rnx and clean up stale outputs accordingly.
  • Extend file-type detection and plotting timestamp parsing to recognize RINEX v3/v4 long-name formats.
  • Adjust sync-time Hatanaka compression to produce .crx.gz from .rnx inputs; pin earthscope-sfg-tools to rev=0.1.2 in pixi.lock.

Reviewed changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/earthscope_sfg_workflows/utils/model_update.py Updates invalid-key error formatting for Pydantic models (currently introduces an instance/class name bug).
src/earthscope_sfg_workflows/services/sync_service.py Updates RINEX compression naming to handle .rnx.crx.gz for v3/v4 long names.
src/earthscope_sfg_workflows/pipelines/sv3_pipeline.py Switches RINEX discovery/cleanup from legacy *.??o to *.rnx; adds stricter filtering for processable local RINEX entries.
src/earthscope_sfg_workflows/pipelines/qc_pipeline.py Mirrors the SV3 pipeline’s switch to *.rnx discovery/cleanup for QC RINEX generation.
src/earthscope_sfg_workflows/pipelines/plotting.py Parses both RINEX v2 and v3/v4 epoch record formats when computing the last timestamp.
src/earthscope_sfg_workflows/data_mgmt/core.py Extends FileTypeDetector patterns to classify RINEX v3/v4 long-name .rnx obs/nav files.
pixi.lock Pins earthscope-sfg-tools Git dependency to rev=0.1.2.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/earthscope_sfg_workflows/utils/model_update.py
Comment thread src/earthscope_sfg_workflows/pipelines/sv3_pipeline.py
Comment thread src/earthscope_sfg_workflows/data_mgmt/core.py

@mikegottlieb84 mikegottlieb84 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

still need to fix the AssetKind.RINEX3->4

Franklyn Dunbar and others added 4 commits July 30, 2026 16:49
Resolves conflicts with the version-aware RINEX handling merged in #21:
- pipelines: keep this branch's broader stale-file cleanup (*.rnx plus
  legacy *.??o short names) on top of main's long-name output handling
- sv3_pipeline.run_pride: combine main's RINEX_KINDS filter with this
  branch's guard against missing/0-byte RINEX files
- tests: adopt main's long-format tdb2rnx filenames and the .25o fixture;
  drop the now-unused trimmed NCC12510.rnx fixture

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Same format-check failure as on ftd-fix-general-audit (pre-existing
line-wrap in shotdata_gnss_refinement.py). Also refreshes pixi.lock,
which was stale relative to pyproject.toml's already-pinned
earthscope-sfg-tools rev.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
clone-garpos was cloning unpinned upstream master and git-pulling on
re-runs, while compile-garpos hardcodes the bin/garpos_v102/f90lib
path from v1.0.2 - upstream master has since moved to a v120 layout,
breaking `pixi run setup`/test-garpos on every fresh clone (matches
AUDIT_FRICTION_LOG.md §2.2). Verified clean from a fresh .pixi/garpos.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
- Remove unused imports (F401) flagged by ruff --fix
- sv3_pipeline: move third-party/local imports above the monkey-patch
  code so all imports sit at the top of the module (E402); no
  module-level captures of the patched methods exist, so ordering is
  behavior-neutral
- session: move the _Site alias below the import block (E402) and add
  Survey plus the TDB* array types to the TYPE_CHECKING imports used by
  quoted annotations (F821)
- core/ports/adapters.memory: import SFGScope and Path used in
  annotations (F821)
- tests: drop unused TDBIMUPositionArray from the dependency probe

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@frigusgulo
frigusgulo merged commit 832fac9 into main Jul 31, 2026
7 checks passed
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

Successfully merging this pull request may close these issues.

3 participants