Skip to main content

SOBA reference TEST datasets

CI Tests Build Python License: MIT pre-commit Docs

Create Sentinel-1 Wave Mode (WV) reference TEST/TARGET Parquets and a SOBA report from co-aligned catalogues. The recipe filters SWOT catalogues separately for each satellite, saves the Curated Parquets, merges them, and exports one paired TEST/TARGET dataset. ALTI and IW exports are not supported yet; the 13 predefined filters apply only to SWOT.

Install

Use Python 3.11. From the repository root, install the CLI and its Python dependencies:

python -m pip install -e .

Run a SWOT recipe

  1. Copy the example. Keep your edited recipe in runs/ so it stays out of Git:

    mkdir -p runs
    cp examples/swot-curation.toml runs/recipe.toml
    
  2. Edit runs/recipe.toml: replace the S1A, S1C, and S1D path values with your WV SWOT Parquet files. Check production_date, version, and output_dir. The output directory must be new; the tool will not overwrite a run. Set compile = true if you have pdflatex or Tectonic and want a PDF. Otherwise, it writes the editable LaTeX report without compiling it.

  3. Run:

    soba_reference_repo --recipe runs/recipe.toml
    

The example writes to runs/swot-WV-20260930-0.1/ (paths resolve relative to the recipe). The run contains:

recipe.toml                 Copy of the run settings
curated/                    One named Curated Parquet per satellite
merged/                     Saved combined Parquet
datasets/                   Paired TEST and TARGET Parquets
report/                     Figures, editable .tex, and optional PDF
manifest.json               Source files, rules, counts, and output paths

Each satellite starts with 13 predefined SWOT filters. A [[catalogues.rules]] entry changes a default filter when its id matches a default rule; a new id adds a filter after the defaults. The example includes commented overrides and additions. Filters run in order: report counts read remaining / removed after each filter. Curated counts can exceed TEST counts because the exporter also checks required fields and duplicate keys. A satellite can contribute zero rows if no input row passes its filters.

Validate existing Parquets

The exporter checks the columns, metadata, and keys of each TEST/TARGET pair after writing it. Run the same check independently with:

soba_validate_parquets --test path/to/TEST.parquet --target path/to/TARGET.parquet

The validator currently supports SWOT TEST/TARGET pairs. CHALLENGER validation can be added when its schema and prediction source are defined; it does not produce CHALLENGER files.

Development

Run python -m pytest -q in an environment with the development dependencies. The SOBA report style and logo live in assets/latex/.

Licensed under MIT.

Metadata

Release files for soba-reference-repo 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for soba-reference-repo 0.2.0
File Size Uploaded
soba_reference_repo-0.2.0.tar.gz 380.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for soba-reference-repo 0.2.0
File Interpreter ABI Platform
soba_reference_repo-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 751.3 kB

Release files / soba_reference_repo-0.2.0.tar.gz

Download URL soba_reference_repo-0.2.0.tar.gz
Size 380.0 kB
Tags Source
SHA-256 checksum
How to use checksums
f4ed0a4781091b2f04b9569fa1a8210e5344304d358d3b5126ad29d49078fe59
BLAKE2b-256 checksum
How to use checksums
adcbdf383802058aa5863bec930d7e849e772ce39e2ccbaf6dd6e04440820b80
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 1, 2026.

Transparency log

Release files / soba_reference_repo-0.2.0-py3-none-any.whl

Download URL soba_reference_repo-0.2.0-py3-none-any.whl
Size 371.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b6b39711d221db250682416d8f59c7a190e8994b4d556b21878910238081af52
BLAKE2b-256 checksum
How to use checksums
3785dfa6f963087e46147cc253c25b1ade38371e015fb7d25e9a3d17e08bdcf8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 1, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page