cloudnetpy 1.66.1__py3-none-any.whl → 1.66.2__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/disdrometer/thies.py +4 -4
- cloudnetpy/version.py +1 -1
- {cloudnetpy-1.66.1.dist-info → cloudnetpy-1.66.2.dist-info}/METADATA +1 -1
- {cloudnetpy-1.66.1.dist-info → cloudnetpy-1.66.2.dist-info}/RECORD +7 -7
- {cloudnetpy-1.66.1.dist-info → cloudnetpy-1.66.2.dist-info}/LICENSE +0 -0
- {cloudnetpy-1.66.1.dist-info → cloudnetpy-1.66.2.dist-info}/WHEEL +0 -0
- {cloudnetpy-1.66.1.dist-info → cloudnetpy-1.66.2.dist-info}/top_level.txt +0 -0
@@ -148,14 +148,14 @@ class Thies(Disdrometer):
|
|
148
148
|
self._convert_data(("T_laser_driver",), c_to_k, method="add")
|
149
149
|
|
150
150
|
def _read_data(self, filename: str | PathLike) -> None:
|
151
|
-
with open(filename) as file:
|
151
|
+
with open(filename, errors="ignore") as file:
|
152
152
|
first_line = file.readline()
|
153
153
|
if "TOA5" in first_line:
|
154
154
|
units, process, rows = read_toa5(filename)
|
155
155
|
for row in rows:
|
156
156
|
self._read_line(row["RawString"], row["TIMESTAMP"])
|
157
|
-
elif first_line.startswith("
|
158
|
-
with open(filename) as file:
|
157
|
+
elif first_line.lower().startswith("datetime [utc];"):
|
158
|
+
with open(filename, errors="ignore") as file:
|
159
159
|
first_line = file.readline()
|
160
160
|
for line in file:
|
161
161
|
timestamp, telegram = line.split(";", maxsplit=1)
|
@@ -165,7 +165,7 @@ class Thies(Disdrometer):
|
|
165
165
|
)
|
166
166
|
self._read_line(fixed_telegram, parsed_timestamp)
|
167
167
|
else:
|
168
|
-
with open(filename) as file:
|
168
|
+
with open(filename, errors="ignore") as file:
|
169
169
|
for line in file:
|
170
170
|
self._read_line(line)
|
171
171
|
if len(self.raw_data["time"]) == 0:
|
cloudnetpy/version.py
CHANGED
@@ -8,7 +8,7 @@ cloudnetpy/metadata.py,sha256=v_VDo2vbdTxB0zIsfP69IcrwSKiRlLpsGdq6JPI4CoA,5306
|
|
8
8
|
cloudnetpy/output.py,sha256=YrWRBEZg0QNZRVnd9ziAziH-eJSh7O5JuWiH4ZxM0_s,15584
|
9
9
|
cloudnetpy/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
10
10
|
cloudnetpy/utils.py,sha256=1gne8Qqa-e4CNNJMynWr4LVirGK0Be-KcskVZMD72ac,28621
|
11
|
-
cloudnetpy/version.py,sha256=
|
11
|
+
cloudnetpy/version.py,sha256=QNhVoqczSkHAVtreP1GvqhEji08PJijyS3ffL4FpI08,72
|
12
12
|
cloudnetpy/categorize/__init__.py,sha256=s-SJaysvVpVVo5kidiruWQO6p3gv2TXwY1wEHYO5D6I,44
|
13
13
|
cloudnetpy/categorize/atmos_utils.py,sha256=9-ymI6i1xASf-XAFyO87FaTfvq6bF89N1i_27OkUp-M,10104
|
14
14
|
cloudnetpy/categorize/attenuation.py,sha256=Y_-fzmQTltWTqIZTulJhovC7a6ifpMcaAazDJcnMIOc,990
|
@@ -57,7 +57,7 @@ cloudnetpy/instruments/weather_station.py,sha256=IJw3qdyXkJf10LOfxcpFqGNRN5ThgYf
|
|
57
57
|
cloudnetpy/instruments/disdrometer/__init__.py,sha256=lyjwttWvFvuwYxEkusoAvgRcbBmglmOp5HJOpXUqLWo,93
|
58
58
|
cloudnetpy/instruments/disdrometer/common.py,sha256=g52iK2aNp3Z88kovUmGVpC54NZomPa9D871gzO0AmQ4,9267
|
59
59
|
cloudnetpy/instruments/disdrometer/parsivel.py,sha256=HJZrEysQkx9MiIVPDV25CYHpXi_SjgZlgO-otoaKK34,25640
|
60
|
-
cloudnetpy/instruments/disdrometer/thies.py,sha256=
|
60
|
+
cloudnetpy/instruments/disdrometer/thies.py,sha256=xePvkLdQbptPDe8yZHCHoYblVg4FDbhtH7AE32lEkcE,10676
|
61
61
|
cloudnetpy/model_evaluation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
62
62
|
cloudnetpy/model_evaluation/file_handler.py,sha256=jnpTxwxLSZdt08By0cjFDmq1KWC4fhJaN_MfjgA8ijQ,6440
|
63
63
|
cloudnetpy/model_evaluation/metadata.py,sha256=PAsnOqcUoV3CJwplgWiVCF9Zt4io8tqj7CIgS4fEL-8,8412
|
@@ -114,8 +114,8 @@ cloudnetpy/products/mie_lu_tables.nc,sha256=It4fYpqJXlqOgL8jeZ-PxGzP08PMrELIDVe5
|
|
114
114
|
cloudnetpy/products/mwr_tools.py,sha256=rd7UC67O4fsIE5SaHVZ4qWvUJTj41ZGwgQWPwZzOM14,5377
|
115
115
|
cloudnetpy/products/product_tools.py,sha256=01Zc6xV8CSuYcIcLpchFf5POL3_c629-YMNDZJ51udA,10853
|
116
116
|
docs/source/conf.py,sha256=IKiFWw6xhUd8NrCg0q7l596Ck1d61XWeVjIFHVSG9Og,1490
|
117
|
-
cloudnetpy-1.66.
|
118
|
-
cloudnetpy-1.66.
|
119
|
-
cloudnetpy-1.66.
|
120
|
-
cloudnetpy-1.66.
|
121
|
-
cloudnetpy-1.66.
|
117
|
+
cloudnetpy-1.66.2.dist-info/LICENSE,sha256=wcZF72bdaoG9XugpyE95Juo7lBQOwLuTKBOhhtANZMM,1094
|
118
|
+
cloudnetpy-1.66.2.dist-info/METADATA,sha256=0AHK4Y0_sA73jUp9MTRFixzP4dp5nX_SXm-IJrA3jZM,5784
|
119
|
+
cloudnetpy-1.66.2.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
120
|
+
cloudnetpy-1.66.2.dist-info/top_level.txt,sha256=ibSPWRr6ojS1i11rtBFz2_gkIe68mggj7aeswYfaOo0,16
|
121
|
+
cloudnetpy-1.66.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|