cloudnetpy 1.66.0__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/plotting/plotting.py +9 -1
- cloudnetpy/version.py +1 -1
- {cloudnetpy-1.66.0.dist-info → cloudnetpy-1.66.2.dist-info}/METADATA +1 -1
- {cloudnetpy-1.66.0.dist-info → cloudnetpy-1.66.2.dist-info}/RECORD +8 -8
- {cloudnetpy-1.66.0.dist-info → cloudnetpy-1.66.2.dist-info}/LICENSE +0 -0
- {cloudnetpy-1.66.0.dist-info → cloudnetpy-1.66.2.dist-info}/WHEEL +0 -0
- {cloudnetpy-1.66.0.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/plotting/plotting.py
CHANGED
@@ -702,7 +702,15 @@ class Plot1D(Plot):
|
|
702
702
|
) -> None:
|
703
703
|
time = figure_data.time.copy()
|
704
704
|
data = self._data_orig.copy()
|
705
|
-
|
705
|
+
|
706
|
+
if figure_data.is_mwrpy_product() or self.sub_plot.variable.name in (
|
707
|
+
"tb",
|
708
|
+
"irt",
|
709
|
+
):
|
710
|
+
flags = self._read_flagged_data(figure_data)
|
711
|
+
else:
|
712
|
+
flags = np.array([])
|
713
|
+
|
706
714
|
if hacky_freq_ind is not None and np.any(flags):
|
707
715
|
flags = flags[:, hacky_freq_ind]
|
708
716
|
is_invalid = ma.getmaskarray(data)
|
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
|
@@ -100,7 +100,7 @@ cloudnetpy/model_evaluation/tests/unit/test_statistical_methods.py,sha256=Ra3r4V
|
|
100
100
|
cloudnetpy/model_evaluation/tests/unit/test_tools.py,sha256=Ia_VrLdV2NstX5gbx_3AZTOAlrgLAy_xFZ8fHYVX0xI,3817
|
101
101
|
cloudnetpy/plotting/__init__.py,sha256=lg9Smn4BI0dVBgnDLC3JVJ4GmwoSnO-qoSd4ApvwV6Y,107
|
102
102
|
cloudnetpy/plotting/plot_meta.py,sha256=ZvaKU3eXy1KFxQomnsEu3mCYpwwBYKAYk7oAwOzAGSg,16143
|
103
|
-
cloudnetpy/plotting/plotting.py,sha256=
|
103
|
+
cloudnetpy/plotting/plotting.py,sha256=MoZhO4uKUvNCvlDFnQ6zr81y0NeFLvsvM0MIPF5zeBw,35320
|
104
104
|
cloudnetpy/products/__init__.py,sha256=2hRb5HG9hNrxH1if5laJkLeFeaZCd5W1q3hh4ewsX0E,273
|
105
105
|
cloudnetpy/products/classification.py,sha256=AKb9GCatvhS5KR0c9LfN96nUvzi02175ZCQlvMH1Dws,8077
|
106
106
|
cloudnetpy/products/der.py,sha256=soypE7uSEP4uHUCCQVEhyXsKY6e9mzV9B_2S5GUizqk,12729
|
@@ -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
|