cloudnetpy-qc 1.25.3__tar.gz → 1.25.5__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.25.3/cloudnetpy_qc.egg-info → cloudnetpy_qc-1.25.5}/PKG-INFO +1 -1
  2. {cloudnetpy_qc-1.25.3 → cloudnetpy_qc-1.25.5}/cloudnetpy_qc/quality.py +1 -1
  3. {cloudnetpy_qc-1.25.3 → cloudnetpy_qc-1.25.5}/cloudnetpy_qc/variables.py +5 -6
  4. {cloudnetpy_qc-1.25.3 → cloudnetpy_qc-1.25.5}/cloudnetpy_qc/version.py +1 -1
  5. {cloudnetpy_qc-1.25.3 → cloudnetpy_qc-1.25.5/cloudnetpy_qc.egg-info}/PKG-INFO +1 -1
  6. {cloudnetpy_qc-1.25.3 → cloudnetpy_qc-1.25.5}/LICENSE +0 -0
  7. {cloudnetpy_qc-1.25.3 → cloudnetpy_qc-1.25.5}/MANIFEST.in +0 -0
  8. {cloudnetpy_qc-1.25.3 → cloudnetpy_qc-1.25.5}/README.md +0 -0
  9. {cloudnetpy_qc-1.25.3 → cloudnetpy_qc-1.25.5}/cloudnetpy_qc/__init__.py +0 -0
  10. {cloudnetpy_qc-1.25.3 → cloudnetpy_qc-1.25.5}/cloudnetpy_qc/coverage.py +0 -0
  11. {cloudnetpy_qc-1.25.3 → cloudnetpy_qc-1.25.5}/cloudnetpy_qc/data/area-type-table.xml +0 -0
  12. {cloudnetpy_qc-1.25.3 → cloudnetpy_qc-1.25.5}/cloudnetpy_qc/data/cf-standard-name-table.xml +0 -0
  13. {cloudnetpy_qc-1.25.3 → cloudnetpy_qc-1.25.5}/cloudnetpy_qc/data/data_quality_config.ini +0 -0
  14. {cloudnetpy_qc-1.25.3 → cloudnetpy_qc-1.25.5}/cloudnetpy_qc/data/standardized-region-list.xml +0 -0
  15. {cloudnetpy_qc-1.25.3 → cloudnetpy_qc-1.25.5}/cloudnetpy_qc/py.typed +0 -0
  16. {cloudnetpy_qc-1.25.3 → cloudnetpy_qc-1.25.5}/cloudnetpy_qc/utils.py +0 -0
  17. {cloudnetpy_qc-1.25.3 → cloudnetpy_qc-1.25.5}/cloudnetpy_qc.egg-info/SOURCES.txt +0 -0
  18. {cloudnetpy_qc-1.25.3 → cloudnetpy_qc-1.25.5}/cloudnetpy_qc.egg-info/dependency_links.txt +0 -0
  19. {cloudnetpy_qc-1.25.3 → cloudnetpy_qc-1.25.5}/cloudnetpy_qc.egg-info/requires.txt +0 -0
  20. {cloudnetpy_qc-1.25.3 → cloudnetpy_qc-1.25.5}/cloudnetpy_qc.egg-info/top_level.txt +0 -0
  21. {cloudnetpy_qc-1.25.3 → cloudnetpy_qc-1.25.5}/pyproject.toml +0 -0
  22. {cloudnetpy_qc-1.25.3 → cloudnetpy_qc-1.25.5}/setup.cfg +0 -0
  23. {cloudnetpy_qc-1.25.3 → cloudnetpy_qc-1.25.5}/tests/test_qc.py +0 -0
  24. {cloudnetpy_qc-1.25.3 → cloudnetpy_qc-1.25.5}/tests/test_utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cloudnetpy_qc
3
- Version: 1.25.3
3
+ Version: 1.25.5
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
@@ -569,7 +569,7 @@ class TestIfRangeCorrected(Test):
569
569
  sgl_res = scipy.stats.siegelslopes(y, x)
570
570
  residuals = np.abs(y - (sgl_res.intercept + sgl_res.slope * x))
571
571
  outliers = residuals > 20 * np.percentile(
572
- residuals, 25
572
+ residuals.compressed(), 25
573
573
  ) # Ad hoc outlier detection
574
574
  res = scipy.stats.pearsonr(x[~outliers], y[~outliers])
575
575
  if res.statistic < 0.75:
@@ -159,12 +159,6 @@ VARIABLES = {
159
159
  units="K",
160
160
  required=[Product.WEATHER_STATION],
161
161
  ),
162
- "air_pressure": Variable(
163
- long_name="Air pressure",
164
- units="Pa",
165
- standard_name="air_pressure",
166
- required=[Product.WEATHER_STATION],
167
- ),
168
162
  "rainfall_amount": Variable(
169
163
  long_name="Rainfall amount",
170
164
  units="m",
@@ -1289,6 +1283,11 @@ VARIABLES = {
1289
1283
  "status_flag": Variable(
1290
1284
  long_name="Status flag for heater and blower",
1291
1285
  ),
1286
+ "air_pressure": Variable(
1287
+ long_name="Air pressure",
1288
+ units="Pa",
1289
+ standard_name="air_pressure",
1290
+ ),
1292
1291
  "wind_speed": Variable(
1293
1292
  long_name="Wind speed",
1294
1293
  standard_name="wind_speed",
@@ -2,5 +2,5 @@
2
2
 
3
3
  MAJOR = 1
4
4
  MINOR = 25
5
- PATCH = 3
5
+ PATCH = 5
6
6
  __version__ = f"{MAJOR}.{MINOR}.{PATCH}"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cloudnetpy_qc
3
- Version: 1.25.3
3
+ Version: 1.25.5
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
File without changes
File without changes
File without changes