Skip to main content

nrtqclib

Near-real-time quality control (NRT QC) for CTD ocean profiles. nrtqclib applies automated real-time QC tests (Argo/CTD RTQC tests) to temperature and salinity profiles, producing per-item flag columns and a final NRT flag per variable, and can compare those flags with existing ones.

The QC items are implemented in aiqclib, which this package depends on. The same tests are available there as training features for its machine-learning models.

Status: moved out of aiqclib (where it shipped as aiqclib.run_nrt_qc from v0.5.0). See docs/design/NRTQCLIB_plan.md. Install with pip install nrtqclib.

Usage

import nrtqclib as nq

nq.write_config_template("nrt_qc_config.yaml")
# Edit the paths, variables and QC items, then:
config = nq.read_config("nrt_qc_config.yaml")
nq.run_nrt_qc(config)

# Or over a table of datasets (column `nrt_qc_set_name`):
summary = nq.run_batch("datasets.txt", nrt_qc_config="nrt_qc_config.yaml")

Migrating from aiqclib: the functions keep their names and arguments, minus stage (config functions) and mode (run_batch). The pipeline, configuration format and outputs are unchanged.

Development

See CONTRIBUTING.md and RELEASING.md.

License

MIT

Metadata

Release files for nrtqclib 0.1.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 nrtqclib 0.1.0
File Size Uploaded Provenance Actions
nrtqclib-0.1.0.tar.gz 242.7 kB With provenance Details for nrtqclib-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nrtqclib 0.1.0
File Interpreter ABI Platform Actions
nrtqclib-0.1.0-py3-none-any.whl Python 3 none any Details for nrtqclib-0.1.0-py3-none-any.whl

Total release size: 272.3 kB

Release files / nrtqclib-0.1.0.tar.gz

Download URL nrtqclib-0.1.0.tar.gz
Size 242.7 kB
Tags Source
SHA-256 checksum
How to use checksums
6b1ff3722dd0abe76a53e95af1ff7bc896a0d8b7a764abf6d5ae404276f6d7b0
BLAKE2b-256 checksum
How to use checksums
806b24fc489a7ca410720076d72372d7340985aae263847790d775bd82d9bb3a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 5, 2026.

Transparency log

Release files / nrtqclib-0.1.0-py3-none-any.whl

Download URL nrtqclib-0.1.0-py3-none-any.whl
Size 29.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b7b1b4c79f480625ae76cba1bbd4349f7b0c08ba82821113d1bad5171cc72c05
BLAKE2b-256 checksum
How to use checksums
a7c13f6c127e2d17d600c56622fccaa4d95bf9efbba019e33b0f0899c04f1c8b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 5, 2026.

Transparency log

Security for nrtqclib 0.1.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for nrtqclib-0.1.0.tar.gz

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 Nov 5, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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