cloudnetpy-qc 1.29.0__tar.gz → 1.30.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (24) hide show
  1. {cloudnetpy_qc-1.29.0/cloudnetpy_qc.egg-info → cloudnetpy_qc-1.30.1}/PKG-INFO +3 -1
  2. {cloudnetpy_qc-1.29.0 → cloudnetpy_qc-1.30.1}/README.md +2 -0
  3. {cloudnetpy_qc-1.29.0 → cloudnetpy_qc-1.30.1}/cloudnetpy_qc/coverage.py +1 -1
  4. {cloudnetpy_qc-1.29.0 → cloudnetpy_qc-1.30.1}/cloudnetpy_qc/data/cf-standard-name-table.xml +1169 -1107
  5. {cloudnetpy_qc-1.29.0 → cloudnetpy_qc-1.30.1}/cloudnetpy_qc/quality.py +16 -0
  6. {cloudnetpy_qc-1.29.0 → cloudnetpy_qc-1.30.1}/cloudnetpy_qc/version.py +2 -2
  7. {cloudnetpy_qc-1.29.0 → cloudnetpy_qc-1.30.1/cloudnetpy_qc.egg-info}/PKG-INFO +3 -1
  8. {cloudnetpy_qc-1.29.0 → cloudnetpy_qc-1.30.1}/LICENSE +0 -0
  9. {cloudnetpy_qc-1.29.0 → cloudnetpy_qc-1.30.1}/MANIFEST.in +0 -0
  10. {cloudnetpy_qc-1.29.0 → cloudnetpy_qc-1.30.1}/cloudnetpy_qc/__init__.py +0 -0
  11. {cloudnetpy_qc-1.29.0 → cloudnetpy_qc-1.30.1}/cloudnetpy_qc/data/area-type-table.xml +0 -0
  12. {cloudnetpy_qc-1.29.0 → cloudnetpy_qc-1.30.1}/cloudnetpy_qc/data/data_quality_config.ini +0 -0
  13. {cloudnetpy_qc-1.29.0 → cloudnetpy_qc-1.30.1}/cloudnetpy_qc/data/standardized-region-list.xml +0 -0
  14. {cloudnetpy_qc-1.29.0 → cloudnetpy_qc-1.30.1}/cloudnetpy_qc/py.typed +0 -0
  15. {cloudnetpy_qc-1.29.0 → cloudnetpy_qc-1.30.1}/cloudnetpy_qc/utils.py +0 -0
  16. {cloudnetpy_qc-1.29.0 → cloudnetpy_qc-1.30.1}/cloudnetpy_qc/variables.py +0 -0
  17. {cloudnetpy_qc-1.29.0 → cloudnetpy_qc-1.30.1}/cloudnetpy_qc.egg-info/SOURCES.txt +0 -0
  18. {cloudnetpy_qc-1.29.0 → cloudnetpy_qc-1.30.1}/cloudnetpy_qc.egg-info/dependency_links.txt +0 -0
  19. {cloudnetpy_qc-1.29.0 → cloudnetpy_qc-1.30.1}/cloudnetpy_qc.egg-info/requires.txt +0 -0
  20. {cloudnetpy_qc-1.29.0 → cloudnetpy_qc-1.30.1}/cloudnetpy_qc.egg-info/top_level.txt +0 -0
  21. {cloudnetpy_qc-1.29.0 → cloudnetpy_qc-1.30.1}/pyproject.toml +0 -0
  22. {cloudnetpy_qc-1.29.0 → cloudnetpy_qc-1.30.1}/setup.cfg +0 -0
  23. {cloudnetpy_qc-1.29.0 → cloudnetpy_qc-1.30.1}/tests/test_qc.py +0 -0
  24. {cloudnetpy_qc-1.29.0 → cloudnetpy_qc-1.30.1}/tests/test_utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cloudnetpy_qc
3
- Version: 1.29.0
3
+ Version: 1.30.1
4
4
  Summary: Quality control routines for CloudnetPy products
5
5
  Author-email: Finnish Meteorological Institute <actris-cloudnet@fmi.fi>
6
6
  License: MIT License
@@ -138,6 +138,7 @@ print(json_object)
138
138
  | `TestBrightnessTemperature` | Test that brightness temperature data are valid. |
139
139
  | `TestCFConvention` | Test compliance with the CF metadata conventions. |
140
140
  | `TestComment` | Check that variables have expected comments. |
141
+ | `TestCompression` | Test netCDF compression. |
141
142
  | `TestCoordinateVariables` | Test dimensions of coordinate variables are correct. |
142
143
  | `TestCoordinates` | Check that file coordinates match site coordinates. |
143
144
  | `TestDataCoverage` | Test that file contains enough data. |
@@ -157,6 +158,7 @@ print(json_object)
157
158
  | `TestMedianLwp` | Test that LWP data are valid. |
158
159
  | `TestModelData` | Test that model data are valid. |
159
160
  | `TestRainfallConsistency` | Test that precipitation rate and amount are consistent. |
161
+ | `TestRangeAndHeight` | Test that range and height data are valid. |
160
162
  | `TestStandardNames` | Check that variable have expected standard names. |
161
163
  | `TestTimeVector` | Test that time vector is continuous. |
162
164
  | `TestUnexpectedMask` | Test if data contain unexpected masked values. |
@@ -85,6 +85,7 @@ print(json_object)
85
85
  | `TestBrightnessTemperature` | Test that brightness temperature data are valid. |
86
86
  | `TestCFConvention` | Test compliance with the CF metadata conventions. |
87
87
  | `TestComment` | Check that variables have expected comments. |
88
+ | `TestCompression` | Test netCDF compression. |
88
89
  | `TestCoordinateVariables` | Test dimensions of coordinate variables are correct. |
89
90
  | `TestCoordinates` | Check that file coordinates match site coordinates. |
90
91
  | `TestDataCoverage` | Test that file contains enough data. |
@@ -104,6 +105,7 @@ print(json_object)
104
105
  | `TestMedianLwp` | Test that LWP data are valid. |
105
106
  | `TestModelData` | Test that model data are valid. |
106
107
  | `TestRainfallConsistency` | Test that precipitation rate and amount are consistent. |
108
+ | `TestRangeAndHeight` | Test that range and height data are valid. |
107
109
  | `TestStandardNames` | Check that variable have expected standard names. |
108
110
  | `TestTimeVector` | Test that time vector is continuous. |
109
111
  | `TestUnexpectedMask` | Test if data contain unexpected masked values. |
@@ -43,7 +43,7 @@ def data_coverage(
43
43
  bins = max(1, duration // expected_res)
44
44
  hist, _ = np.histogram(time, bins=bins, range=(0, duration / time_unit))
45
45
  coverage = np.count_nonzero(hist > 0) / len(hist)
46
- actual_res = np.median(np.diff(time)) * time_unit
46
+ actual_res = float(np.median(np.diff(time))) * time_unit
47
47
  return coverage, expected_res, actual_res
48
48
 
49
49