cloudnetpy-qc 1.24.1__tar.gz → 1.24.3__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 (23) hide show
  1. {cloudnetpy_qc-1.24.1/cloudnetpy_qc.egg-info → cloudnetpy_qc-1.24.3}/PKG-INFO +1 -1
  2. {cloudnetpy_qc-1.24.1 → cloudnetpy_qc-1.24.3}/cloudnetpy_qc/data/data_quality_config.ini +1 -1
  3. {cloudnetpy_qc-1.24.1 → cloudnetpy_qc-1.24.3}/cloudnetpy_qc/quality.py +2 -1
  4. {cloudnetpy_qc-1.24.1 → cloudnetpy_qc-1.24.3}/cloudnetpy_qc/version.py +1 -1
  5. {cloudnetpy_qc-1.24.1 → cloudnetpy_qc-1.24.3/cloudnetpy_qc.egg-info}/PKG-INFO +1 -1
  6. {cloudnetpy_qc-1.24.1 → cloudnetpy_qc-1.24.3}/LICENSE +0 -0
  7. {cloudnetpy_qc-1.24.1 → cloudnetpy_qc-1.24.3}/MANIFEST.in +0 -0
  8. {cloudnetpy_qc-1.24.1 → cloudnetpy_qc-1.24.3}/README.md +0 -0
  9. {cloudnetpy_qc-1.24.1 → cloudnetpy_qc-1.24.3}/cloudnetpy_qc/__init__.py +0 -0
  10. {cloudnetpy_qc-1.24.1 → cloudnetpy_qc-1.24.3}/cloudnetpy_qc/data/area-type-table.xml +0 -0
  11. {cloudnetpy_qc-1.24.1 → cloudnetpy_qc-1.24.3}/cloudnetpy_qc/data/cf-standard-name-table.xml +0 -0
  12. {cloudnetpy_qc-1.24.1 → cloudnetpy_qc-1.24.3}/cloudnetpy_qc/data/standardized-region-list.xml +0 -0
  13. {cloudnetpy_qc-1.24.1 → cloudnetpy_qc-1.24.3}/cloudnetpy_qc/py.typed +0 -0
  14. {cloudnetpy_qc-1.24.1 → cloudnetpy_qc-1.24.3}/cloudnetpy_qc/utils.py +0 -0
  15. {cloudnetpy_qc-1.24.1 → cloudnetpy_qc-1.24.3}/cloudnetpy_qc/variables.py +0 -0
  16. {cloudnetpy_qc-1.24.1 → cloudnetpy_qc-1.24.3}/cloudnetpy_qc.egg-info/SOURCES.txt +0 -0
  17. {cloudnetpy_qc-1.24.1 → cloudnetpy_qc-1.24.3}/cloudnetpy_qc.egg-info/dependency_links.txt +0 -0
  18. {cloudnetpy_qc-1.24.1 → cloudnetpy_qc-1.24.3}/cloudnetpy_qc.egg-info/requires.txt +0 -0
  19. {cloudnetpy_qc-1.24.1 → cloudnetpy_qc-1.24.3}/cloudnetpy_qc.egg-info/top_level.txt +0 -0
  20. {cloudnetpy_qc-1.24.1 → cloudnetpy_qc-1.24.3}/pyproject.toml +0 -0
  21. {cloudnetpy_qc-1.24.1 → cloudnetpy_qc-1.24.3}/setup.cfg +0 -0
  22. {cloudnetpy_qc-1.24.1 → cloudnetpy_qc-1.24.3}/tests/test_qc.py +0 -0
  23. {cloudnetpy_qc-1.24.1 → cloudnetpy_qc-1.24.3}/tests/test_utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cloudnetpy_qc
3
- Version: 1.24.1
3
+ Version: 1.24.3
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
@@ -39,7 +39,7 @@ detection_status = 0, 9
39
39
  height = -420, 100000
40
40
  time = 0, 24
41
41
  latitude = -90, 90
42
- longitude = -180, 360
42
+ longitude = -180, 180
43
43
  altitude = -430, 6000
44
44
  cloud_base_height_agl = 0, 20000
45
45
  cloud_top_height_agl = 0, 20000
@@ -842,6 +842,7 @@ class TestCoordinates(Test):
842
842
  site_lon = self.site_meta["longitude"]
843
843
  file_lat = np.atleast_1d(self.nc["latitude"][:])
844
844
  file_lon = np.atleast_1d(self.nc["longitude"][:])
845
+ file_lon[file_lon > 180] -= 360
845
846
  dist = utils.haversine(site_lat, site_lon, file_lat, file_lon)
846
847
  i = np.argmax(dist)
847
848
  max_dist = 100 if self.nc.cloudnet_file_type == "model" else 10
@@ -850,7 +851,7 @@ class TestCoordinates(Test):
850
851
  f"Variables 'latitude' and 'longitude' do not match "
851
852
  f"the site coordinates: "
852
853
  f"expected ({site_lat:.3f},\u00a0{site_lon:.3f}) "
853
- f"but received ({file_lat[i]:.3f},\u00a0{file_lon[i]:.3}), "
854
+ f"but received ({file_lat[i]:.3f},\u00a0{file_lon[i]:.3f}), "
854
855
  f"distance {round(dist[i])}\u00a0km"
855
856
  )
856
857
 
@@ -2,5 +2,5 @@
2
2
 
3
3
  MAJOR = 1
4
4
  MINOR = 24
5
- PATCH = 1
5
+ PATCH = 3
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.24.1
3
+ Version: 1.24.3
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