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.1

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.1
File Size Uploaded Provenance Actions
nrtqclib-0.1.1.tar.gz 242.3 kB With provenance Details for nrtqclib-0.1.1.tar.gz

Built distribution (wheel)

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

Total release size: 272.0 kB

Release files / nrtqclib-0.1.1.tar.gz

Download URL nrtqclib-0.1.1.tar.gz
Size 242.3 kB
Tags Source
SHA-256 checksum
How to use checksums
c012ac8efb52505bf32d37120d81b8dbd7af261f3340262b3fb9b8450fcb13e3
BLAKE2b-256 checksum
How to use checksums
6531e59fafd89504426840421def646b26d0a24b82607ef940d18dbcea8a4637
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.1-py3-none-any.whl

Download URL nrtqclib-0.1.1-py3-none-any.whl
Size 29.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2fa5231b17b18ac832db0bc05ff95e0f1de4b22bc7fcc0903e8fb827e69c0939
BLAKE2b-256 checksum
How to use checksums
74e62c02cdb6fb643567d7155586a49425da5999100de26a51b7fadfcbe420bf
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.1

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.1.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