cloudnetpy 1.66.15__py3-none-any.whl → 1.66.16__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/instruments/pollyxt.py +7 -3
- cloudnetpy/version.py +1 -1
- {cloudnetpy-1.66.15.dist-info → cloudnetpy-1.66.16.dist-info}/METADATA +1 -1
- {cloudnetpy-1.66.15.dist-info → cloudnetpy-1.66.16.dist-info}/RECORD +8 -8
- {cloudnetpy-1.66.15.dist-info → cloudnetpy-1.66.16.dist-info}/LICENSE +0 -0
- {cloudnetpy-1.66.15.dist-info → cloudnetpy-1.66.16.dist-info}/WHEEL +0 -0
- {cloudnetpy-1.66.15.dist-info → cloudnetpy-1.66.16.dist-info}/entry_points.txt +0 -0
- {cloudnetpy-1.66.15.dist-info → cloudnetpy-1.66.16.dist-info}/top_level.txt +0 -0
@@ -6,7 +6,7 @@ import logging
|
|
6
6
|
import netCDF4
|
7
7
|
import numpy as np
|
8
8
|
from numpy import ma
|
9
|
-
from numpy.testing import
|
9
|
+
from numpy.testing import assert_almost_equal
|
10
10
|
|
11
11
|
from cloudnetpy import output, utils
|
12
12
|
from cloudnetpy.exceptions import InconsistentDataError, ValidTimeStampError
|
@@ -190,7 +190,9 @@ def _read_array_from_multiple_files(files1: list, files2: list, key) -> np.ndarr
|
|
190
190
|
array1 = _read_array_from_file_pair(nc1, nc2, key)
|
191
191
|
if ind == 0:
|
192
192
|
array = array1
|
193
|
-
|
193
|
+
assert_almost_equal(
|
194
|
+
array, array1, err_msg=f"Inconsistent variable '{key}'", decimal=2
|
195
|
+
)
|
194
196
|
return np.array(array)
|
195
197
|
|
196
198
|
|
@@ -201,7 +203,9 @@ def _read_array_from_file_pair(
|
|
201
203
|
) -> np.ndarray:
|
202
204
|
array1 = nc_file1.variables[key][:]
|
203
205
|
array2 = nc_file2.variables[key][:]
|
204
|
-
|
206
|
+
assert_almost_equal(
|
207
|
+
array1, array2, err_msg=f"Inconsistent variable '{key}'", decimal=2
|
208
|
+
)
|
205
209
|
return array1
|
206
210
|
|
207
211
|
|
cloudnetpy/version.py
CHANGED
@@ -9,7 +9,7 @@ cloudnetpy/metadata.py,sha256=DOGt7EQLS-AVJEszrUrpXr3gHVQv655FzeCzKrOPvoU,5477
|
|
9
9
|
cloudnetpy/output.py,sha256=lq4YSeMT_d-j4rlQkKm9KIZ8boupTBBBKV1eUawpmCI,15672
|
10
10
|
cloudnetpy/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
11
11
|
cloudnetpy/utils.py,sha256=JksYOwf9ORiR_QpoKrTe1JJwXpPYJj-wlwaZKCHoh3o,29744
|
12
|
-
cloudnetpy/version.py,sha256=
|
12
|
+
cloudnetpy/version.py,sha256=eHl2AuLZQX2QkNhffKVbnwbtG_WTP5AnXh-UB2mXFyM,73
|
13
13
|
cloudnetpy/categorize/__init__.py,sha256=s-SJaysvVpVVo5kidiruWQO6p3gv2TXwY1wEHYO5D6I,44
|
14
14
|
cloudnetpy/categorize/atmos_utils.py,sha256=9-ymI6i1xASf-XAFyO87FaTfvq6bF89N1i_27OkUp-M,10104
|
15
15
|
cloudnetpy/categorize/attenuation.py,sha256=Y_-fzmQTltWTqIZTulJhovC7a6ifpMcaAazDJcnMIOc,990
|
@@ -48,7 +48,7 @@ cloudnetpy/instruments/mira.py,sha256=f679zjmIxLVVtUVSMeO5IWbEdaj6qOJu5Gf9MKQJSL
|
|
48
48
|
cloudnetpy/instruments/mrr.py,sha256=eeAzCp3CiHGauywjwvMUAFwZ4vBOZMcd3IlF8KsrLQo,5711
|
49
49
|
cloudnetpy/instruments/nc_lidar.py,sha256=5gQG9PApnNPrHmS9_zanl8HEYIQuGRpbnzC3wfTcOyQ,1705
|
50
50
|
cloudnetpy/instruments/nc_radar.py,sha256=dbhfI0uLNjDIQqg6RRCTGuInLjv_OC-43wvVV28gJYE,7189
|
51
|
-
cloudnetpy/instruments/pollyxt.py,sha256=
|
51
|
+
cloudnetpy/instruments/pollyxt.py,sha256=lkiBu8ChvLd86eCkeIGxHKwraeDQFuVSgCVlsAYTYN8,9010
|
52
52
|
cloudnetpy/instruments/radiometrics.py,sha256=ySG4a042XkgjMTG8d20oAPNvFvw9bMwwiqS3zv-JF_w,11825
|
53
53
|
cloudnetpy/instruments/rpg.py,sha256=IozvBJ8_qXTPqtp58FQwRsoI5_aI3-kycpXugZkS0d4,17462
|
54
54
|
cloudnetpy/instruments/rpg_reader.py,sha256=ThztFuVrWxhmWVAfZTfQDeUiKK1XMTbtv08IBe8GK98,11364
|
@@ -115,9 +115,9 @@ cloudnetpy/products/mie_lu_tables.nc,sha256=It4fYpqJXlqOgL8jeZ-PxGzP08PMrELIDVe5
|
|
115
115
|
cloudnetpy/products/mwr_tools.py,sha256=rd7UC67O4fsIE5SaHVZ4qWvUJTj41ZGwgQWPwZzOM14,5377
|
116
116
|
cloudnetpy/products/product_tools.py,sha256=01Zc6xV8CSuYcIcLpchFf5POL3_c629-YMNDZJ51udA,10853
|
117
117
|
docs/source/conf.py,sha256=IKiFWw6xhUd8NrCg0q7l596Ck1d61XWeVjIFHVSG9Og,1490
|
118
|
-
cloudnetpy-1.66.
|
119
|
-
cloudnetpy-1.66.
|
120
|
-
cloudnetpy-1.66.
|
121
|
-
cloudnetpy-1.66.
|
122
|
-
cloudnetpy-1.66.
|
123
|
-
cloudnetpy-1.66.
|
118
|
+
cloudnetpy-1.66.16.dist-info/LICENSE,sha256=wcZF72bdaoG9XugpyE95Juo7lBQOwLuTKBOhhtANZMM,1094
|
119
|
+
cloudnetpy-1.66.16.dist-info/METADATA,sha256=-1JjOwxS5yjpcgomZnjK0GP5D8YWeD2HwgKtwwA7l2o,5806
|
120
|
+
cloudnetpy-1.66.16.dist-info/WHEEL,sha256=R06PA3UVYHThwHvxuRWMqaGcr-PuniXahwjmQRFMEkY,91
|
121
|
+
cloudnetpy-1.66.16.dist-info/entry_points.txt,sha256=HhY7LwCFk4qFgDlXx_Fy983ZTd831WlhtdPIzV-Y3dY,51
|
122
|
+
cloudnetpy-1.66.16.dist-info/top_level.txt,sha256=ibSPWRr6ojS1i11rtBFz2_gkIe68mggj7aeswYfaOo0,16
|
123
|
+
cloudnetpy-1.66.16.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|