cloudnetpy-qc 1.25.8__py3-none-any.whl → 1.26.0__py3-none-any.whl
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.
- cloudnetpy_qc/quality.py +17 -0
- cloudnetpy_qc/variables.py +4 -0
- cloudnetpy_qc/version.py +2 -2
- {cloudnetpy_qc-1.25.8.dist-info → cloudnetpy_qc-1.26.0.dist-info}/METADATA +2 -1
- {cloudnetpy_qc-1.25.8.dist-info → cloudnetpy_qc-1.26.0.dist-info}/RECORD +8 -8
- {cloudnetpy_qc-1.25.8.dist-info → cloudnetpy_qc-1.26.0.dist-info}/WHEEL +1 -1
- {cloudnetpy_qc-1.25.8.dist-info → cloudnetpy_qc-1.26.0.dist-info}/licenses/LICENSE +0 -0
- {cloudnetpy_qc-1.25.8.dist-info → cloudnetpy_qc-1.26.0.dist-info}/top_level.txt +0 -0
cloudnetpy_qc/quality.py
CHANGED
|
@@ -281,6 +281,23 @@ class FindFolding(Test):
|
|
|
281
281
|
)
|
|
282
282
|
|
|
283
283
|
|
|
284
|
+
class TestZenithAngle(Test):
|
|
285
|
+
name = "Lidar zenith angle"
|
|
286
|
+
description = "Test lidar zenith angle."
|
|
287
|
+
products = [Product.LIDAR]
|
|
288
|
+
|
|
289
|
+
def run(self):
|
|
290
|
+
key = "zenith_angle"
|
|
291
|
+
if key not in self.nc.variables:
|
|
292
|
+
self._add_error(f"Zenith angle, '{key}', is missing.")
|
|
293
|
+
return
|
|
294
|
+
max_value = np.max(self.nc[key][:])
|
|
295
|
+
if max_value < 1:
|
|
296
|
+
self._add_info(
|
|
297
|
+
f"Zenith angle {max_value} degrees – risk of specular reflection."
|
|
298
|
+
)
|
|
299
|
+
|
|
300
|
+
|
|
284
301
|
class TestDataCoverage(Test):
|
|
285
302
|
name = "Data coverage"
|
|
286
303
|
description = "Test that file contains enough data."
|
cloudnetpy_qc/variables.py
CHANGED
cloudnetpy_qc/version.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cloudnetpy_qc
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.26.0
|
|
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
|
|
@@ -163,6 +163,7 @@ print(json_object)
|
|
|
163
163
|
| `TestUnits` | Check that variables have expected units. |
|
|
164
164
|
| `TestVariableNames` | Check that file contains required variables. |
|
|
165
165
|
| `TestVariableNamesDefined` | Check that variables have expected names. |
|
|
166
|
+
| `TestZenithAngle` | Test lidar zenith angle. |
|
|
166
167
|
|
|
167
168
|
## License
|
|
168
169
|
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
cloudnetpy_qc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
2
|
cloudnetpy_qc/coverage.py,sha256=WeLiiGRYIjIvXo2QR7Z03WD_RPaV2D8d1R_oQiX68h8,2291
|
|
3
3
|
cloudnetpy_qc/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
-
cloudnetpy_qc/quality.py,sha256=
|
|
4
|
+
cloudnetpy_qc/quality.py,sha256=a39q7YISi5ryBmEp-3CpJ8nfe_CNCeh9dkrN4tOp1X8,38808
|
|
5
5
|
cloudnetpy_qc/utils.py,sha256=zFVryl56le2cyfDSCyGCzMHACcsjK7AJZknii1fgfgg,5393
|
|
6
|
-
cloudnetpy_qc/variables.py,sha256=
|
|
7
|
-
cloudnetpy_qc/version.py,sha256=
|
|
6
|
+
cloudnetpy_qc/variables.py,sha256=GIbVYxPyN_X5d5HWR_eV1g6X_8GHCarRWz3nhWkpF3Q,51181
|
|
7
|
+
cloudnetpy_qc/version.py,sha256=mWK3-fS5EEqF4RqDfP_ZYVnuVUP6gNU-dSh-VKJheEU,102
|
|
8
8
|
cloudnetpy_qc/data/area-type-table.xml,sha256=LQGp6rk8d-jZVjeFWPK_NjG2Kk1atvLlQXmV4UXggKI,17788
|
|
9
9
|
cloudnetpy_qc/data/cf-standard-name-table.xml,sha256=MGqs7uPH62jVpiN6as3jc5gswQvywjJzU_jzHtQOArA,4455853
|
|
10
10
|
cloudnetpy_qc/data/data_quality_config.ini,sha256=tQpbRQUlA3iz_8wCRMJfdKrP8ByWiM2SxtqszSoxQeA,1242
|
|
11
11
|
cloudnetpy_qc/data/standardized-region-list.xml,sha256=gLRE2G7RQLD9hmvW5dTzyK7XPhORxWv2bfbrvAp5Uto,6426
|
|
12
|
-
cloudnetpy_qc-1.
|
|
13
|
-
cloudnetpy_qc-1.
|
|
14
|
-
cloudnetpy_qc-1.
|
|
15
|
-
cloudnetpy_qc-1.
|
|
16
|
-
cloudnetpy_qc-1.
|
|
12
|
+
cloudnetpy_qc-1.26.0.dist-info/licenses/LICENSE,sha256=P0wszB7Cq2M390SKaqT4DGvECfwGOMdTTdxsWBpEUUc,1094
|
|
13
|
+
cloudnetpy_qc-1.26.0.dist-info/METADATA,sha256=hj19UAvUpDlWiCz4ET450Vy3WcKCPG4YFvb6MOaa6Q8,8315
|
|
14
|
+
cloudnetpy_qc-1.26.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
15
|
+
cloudnetpy_qc-1.26.0.dist-info/top_level.txt,sha256=shrf8A1KyrrnhbHocc4gHmTl38YY-DHflgf-gXiKnKs,14
|
|
16
|
+
cloudnetpy_qc-1.26.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|