doppy 0.5.6__cp310-abi3-macosx_11_0_arm64.whl → 0.5.7__cp310-abi3-macosx_11_0_arm64.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/wind.py CHANGED
@@ -438,7 +438,7 @@ def _select_raws_for_wind(
438
438
  # Else select angle closes to 75 from angles
439
439
  # that have count larger than mean_count/2
440
440
  mean_count = counter.total() / len(counter)
441
- _, _, hash = sorted(
441
+ elevation, _, hash = sorted(
442
442
  [
443
443
  (el, abs(el - 75), hash)
444
444
  for (hash, el), count in counter.items()
@@ -446,7 +446,13 @@ def _select_raws_for_wind(
446
446
  ],
447
447
  key=lambda x: x[1],
448
448
  )[0]
449
- raws = [raw for raw in filtered_raws if raw.header.mergeable_hash() == hash]
449
+ elevation_set = {elevation}
450
+ raws = [
451
+ raw
452
+ for raw in filtered_raws
453
+ if raw.header.mergeable_hash() == hash
454
+ and arr_to_rounded_set(raw.elevation) == elevation_set
455
+ ]
450
456
  return raws
451
457
 
452
458
 
doppy/rs.abi3.so CHANGED
Binary file
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: doppy
3
- Version: 0.5.6
3
+ Version: 0.5.7
4
4
  Classifier: Development Status :: 4 - Beta
5
5
  Classifier: Programming Language :: Python :: 3
6
6
  Classifier: Programming Language :: Python :: 3.10
@@ -1,7 +1,7 @@
1
- doppy-0.5.6.dist-info/METADATA,sha256=r0JtIKpQUNQBrF2a5o_kzuQ6e_oDhz4pBWeyoc-2lQI,4348
2
- doppy-0.5.6.dist-info/WHEEL,sha256=Eg6gwEJKNVa1g53Yg4W5oLzLA6e9MoXTlIiHdDxmtOw,103
3
- doppy-0.5.6.dist-info/entry_points.txt,sha256=9b_Ca7vJoh6AwL3W8qAPh_UmJ_1Pa6hi-TDfCTDjvSk,43
4
- doppy-0.5.6.dist-info/licenses/LICENSE,sha256=V-0iroMNMI8ctnLgUau1kdFvwhkYhr9vi-5kWKxw2wc,1089
1
+ doppy-0.5.7.dist-info/METADATA,sha256=X23iM9s-E_wEIwfbMpWVoAYWjvE9AZCtu_lvHHq8IUo,4348
2
+ doppy-0.5.7.dist-info/WHEEL,sha256=Eg6gwEJKNVa1g53Yg4W5oLzLA6e9MoXTlIiHdDxmtOw,103
3
+ doppy-0.5.7.dist-info/entry_points.txt,sha256=9b_Ca7vJoh6AwL3W8qAPh_UmJ_1Pa6hi-TDfCTDjvSk,43
4
+ doppy-0.5.7.dist-info/licenses/LICENSE,sha256=V-0iroMNMI8ctnLgUau1kdFvwhkYhr9vi-5kWKxw2wc,1089
5
5
  doppy/__init__.py,sha256=Z9aEUlbPRWRUAoB8_-djkgrJuS4-6pjem4-mVSB6Z9I,191
6
6
  doppy/__main__.py,sha256=zrKQJVj0k0ypBQCGK65Czt9G9FZ_qx3ussw6Q9VJ14g,346
7
7
  doppy/bench.py,sha256=xUsmwLCjNLXwO9l-_SCfq62jxXJ4eiwkS-WlCejcqZE,308
@@ -19,7 +19,7 @@ doppy/product/stare.py,sha256=5cvctg4zrwwj4B7knhYFrEwKqhcIxXstcNSnhbB6K04,27194
19
19
  doppy/product/stare_depol.py,sha256=gSlD13jGLRmHyTDADFs_MO6ECos6wwKF-TL7G7NwHAA,10718
20
20
  doppy/product/turbulence.py,sha256=hajTHFr6XXdul8oU9dw4Y58kBwRpUBIfiOfTcvSjq7M,8606
21
21
  doppy/product/utils.py,sha256=1mngeUrs_mlRO3Z-bq5OWoFEMxX5uuosLVge1Jrp76s,310
22
- doppy/product/wind.py,sha256=QSypYTGuSKLoscpBiVHZSgwFT5ju2f8U9Yg4sCKvhF4,14927
22
+ doppy/product/wind.py,sha256=QyabapzOen_4oXLikmhjAjtlmOis18Ady57hQnrlzw8,15060
23
23
  doppy/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
24
24
  doppy/raw/__init__.py,sha256=HE-7x27dfw-LJTvReZfspqzNx63Nl0v5ACdYs9EuOFQ,325
25
25
  doppy/raw/halo_bg.py,sha256=8t9j-SUF1yJht3vrT6KAYJQyxcg3W-0zr8h0jAEhWes,5815
@@ -29,6 +29,6 @@ doppy/raw/utils.py,sha256=EOWIaxAZIiRYa9dI1j50cSd4I058Zq7sz1HOeipZFTg,422
29
29
  doppy/raw/windcube.py,sha256=uL6htoeyrJ-zrHV_QM748TT0HyfA3rw7t2dQORx0OAU,19150
30
30
  doppy/raw/wls70.py,sha256=OfPczHZPKX4iqCcyjSv0nmkr1osy4pu6krNUi0-G0vM,6319
31
31
  doppy/raw/wls77.py,sha256=ciRNy0U1a4OuxbsHGt9HMHAa3Qqukaw57QeNQdkWUj8,6460
32
- doppy/rs.abi3.so,sha256=Pj8q2Tw9W0JnGHvPCEPb9UCYVAlb2D5CxbT4lAMXP9k,2581200
32
+ doppy/rs.abi3.so,sha256=x1l23HUnhe4ttHPXraUTAMwTmnJ9sDEw0bTnAHBYK84,2581200
33
33
  doppy/utils.py,sha256=cY-tWrArrROX7lg_zJ2M4QJ6GUnU_BjhkUYL5aG9kbA,790
34
- doppy-0.5.6.dist-info/RECORD,,
34
+ doppy-0.5.7.dist-info/RECORD,,
File without changes