cloudnetpy 1.81.0__py3-none-any.whl → 1.81.1__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/weather_station.py +6 -2
- cloudnetpy/version.py +1 -1
- {cloudnetpy-1.81.0.dist-info → cloudnetpy-1.81.1.dist-info}/METADATA +2 -2
- {cloudnetpy-1.81.0.dist-info → cloudnetpy-1.81.1.dist-info}/RECORD +8 -8
- {cloudnetpy-1.81.0.dist-info → cloudnetpy-1.81.1.dist-info}/WHEEL +0 -0
- {cloudnetpy-1.81.0.dist-info → cloudnetpy-1.81.1.dist-info}/entry_points.txt +0 -0
- {cloudnetpy-1.81.0.dist-info → cloudnetpy-1.81.1.dist-info}/licenses/LICENSE +0 -0
- {cloudnetpy-1.81.0.dist-info → cloudnetpy-1.81.1.dist-info}/top_level.txt +0 -0
@@ -101,8 +101,12 @@ class WS(CSVFile):
|
|
101
101
|
def calculate_rainfall_amount(self) -> None:
|
102
102
|
if "rainfall_amount" in self.data or "rainfall_rate" not in self.data:
|
103
103
|
return
|
104
|
-
|
105
|
-
|
104
|
+
time = self.data["time"].data
|
105
|
+
if len(time) == 1:
|
106
|
+
rainfall_amount = np.array([0])
|
107
|
+
else:
|
108
|
+
resolution = np.median(np.diff(time)) * SEC_IN_HOUR
|
109
|
+
rainfall_amount = ma.cumsum(self.data["rainfall_rate"].data * resolution)
|
106
110
|
self.data["rainfall_amount"] = CloudnetArray(rainfall_amount, "rainfall_amount")
|
107
111
|
|
108
112
|
def screen_timestamps(self, date: datetime.date) -> None:
|
cloudnetpy/version.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: cloudnetpy
|
3
|
-
Version: 1.81.
|
3
|
+
Version: 1.81.1
|
4
4
|
Summary: Python package for Cloudnet processing
|
5
5
|
Author: Simo Tukiainen
|
6
6
|
License: MIT License
|
@@ -41,7 +41,7 @@ License-File: LICENSE
|
|
41
41
|
Requires-Dist: ceilopyter>=0.2.0
|
42
42
|
Requires-Dist: doppy>=0.5.0
|
43
43
|
Requires-Dist: matplotlib
|
44
|
-
Requires-Dist: mwrpy>=1.3.
|
44
|
+
Requires-Dist: mwrpy>=1.3.5
|
45
45
|
Requires-Dist: netCDF4
|
46
46
|
Requires-Dist: requests
|
47
47
|
Requires-Dist: rpgpy>=0.14.5
|
@@ -9,7 +9,7 @@ cloudnetpy/metadata.py,sha256=CFpXmdEkVPzvLPv2xHIR-aMMQ-TR26KfESYw-98j7sk,7213
|
|
9
9
|
cloudnetpy/output.py,sha256=bUp13wv5TVtfZ-wBPU_n2qvWZa-PviozrVUhJnonbYE,14830
|
10
10
|
cloudnetpy/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
11
11
|
cloudnetpy/utils.py,sha256=7PHfJo9iLMdePwEApLfYH4XiVC9DhlFQMdQTxesZylA,31797
|
12
|
-
cloudnetpy/version.py,sha256=
|
12
|
+
cloudnetpy/version.py,sha256=chZph3CTTre3rPSQC__At9-AeitrZwYJ91usZPqrzko,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/rpg.py,sha256=R1rUdeSADvB1IMkGOF1S0rUEJDGEI_19SPrmErZpn5M
|
|
56
56
|
cloudnetpy/instruments/rpg_reader.py,sha256=VbF5MN94Bmxo6DTDoUUdRd7s-S1YmvFmum4ztc7KN2g,11539
|
57
57
|
cloudnetpy/instruments/toa5.py,sha256=CfmmBMv5iMGaWHIGBK01Rw24cuXC1R1RMNTXkmsm340,1760
|
58
58
|
cloudnetpy/instruments/vaisala.py,sha256=tu7aljkMKep0uCWz-Sd-GuBXF_Yy421a4nHy0ffpMoc,4725
|
59
|
-
cloudnetpy/instruments/weather_station.py,sha256=
|
59
|
+
cloudnetpy/instruments/weather_station.py,sha256=dRI5iN6I6lZ3zNeX4hgJly2qaieDQKCRs50bOkcGL5k,27119
|
60
60
|
cloudnetpy/instruments/disdrometer/__init__.py,sha256=lyjwttWvFvuwYxEkusoAvgRcbBmglmOp5HJOpXUqLWo,93
|
61
61
|
cloudnetpy/instruments/disdrometer/common.py,sha256=WCPRCfAlElUzZpllOSjjWrLG2jgkiRIy0rWz_omFoJQ,10815
|
62
62
|
cloudnetpy/instruments/disdrometer/parsivel.py,sha256=1HIA52f1nGOvSd4SSTr2y3-JT3eKZWwdbMnIMRVvQ_U,25811
|
@@ -117,10 +117,10 @@ cloudnetpy/products/lwc.py,sha256=xsNiiG6dGKIkWaFk0xWTabc1bZ4ULf6SqcqHs7itAUk,19
|
|
117
117
|
cloudnetpy/products/mie_lu_tables.nc,sha256=It4fYpqJXlqOgL8jeZ-PxGzP08PMrELIDVe55y9ob58,16637951
|
118
118
|
cloudnetpy/products/mwr_tools.py,sha256=ZIpeeH3qYPrujmITMtnS8H8PfQIPWJYlz4AdaUSSs28,6452
|
119
119
|
cloudnetpy/products/product_tools.py,sha256=eyqIw_0KhlpmmYQE69RpGdRIAOW7JVPlEgkTBp2kdps,11302
|
120
|
-
cloudnetpy-1.81.
|
120
|
+
cloudnetpy-1.81.1.dist-info/licenses/LICENSE,sha256=wcZF72bdaoG9XugpyE95Juo7lBQOwLuTKBOhhtANZMM,1094
|
121
121
|
docs/source/conf.py,sha256=IKiFWw6xhUd8NrCg0q7l596Ck1d61XWeVjIFHVSG9Og,1490
|
122
|
-
cloudnetpy-1.81.
|
123
|
-
cloudnetpy-1.81.
|
124
|
-
cloudnetpy-1.81.
|
125
|
-
cloudnetpy-1.81.
|
126
|
-
cloudnetpy-1.81.
|
122
|
+
cloudnetpy-1.81.1.dist-info/METADATA,sha256=2SO_QdrF7uw6WKEYy7CmgnEdNWkc9nxY9JLr_L1Dgq4,5836
|
123
|
+
cloudnetpy-1.81.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
124
|
+
cloudnetpy-1.81.1.dist-info/entry_points.txt,sha256=HhY7LwCFk4qFgDlXx_Fy983ZTd831WlhtdPIzV-Y3dY,51
|
125
|
+
cloudnetpy-1.81.1.dist-info/top_level.txt,sha256=ibSPWRr6ojS1i11rtBFz2_gkIe68mggj7aeswYfaOo0,16
|
126
|
+
cloudnetpy-1.81.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|