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

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.4
File Size Uploaded Provenance Actions
nrtqclib-0.1.4.tar.gz 300.1 kB With provenance Details for nrtqclib-0.1.4.tar.gz

Built distribution (wheel)

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

Total release size: 330.1 kB

Release files / nrtqclib-0.1.4.tar.gz

Download URL nrtqclib-0.1.4.tar.gz
Size 300.1 kB
Tags Source
SHA-256 checksum
How to use checksums
442a463f8c00d25d9e674e93e36513e411ecf83b6ca0fe242efbee6c6050a869
BLAKE2b-256 checksum
How to use checksums
c2c23d077c2b4af6a2921d9e6a4734d5989f13f2f2fc4ca9bca7d31bc103c6d6
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 6, 2026.

Transparency log

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

Download URL nrtqclib-0.1.4-py3-none-any.whl
Size 30.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
805faf1a59cc747a7587a7363327d7a0028851f3414d67531d94f5fc64da5d8a
BLAKE2b-256 checksum
How to use checksums
c43b5c617f6aa892f9b2ba2a46cf2bf1e35e1be961fbc60ef0ca6470c0fa6cc2
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 6, 2026.

Transparency log

Security for nrtqclib 0.1.4

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.4.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 6, 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