cloudnetpy 1.86.7__py3-none-any.whl → 1.86.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.
Potentially problematic release.
This version of cloudnetpy might be problematic. Click here for more details.
- cloudnetpy/concat_lib.py +4 -0
- cloudnetpy/instruments/vaisala.py +3 -0
- cloudnetpy/version.py +1 -1
- {cloudnetpy-1.86.7.dist-info → cloudnetpy-1.86.9.dist-info}/METADATA +1 -1
- {cloudnetpy-1.86.7.dist-info → cloudnetpy-1.86.9.dist-info}/RECORD +9 -9
- {cloudnetpy-1.86.7.dist-info → cloudnetpy-1.86.9.dist-info}/WHEEL +0 -0
- {cloudnetpy-1.86.7.dist-info → cloudnetpy-1.86.9.dist-info}/entry_points.txt +0 -0
- {cloudnetpy-1.86.7.dist-info → cloudnetpy-1.86.9.dist-info}/licenses/LICENSE +0 -0
- {cloudnetpy-1.86.7.dist-info → cloudnetpy-1.86.9.dist-info}/top_level.txt +0 -0
cloudnetpy/concat_lib.py
CHANGED
|
@@ -16,6 +16,7 @@ from numpy import ma
|
|
|
16
16
|
from typing_extensions import Self
|
|
17
17
|
|
|
18
18
|
from cloudnetpy import utils
|
|
19
|
+
from cloudnetpy.exceptions import ValidTimeStampError
|
|
19
20
|
|
|
20
21
|
|
|
21
22
|
def truncate_netcdf_file(
|
|
@@ -138,6 +139,9 @@ class _Concat:
|
|
|
138
139
|
[Path(filename) for filename in filenames if self._is_valid_file(filename)],
|
|
139
140
|
key=lambda f: f.name,
|
|
140
141
|
)
|
|
142
|
+
if not self.filenames:
|
|
143
|
+
msg = "No valid files to concatenate."
|
|
144
|
+
raise ValidTimeStampError(msg)
|
|
141
145
|
self.first_filename = self.filenames[0]
|
|
142
146
|
self.first_file = netCDF4.Dataset(self.first_filename)
|
|
143
147
|
self.concatenated_file = self._init_output_file(output_file)
|
|
@@ -34,6 +34,9 @@ class VaisalaCeilo(Ceilometer):
|
|
|
34
34
|
def read_ceilometer_file(self, calibration_factor: float | None = None) -> None:
|
|
35
35
|
"""Read all lines of data from the file."""
|
|
36
36
|
time, data = self.reader(self.full_path)
|
|
37
|
+
if not data:
|
|
38
|
+
msg = "No valid data found."
|
|
39
|
+
raise ValidTimeStampError(msg)
|
|
37
40
|
range_res = data[0].range_resolution
|
|
38
41
|
n_gates = len(data[0].beta)
|
|
39
42
|
self.data["time"] = np.array(time)
|
cloudnetpy/version.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
cloudnetpy/__init__.py,sha256=X_FqY-4yg5GUj5Edo14SToLEos6JIsC3fN-v1FUgQoA,43
|
|
2
2
|
cloudnetpy/cli.py,sha256=kG48AI5wNK9MfxiUsQPiz56BQLgAZ3AyN0ehUO6MyuI,20892
|
|
3
3
|
cloudnetpy/cloudnetarray.py,sha256=I_U1W2rEXw8lbLwg3XBrr_qHGPqhQG9z_ouvVEg7p24,4908
|
|
4
|
-
cloudnetpy/concat_lib.py,sha256=
|
|
4
|
+
cloudnetpy/concat_lib.py,sha256=Bl_wcD98gKBS1OzALScoui9vKVQYDrt0C-L40_5txAE,13874
|
|
5
5
|
cloudnetpy/constants.py,sha256=YnoSzZm35NDooJfhlulSJBc7g0eSchT3yGytRaTaJEI,845
|
|
6
6
|
cloudnetpy/datasource.py,sha256=EMJ4UHD8Z-JJ9Q82S7RgU1I2q4Z0RcBzBMKUAIwnZBI,6356
|
|
7
7
|
cloudnetpy/exceptions.py,sha256=ZB3aUwjVRznR0CcZ5sZHrB0yz13URDf52Ksv7G7C7EA,1817
|
|
@@ -9,7 +9,7 @@ cloudnetpy/metadata.py,sha256=qqLXSUVhIi6H_Z1zlfXeEkc9qBqA1XO-UwsCVxjIcfk,7317
|
|
|
9
9
|
cloudnetpy/output.py,sha256=NpuxmtLk2JLTdubCupdL4rFbx30YqgeU6vwAe_v8thc,15133
|
|
10
10
|
cloudnetpy/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
11
|
cloudnetpy/utils.py,sha256=9MMYok1A7oJS2XBkIFhaiDWt_MYLo8tLzF3_880masM,34321
|
|
12
|
-
cloudnetpy/version.py,sha256=
|
|
12
|
+
cloudnetpy/version.py,sha256=OVZSK3DAo_CyfehAxoFum9zDUWxm7lRTTWpBwISmvGw,72
|
|
13
13
|
cloudnetpy/categorize/__init__.py,sha256=gtvzWr0IDRn2oA6yHBvinEhTGTuub-JkrOv93lBsgrE,61
|
|
14
14
|
cloudnetpy/categorize/atmos_utils.py,sha256=uWc9TABVYPI0sn4H5Az9Jf6NVRaWyEKIi17f0pAJQxE,10679
|
|
15
15
|
cloudnetpy/categorize/attenuation.py,sha256=Y_-fzmQTltWTqIZTulJhovC7a6ifpMcaAazDJcnMIOc,990
|
|
@@ -56,7 +56,7 @@ cloudnetpy/instruments/rain_e_h3.py,sha256=fjv3SgeUNx9GisYqLrBnX9AjnO17VtouyoPh1
|
|
|
56
56
|
cloudnetpy/instruments/rpg.py,sha256=LmvViLSevzjR2HmkP6MCHHDzafpTWoCvw7GaaEC37s0,21029
|
|
57
57
|
cloudnetpy/instruments/rpg_reader.py,sha256=EcsUUyKNiZ-kEEz48zibs-uXH7CMNpedqlrfWOY4Dks,11899
|
|
58
58
|
cloudnetpy/instruments/toa5.py,sha256=CfmmBMv5iMGaWHIGBK01Rw24cuXC1R1RMNTXkmsm340,1760
|
|
59
|
-
cloudnetpy/instruments/vaisala.py,sha256=
|
|
59
|
+
cloudnetpy/instruments/vaisala.py,sha256=9YXEYDB75TerslOsSYqYLPybTE1GW6SQrFs3h_A6jbk,4830
|
|
60
60
|
cloudnetpy/instruments/weather_station.py,sha256=mgjTBaJtevW_c3sv_-9jyFo5HXF-eeegXzbHBttxRyg,28845
|
|
61
61
|
cloudnetpy/instruments/disdrometer/__init__.py,sha256=lyjwttWvFvuwYxEkusoAvgRcbBmglmOp5HJOpXUqLWo,93
|
|
62
62
|
cloudnetpy/instruments/disdrometer/common.py,sha256=WCPRCfAlElUzZpllOSjjWrLG2jgkiRIy0rWz_omFoJQ,10815
|
|
@@ -118,10 +118,10 @@ cloudnetpy/products/lwc.py,sha256=xsNiiG6dGKIkWaFk0xWTabc1bZ4ULf6SqcqHs7itAUk,19
|
|
|
118
118
|
cloudnetpy/products/mie_lu_tables.nc,sha256=It4fYpqJXlqOgL8jeZ-PxGzP08PMrELIDVe55y9ob58,16637951
|
|
119
119
|
cloudnetpy/products/mwr_tools.py,sha256=MMWnp68U7bv157-CPB2VeTQvaR6zl7sexbBT_kJ_pn8,6734
|
|
120
120
|
cloudnetpy/products/product_tools.py,sha256=eyqIw_0KhlpmmYQE69RpGdRIAOW7JVPlEgkTBp2kdps,11302
|
|
121
|
-
cloudnetpy-1.86.
|
|
121
|
+
cloudnetpy-1.86.9.dist-info/licenses/LICENSE,sha256=wcZF72bdaoG9XugpyE95Juo7lBQOwLuTKBOhhtANZMM,1094
|
|
122
122
|
docs/source/conf.py,sha256=IKiFWw6xhUd8NrCg0q7l596Ck1d61XWeVjIFHVSG9Og,1490
|
|
123
|
-
cloudnetpy-1.86.
|
|
124
|
-
cloudnetpy-1.86.
|
|
125
|
-
cloudnetpy-1.86.
|
|
126
|
-
cloudnetpy-1.86.
|
|
127
|
-
cloudnetpy-1.86.
|
|
123
|
+
cloudnetpy-1.86.9.dist-info/METADATA,sha256=s5RuDk81uDRQulZoaZSgegdk4V4rowyHyP1Z-uNpkCs,5836
|
|
124
|
+
cloudnetpy-1.86.9.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
125
|
+
cloudnetpy-1.86.9.dist-info/entry_points.txt,sha256=HhY7LwCFk4qFgDlXx_Fy983ZTd831WlhtdPIzV-Y3dY,51
|
|
126
|
+
cloudnetpy-1.86.9.dist-info/top_level.txt,sha256=ibSPWRr6ojS1i11rtBFz2_gkIe68mggj7aeswYfaOo0,16
|
|
127
|
+
cloudnetpy-1.86.9.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|