doppy 0.1.3__cp310-abi3-win_amd64.whl → 0.1.4__cp310-abi3-win_amd64.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 doppy might be problematic. Click here for more details.

doppy/product/stare.py CHANGED
@@ -50,6 +50,7 @@ class Stare:
50
50
  doppy.raw.HaloHpl.merge(_select_raws_for_stare(raws))
51
51
  .sorted_by_time()
52
52
  .non_strictly_increasing_timesteps_removed()
53
+ .nans_removed()
53
54
  )
54
55
 
55
56
  bgs = doppy.raw.HaloBg.from_srcs(data_bg)
doppy/product/wind.py CHANGED
@@ -54,6 +54,7 @@ class Wind:
54
54
  doppy.raw.HaloHpl.merge(_select_raws_for_wind(raws))
55
55
  .sorted_by_time()
56
56
  .non_strictly_increasing_timesteps_removed()
57
+ .nans_removed()
57
58
  )
58
59
  if len(raw.time) == 0:
59
60
  raise doppy.exceptions.NoDataError("No suitable data for the wind product")
doppy/raw/halo_hpl.py CHANGED
@@ -187,6 +187,10 @@ class HaloHpl:
187
187
  latest_time = t
188
188
  return self[mask]
189
189
 
190
+ def nans_removed(self) -> HaloHpl:
191
+ is_ok = ~np.isnan(self.intensity).any(axis=1)
192
+ return self[is_ok]
193
+
190
194
 
191
195
  @dataclass(slots=True)
192
196
  class HaloHplHeader:
doppy/rs.pyd CHANGED
Binary file
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: doppy
3
- Version: 0.1.3
3
+ Version: 0.1.4
4
4
  Classifier: Development Status :: 4 - Beta
5
5
  Classifier: Programming Language :: Python :: 3
6
6
  Classifier: Programming Language :: Python :: 3.10
@@ -1,8 +1,8 @@
1
- doppy-0.1.3.dist-info/METADATA,sha256=Rggbnzd618Rv2jQA_aBtjYEiAK6cUL4AZg57LHFFLK0,1798
2
- doppy-0.1.3.dist-info/WHEEL,sha256=Q2npN4Wz3hcQ5uc7KmG7fh3MaY55ijiBnwI7N8UUMDM,95
3
- doppy-0.1.3.dist-info/entry_points.txt,sha256=9b_Ca7vJoh6AwL3W8qAPh_UmJ_1Pa6hi-TDfCTDjvSk,43
4
- doppy-0.1.3.dist-info/license_files/LICENSE,sha256=RIAxFjJLTw0wQ3_SM73JoTeppoD99DJJ72cjvVuRrW4,1110
5
- doppy-0.1.3.dist-info/license_files/LICENSE,sha256=RIAxFjJLTw0wQ3_SM73JoTeppoD99DJJ72cjvVuRrW4,1110
1
+ doppy-0.1.4.dist-info/METADATA,sha256=EGgdTDrXpL2b5VDF6SEDQNv3Haf1BIVskLWkWm4obI8,1798
2
+ doppy-0.1.4.dist-info/WHEEL,sha256=d75zPPyDx5l542fz5cKSMKvSEn203Dzoi4bYqdZk0D8,95
3
+ doppy-0.1.4.dist-info/entry_points.txt,sha256=9b_Ca7vJoh6AwL3W8qAPh_UmJ_1Pa6hi-TDfCTDjvSk,43
4
+ doppy-0.1.4.dist-info/license_files/LICENSE,sha256=RIAxFjJLTw0wQ3_SM73JoTeppoD99DJJ72cjvVuRrW4,1110
5
+ doppy-0.1.4.dist-info/license_files/LICENSE,sha256=RIAxFjJLTw0wQ3_SM73JoTeppoD99DJJ72cjvVuRrW4,1110
6
6
  doppy/bench.py,sha256=fLN2iS5mmoYH4qZjD80Vl1h9lp3C-KDfhj9fteWRPtM,260
