cloudnetpy 1.66.8__py3-none-any.whl → 1.66.9__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/cloudnet_instrument.py +8 -3
- cloudnetpy/version.py +1 -1
- {cloudnetpy-1.66.8.dist-info → cloudnetpy-1.66.9.dist-info}/METADATA +1 -1
- {cloudnetpy-1.66.8.dist-info → cloudnetpy-1.66.9.dist-info}/RECORD +8 -8
- {cloudnetpy-1.66.8.dist-info → cloudnetpy-1.66.9.dist-info}/LICENSE +0 -0
- {cloudnetpy-1.66.8.dist-info → cloudnetpy-1.66.9.dist-info}/WHEEL +0 -0
- {cloudnetpy-1.66.8.dist-info → cloudnetpy-1.66.9.dist-info}/entry_points.txt +0 -0
- {cloudnetpy-1.66.8.dist-info → cloudnetpy-1.66.9.dist-info}/top_level.txt +0 -0
@@ -78,11 +78,16 @@ class CloudnetInstrument:
|
|
78
78
|
self.screen_time_indices(ind)
|
79
79
|
|
80
80
|
def screen_time_indices(self, valid_indices: list | np.ndarray) -> None:
|
81
|
-
if len(valid_indices) == 0:
|
82
|
-
msg = "All timestamps screened"
|
83
|
-
raise ValidTimeStampError(msg)
|
84
81
|
time = self._get_time()
|
85
82
|
n_time = len(time)
|
83
|
+
if len(valid_indices) == 0 or (
|
84
|
+
isinstance(valid_indices, np.ndarray)
|
85
|
+
and valid_indices.dtype == np.bool_
|
86
|
+
and valid_indices.shape == time.shape
|
87
|
+
and not np.any(valid_indices)
|
88
|
+
):
|
89
|
+
msg = "All timestamps screened"
|
90
|
+
raise ValidTimeStampError(msg)
|
86
91
|
for cloudnet_array in self.data.values():
|
87
92
|
array = cloudnet_array.data
|
88
93
|
if not utils.isscalar(array) and array.shape[0] == n_time:
|
cloudnetpy/version.py
CHANGED
@@ -9,7 +9,7 @@ cloudnetpy/metadata.py,sha256=v_VDo2vbdTxB0zIsfP69IcrwSKiRlLpsGdq6JPI4CoA,5306
|
|
9
9
|
cloudnetpy/output.py,sha256=YrWRBEZg0QNZRVnd9ziAziH-eJSh7O5JuWiH4ZxM0_s,15584
|
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=eGHO2AbKi3JQ5GdwZHIh84-p5tlhwtW5YWdBX7wD01k,72
|
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
|
@@ -38,7 +38,7 @@ cloudnetpy/instruments/campbell_scientific.py,sha256=2WHfBKQjtRSl0AqvtPeX7G8Hdi3
|
|
38
38
|
cloudnetpy/instruments/ceilo.py,sha256=xrI7iYNftKvGZf-3C_ESUNsu-QhXV43iWkDuKp3biZU,9552
|
39
39
|
cloudnetpy/instruments/ceilometer.py,sha256=pdmLVljsuciyKpaGxWxJ_f1IrJK-UrkBC0lSeuirLlU,12095
|
40
40
|
cloudnetpy/instruments/cl61d.py,sha256=g6DNBFju3wYhLFl32DKmC8pUup7y-EupXoUU0fuoGGA,1990
|
41
|
-
cloudnetpy/instruments/cloudnet_instrument.py,sha256=
|
41
|
+
cloudnetpy/instruments/cloudnet_instrument.py,sha256=6qQSyQXHBTdOvzqTxOXtx6RYDm7vLVcwNYTx1nV_kM8,3885
|
42
42
|
cloudnetpy/instruments/copernicus.py,sha256=nmgqGOjVQFngj7BNbpcuCwA-W3yksvBbqn__iq7MyDk,6469
|
43
43
|
cloudnetpy/instruments/galileo.py,sha256=yQBedd7dmDnwuWi1MtXOsg4-RyRx0uRAXumCY4YuH9k,4686
|
44
44
|
cloudnetpy/instruments/hatpro.py,sha256=DzCWzTJxTc5BSOgoeyM8RjYkSXX6NDi3QXgKRp0uxlI,8759
|
@@ -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.9.dist-info/LICENSE,sha256=wcZF72bdaoG9XugpyE95Juo7lBQOwLuTKBOhhtANZMM,1094
|
119
|
+
cloudnetpy-1.66.9.dist-info/METADATA,sha256=vLli5wX1smDF8MGgarsPFZk-enlO140iiwd228aiMLs,5784
|
120
|
+
cloudnetpy-1.66.9.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
|
121
|
+
cloudnetpy-1.66.9.dist-info/entry_points.txt,sha256=HhY7LwCFk4qFgDlXx_Fy983ZTd831WlhtdPIzV-Y3dY,51
|
122
|
+
cloudnetpy-1.66.9.dist-info/top_level.txt,sha256=ibSPWRr6ojS1i11rtBFz2_gkIe68mggj7aeswYfaOo0,16
|
123
|
+
cloudnetpy-1.66.9.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|