Draft

lib-qc — QC Library

Clientnovameraactive

Python library (novamera-qc package) encapsulating all borehole quality-control checks and QC plot rendering. Consumed by svc-qc as its QC engine and by svc-nbit-sim for synthetic validation.

flowchart LR
    QC[svc-qc] -->|pip install novamera-qc| LIB[lib-qc]
    NBITSIM[svc-nbit-sim] --> LIB
    LIB -->|check results| QC
    LIB -->|plot_qc.png| QC
    style LIB fill:#EDEDFF,stroke:#3B54F7
  • Install: from AWS CodeArtifact (private; make install handles auth in CI and local dev).
  • Outputs: qc_results.json (pass/fail per check + metadata) + plot_qc.png (QC summary image) written to S3 by svc-qc.
  • Usage by svc-nbit-sim: validates synthetic borehole runs match the format lib-qc expects, ensuring the digital twin stays compatible with real QC.
  • Companion: processing-library — the GPR signal processing Python library (separate from QC checks).