CloudnetPy-QC
Software for evaluating quality of ACTRIS-Cloudnet data products.
Installation
$ pip3 install cloudnetpy-qc
Usage
import json
from cloudnetpy_qc import quality
site_meta = {"latitude": 61.844, "longitude": 24.287, "altitude": 150}
report = quality.run_tests("cloudnet-file.nc", site_meta)
json_object = json.dumps(report.to_dict(), indent=2)
print(json_object)
Format of the report
timestamp: UTC timestamp of the testqcVersion:cloudnetpy-qcversiontests:Test[]data_coverage: float
Test
testId: Unique name of the testexceptions:Exception[]
Exception
message: Free-form message about the exceptionresult:"info","error"or"warning"
Example:
{
"timestamp": "2022-10-13T07:00:26.906815Z",
"qcVersion": "1.1.2",
"tests": [
{
"testId": "TestUnits",
"exceptions": []
},
{
"testId": "TestInstrumentPid",
"exceptions": [
{
"message": "Instrument PID is missing.",
"result": "warning"
}
]
},
{
"testId": "TestTimeVector",
"exceptions": []
},
{
"testId": "TestVariableNames",
"exceptions": []
},
{
"testId": "TestCFConvention",
"exceptions": []
}
]
}
Tests
| Test | Description |
|---|---|
FindAttributeOutliers |
Find suspicious values in global attributes. |
FindFolding |
Test for radar folding. |
FindVariableOutliers |
Find suspicious data values. |
TestBrightnessTemperature |
Test that brightness temperature data are valid. |
TestCFConvention |
Test compliance with the CF metadata conventions. |
TestComment |
Check that variables have expected comments. |
TestCompression |
Test netCDF compression. |
TestCoordinateVariables |
Test dimensions of coordinate variables are correct. |
TestCoordinates |
Check that file coordinates match site coordinates. |
TestDataCoverage |
Test that file contains enough data. |
TestDataModel |
Test netCDF data model. |
TestDataTypes |
Check that variables have expected data types. |
TestFillValue |
Test that fill value is explicitly set for variables with missing data. |
TestFloatingPointValues |
Test for special floating-point values which may indicate problems with the processing. |
TestGlobalAttributes |
Check that file contains required global attributes. |
TestIfRangeCorrected |
Test that beta is range corrected. |
TestInstrumentPid |
Test that valid instrument PID exists. |
TestInterval |
Test that sampling interval matches logging interval. |
TestLDR |
Test that LDR values are proper. |
TestLWC |
Test that LWP and integrated LWC are consistent. |
TestLidarBeta |
Test that one beta variable exists. |
TestLongNames |
Check that variables have expected long names. |
TestMWRMultiTemperature |
Test that temperature data are valid. |
TestMWRSingleLWP |
Test that LWP data are valid. |
TestMask |
Test that data are not completely masked. |
TestMedianLwp |
Test that LWP data are valid. |
TestModelData |
Test that model data are valid. |
TestRainfallConsistency |
Test that precipitation rate and amount are consistent. |
TestRangeAndHeight |
Test that range and height data are valid. |
TestStandardNames |
Check that variable have expected standard names. |
TestTimeVector |
Test that time vector is continuous. |
TestUnexpectedMask |
Test if data contain unexpected masked values. |
TestUnits |
Check that variables have expected units. |
TestVariableNames |
Check that file contains required variables. |
TestVariableNamesDefined |
Check that variables have expected names. |
TestZenithAngle |
Test lidar zenith angle. |
License
MIT
Metadata
Release files for cloudnetpy-qc 1.33.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cloudnetpy_qc-1.33.0.tar.gz | 374.6 kB | With provenance | Details for cloudnetpy_qc-1.33.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cloudnetpy_qc-1.33.0-py3-none-any.whl | Python 3 | none | any | Details for cloudnetpy_qc-1.33.0-py3-none-any.whl |
Total release size: 752.4 kB
Release files / cloudnetpy_qc-1.33.0.tar.gz
| Download URL | cloudnetpy_qc-1.33.0.tar.gz |
|---|---|
| Size | 374.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
658062fbf5c791dc9a7beb1e120756fa72552c8db893db074d91e90bf5ebce79
|
|
BLAKE2b-256 checksum How to use checksums |
34036ee151f63c2f69032b546914dbc42a371d3ddf65bc0e914308aab5142916
|
| 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 9, 2026.
Transparency logRelease files / cloudnetpy_qc-1.33.0-py3-none-any.whl
| Download URL | cloudnetpy_qc-1.33.0-py3-none-any.whl |
|---|---|
| Size | 377.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
71b8eacaa24e7576d4965bb5b421f0f20a16b0572e8f420c8936cb2de2cecea2
|
|
BLAKE2b-256 checksum How to use checksums |
cca76d59d4aa664149c3c3ae25091ae818a5ea247186e9e48a1f1c851e5ebd45
|
| 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 9, 2026.
Transparency logSecurity for cloudnetpy-qc 1.33.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.
Attestation for cloudnetpy_qc-1.33.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 9, 2026.
Transparency logA 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.