7
7
  doppy/data/api.py,sha256=yzniozSzs8N1sJe5ht4Y5SwyZn06RlGSkiwm0GvBTUE,1787
8
8
  doppy/data/cache.py,sha256=VNPB3XsWGwY2bNXBs1r_sEWF4qBq_U7sJSlSmt1Rxm8,1033
@@ -12,16 +12,16 @@ doppy/defaults.py,sha256=nhxcZcFd2jyDVbq0azwtekEJEjiz8k21MZmXFlSXAjo,40
12
12
  doppy/exceptions.py,sha256=YNEyz4r0ObzZHZ9re83K3wZlR2CRI1GyhH0vvFGasgQ,148
13
13
  doppy/netcdf.py,sha256=UnuecY_yEijEDpsuOBCj3EGeWMXtyRIOlLAC1UVUVHY,3527
14
14
  doppy/options.py,sha256=uyIKM_G2GtbmV6Gve8o13eIShQqUwsnYZ41mhX2ypGE,218
15
- doppy/product/stare.py,sha256=GBw5P16smTLtTdNtLTucb4NP2nUcW2WEj0sXysYSvZY,20314
16
- doppy/product/wind.py,sha256=WNPPMY71HKIpnj3T96jqWNcScYT5Fa3vB7PKnm4FP_I,11452
15
+ doppy/product/stare.py,sha256=L6KhFyhvsn-km0F50CBjGpDB1uaItXeIY159PBemJq4,20343
16
+ doppy/product/wind.py,sha256=eBRH6fXxb47ZzdyaSjK7CmUUjV9gz8q56Vnkkiqu8Ho,11481
17
17
  doppy/product/__init__.py,sha256=dOyY9_lLv6l3-_vtmJU18zOrE86SL0LHovQWQtwynnU,107
18
18
  doppy/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
19
19
  doppy/raw/halo_bg.py,sha256=9K7E9smahGOqDIYnA-9m-Di3QsDY0PR2FH4Yd_oYiEY,4951
20
- doppy/raw/halo_hpl.py,sha256=Yrk9YY4zErAfiyHJMWmPfWPr1fjGK3TxnznIXyp8poc,19028
20
+ doppy/raw/halo_hpl.py,sha256=x1xJVJKsKtNXPHqgIVyBseV9KpTifTK15URcBlAfRfE,19153
21
21
  doppy/raw/halo_sys_params.py,sha256=L3cFf1jATLMkVf2ViSbrmom-rZu7dn1Nq1J354xO98A,4041
22
22
  doppy/raw/windcube.py,sha256=aHAKN1tgyPNpCVBY4co9FwM6vMLu4swqVoFFhpDT33M,9939
23
23
  doppy/raw/__init__.py,sha256=5szGvPn_KS7PViMPQ1umGrbd9jkJzQUZpTiST1z2MvQ,200
24
24
  doppy/__init__.py,sha256=Af7_8p3oN1nTqS9fo0mVKVuiKf5CAEK69uQa32CSFBA,197
25
25
  doppy/__main__.py,sha256=38hIWWfanILuBBGorQiAaleSC4qYJoIxuzVBkxf7Dng,371
26
- doppy/rs.pyd,sha256=cDmKpyhfWzQ6xrCdGTJFv5KtOQOAkATFdW4FKnbLRzw,2088960
27
- doppy-0.1.3.dist-info/RECORD,,
26
+ doppy/rs.pyd,sha256=JjZVMQDUNYpGGIZBqtrNw4Vi-iOfQaJ3QPXiwhwKivo,2094592
27
+ doppy-0.1.4.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: maturin (1.5.0)
2
+ Generator: maturin (1.5.1)
3
3
  Root-Is-Purelib: false
4
4
  Tag: cp310-abi3-win_amd64