Quality control routines for CloudnetPy products
Project description
CloudnetPy-QC
Software for evaluating quality of ACTRIS-Cloudnet data products.
Installation
$ pip3 install cloudnetpy-qc
Usage
import json
from cloudnetpy_qc import quality
report = quality.run_tests('cloudnet-file.nc')
json_object = json.dumps(report.to_dict(), indent=2)
print(json_object)
Format of the report
timestamp
: UTC timestamp of the testqcVersion
:cloudnetpy-qc
versiontests
:Test[]
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. |
TestCFConvention |
Test compliance with the CF metadata conventions. |
TestDataCoverage |
Test that file contains enough data. |
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. |
TestLDR |
Test that LDR values are proper. |
TestLidarBeta |
Test that one beta variable exists. |
TestLongNames |
Check that variables have expected long names. |
TestMask |
Test that data are not completely masked. |
TestMedianLwp |
Test that LWP data are valid. |
TestModelData |
Test that model data are valid. |
TestStandardNames |
Check that variable have expected standard names. |
TestTimeVector |
Test that time vector is continuous. |
TestUnits |
Check that variables have expected units. |
TestVariableNames |
Check that file contains required variables. |
TestVariableNamesDefined |
Check that variables have expected names. |
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cloudnetpy_qc-1.17.23.tar.gz
(326.2 kB
view details)
Built Distribution
File details
Details for the file cloudnetpy_qc-1.17.23.tar.gz
.
File metadata
- Download URL: cloudnetpy_qc-1.17.23.tar.gz
- Upload date:
- Size: 326.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a08416ae96d1303b5ab214880d11b73161fffc314fc540b27a97a7fa2d52cd9c |
|
MD5 | 37b582b7734be9265fcb905200963d29 |
|
BLAKE2b-256 | b79144aceec43c1f58bb9e86d707f43a3e64b71e731e12448258b32f10434374 |
Provenance
The following attestation bundles were made for cloudnetpy_qc-1.17.23.tar.gz
:
Publisher:
publish.yml
on actris-cloudnet/cloudnetpy-qc
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
cloudnetpy_qc-1.17.23.tar.gz
- Subject digest:
a08416ae96d1303b5ab214880d11b73161fffc314fc540b27a97a7fa2d52cd9c
- Sigstore transparency entry: 149880526
- Sigstore integration time:
- Predicate type:
File details
Details for the file cloudnetpy_qc-1.17.23-py3-none-any.whl
.
File metadata
- Download URL: cloudnetpy_qc-1.17.23-py3-none-any.whl
- Upload date:
- Size: 328.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 918ca4ef78a0dac82f600129c557d8b76027512333de16624fa2912eea30d61a |
|
MD5 | 11a6f1de730ebfd43b8aa66784e2130e |
|
BLAKE2b-256 | 4ce417c51d51165f20b15d8155bdbf0a833e08735c2a8792455aca7e86413989 |
Provenance
The following attestation bundles were made for cloudnetpy_qc-1.17.23-py3-none-any.whl
:
Publisher:
publish.yml
on actris-cloudnet/cloudnetpy-qc
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
cloudnetpy_qc-1.17.23-py3-none-any.whl
- Subject digest:
918ca4ef78a0dac82f600129c557d8b76027512333de16624fa2912eea30d61a
- Sigstore transparency entry: 149880527
- Sigstore integration time:
- Predicate type: