cloudnetpy-qc 1.26.2__tar.gz → 1.26.4__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.
- {cloudnetpy_qc-1.26.2/cloudnetpy_qc.egg-info → cloudnetpy_qc-1.26.4}/PKG-INFO +1 -1
- {cloudnetpy_qc-1.26.2 → cloudnetpy_qc-1.26.4}/cloudnetpy_qc/quality.py +4 -3
- {cloudnetpy_qc-1.26.2 → cloudnetpy_qc-1.26.4}/cloudnetpy_qc/version.py +1 -1
- {cloudnetpy_qc-1.26.2 → cloudnetpy_qc-1.26.4/cloudnetpy_qc.egg-info}/PKG-INFO +1 -1
- {cloudnetpy_qc-1.26.2 → cloudnetpy_qc-1.26.4}/LICENSE +0 -0
- {cloudnetpy_qc-1.26.2 → cloudnetpy_qc-1.26.4}/MANIFEST.in +0 -0
- {cloudnetpy_qc-1.26.2 → cloudnetpy_qc-1.26.4}/README.md +0 -0
- {cloudnetpy_qc-1.26.2 → cloudnetpy_qc-1.26.4}/cloudnetpy_qc/__init__.py +0 -0
- {cloudnetpy_qc-1.26.2 → cloudnetpy_qc-1.26.4}/cloudnetpy_qc/coverage.py +0 -0
- {cloudnetpy_qc-1.26.2 → cloudnetpy_qc-1.26.4}/cloudnetpy_qc/data/area-type-table.xml +0 -0
- {cloudnetpy_qc-1.26.2 → cloudnetpy_qc-1.26.4}/cloudnetpy_qc/data/cf-standard-name-table.xml +0 -0
- {cloudnetpy_qc-1.26.2 → cloudnetpy_qc-1.26.4}/cloudnetpy_qc/data/data_quality_config.ini +0 -0
- {cloudnetpy_qc-1.26.2 → cloudnetpy_qc-1.26.4}/cloudnetpy_qc/data/standardized-region-list.xml +0 -0
- {cloudnetpy_qc-1.26.2 → cloudnetpy_qc-1.26.4}/cloudnetpy_qc/py.typed +0 -0
- {cloudnetpy_qc-1.26.2 → cloudnetpy_qc-1.26.4}/cloudnetpy_qc/utils.py +0 -0
- {cloudnetpy_qc-1.26.2 → cloudnetpy_qc-1.26.4}/cloudnetpy_qc/variables.py +0 -0
- {cloudnetpy_qc-1.26.2 → cloudnetpy_qc-1.26.4}/cloudnetpy_qc.egg-info/SOURCES.txt +0 -0
- {cloudnetpy_qc-1.26.2 → cloudnetpy_qc-1.26.4}/cloudnetpy_qc.egg-info/dependency_links.txt +0 -0
- {cloudnetpy_qc-1.26.2 → cloudnetpy_qc-1.26.4}/cloudnetpy_qc.egg-info/requires.txt +0 -0
- {cloudnetpy_qc-1.26.2 → cloudnetpy_qc-1.26.4}/cloudnetpy_qc.egg-info/top_level.txt +0 -0
- {cloudnetpy_qc-1.26.2 → cloudnetpy_qc-1.26.4}/pyproject.toml +0 -0
- {cloudnetpy_qc-1.26.2 → cloudnetpy_qc-1.26.4}/setup.cfg +0 -0
- {cloudnetpy_qc-1.26.2 → cloudnetpy_qc-1.26.4}/tests/test_qc.py +0 -0
- {cloudnetpy_qc-1.26.2 → cloudnetpy_qc-1.26.4}/tests/test_utils.py +0 -0
|
@@ -238,7 +238,7 @@ class FindVariableOutliers(Test):
|
|
|
238
238
|
if key == "height" and self.product == Product.CPR:
|
|
239
239
|
return None
|
|
240
240
|
if key == "air_pressure":
|
|
241
|
-
pressure = utils.calc_pressure(self.nc["altitude"][:])
|
|
241
|
+
pressure = utils.calc_pressure(np.mean(self.nc["altitude"][:]))
|
|
242
242
|
max_diff = pressure * 0.05
|
|
243
243
|
return (pressure - max_diff, pressure + max_diff)
|
|
244
244
|
if not DATA_CONFIG.has_option("limits", key):
|
|
@@ -455,6 +455,7 @@ class TestGlobalAttributes(Test):
|
|
|
455
455
|
and name in ("initialization_time", "institution")
|
|
456
456
|
)
|
|
457
457
|
or (self._instrument_product(product) and name == "serial_number")
|
|
458
|
+
or (product == Product.MWR_L1C and name in ("source_file_uuids",))
|
|
458
459
|
)
|
|
459
460
|
|
|
460
461
|
def run(self):
|
|
@@ -815,7 +816,7 @@ class TestCoordinates(Test):
|
|
|
815
816
|
|
|
816
817
|
def run(self):
|
|
817
818
|
required_vars = {"latitude", "longitude"}
|
|
818
|
-
if self.
|
|
819
|
+
if self.product != Product.MODEL and LEVELS[self.product] != "3":
|
|
819
820
|
required_vars.add("altitude")
|
|
820
821
|
for key in required_vars:
|
|
821
822
|
if key not in self.nc.variables:
|
|
@@ -891,7 +892,7 @@ class TestCoordinates(Test):
|
|
|
891
892
|
return np.array(naive_dt, dtype="datetime64[s]")
|
|
892
893
|
|
|
893
894
|
def _calc_max_dist(self, latitude, longitude):
|
|
894
|
-
if self.
|
|
895
|
+
if self.product == Product.MODEL:
|
|
895
896
|
mean_lat = np.mean(latitude)
|
|
896
897
|
mean_lon = np.mean(longitude)
|
|
897
898
|
angle = 1 # Model resolution should be at least 1 degrees.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cloudnetpy_qc-1.26.2 → cloudnetpy_qc-1.26.4}/cloudnetpy_qc/data/standardized-region-list.xml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|