doppy 0.5.6__cp310-abi3-win_amd64.whl → 0.5.7__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/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.pyd 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=qk92LK22aqb7ezTG0IxCYv6yTEnmhb_EQdsEtoyfzKI,4447
2
- doppy-0.5.6.dist-info/WHEEL,sha256=MF1HCxdpioEZC6lqltB_WBzy4tzMPetoB2hZW2ZWEzg,95
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=RIAxFjJLTw0wQ3_SM73JoTeppoD99DJJ72cjvVuRrW4,1110
1
+ doppy-0.5.7.dist-info/METADATA,sha256=UuMNrehNbRluNUB8-62riMQf_iS5a7D7j9SP3KUJhvg,4447
2
+ doppy-0.5.7.dist-info/WHEEL,sha256=MF1HCxdpioEZC6lqltB_WBzy4tzMPetoB2hZW2ZWEzg,95
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=RIAxFjJLTw0wQ3_SM73JoTeppoD99DJJ72cjvVuRrW4,1110
5
5
  doppy/__init__.py,sha256=Af7_8p3oN1nTqS9fo0mVKVuiKf5CAEK69uQa32CSFBA,197
6
6
  doppy/__main__.py,sha256=38hIWWfanILuBBGorQiAaleSC4qYJoIxuzVBkxf7Dng,371
7
7
  doppy/bench.py,sha256=X4yPXFPAM708ptzXKDYxVBOC0E3cMj_KxXzmD_Q9_RM,321
@@ -19,7 +19,7 @@ doppy/product/stare.py,sha256=zcy-BAvY3R0PtBxVILNDH6FRvd9OwfHMfsNOowEoNtQ,28023
19
19
  doppy/product/stare_depol.py,sha256=GkS-60Izk-rF9PnHPtOgAssr--K4ddzQHUlyLZ7JNkU,11026
20
20
  doppy/product/turbulence.py,sha256=RHvQlNobnXiF2Vx8OuvTYe7BIibmTNNXpHa7X4BfGbQ,8870
21
21
  doppy/product/utils.py,sha256=-hsyKwZmV3UEIqv9MND5ng-YzW4bBN5QdkMwR4ZDLHw,322
22
- doppy/product/wind.py,sha256=54Fl2rcaCiMo8Qc_5xhsYJMEU4spIpe0g_OMraNmLt8,15381
22
+ doppy/product/wind.py,sha256=Rq6y1kZlLePvGIS2ftAQE9r1K-nZR-TlLfiAGK2wSmQ,15520
23
23
  doppy/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
24
24
  doppy/raw/__init__.py,sha256=QqAPpV53Xbz3tHo4zCYv9_pgLYw_F2YIRH2-Mg9l2gI,341
25
25
  doppy/raw/halo_bg.py,sha256=TrqJDUXa1atW2w4UDN9PPx2Mzrc7D9Q2Ndph0yB65p0,5988
@@ -29,6 +29,6 @@ doppy/raw/utils.py,sha256=pBeBk87_LMxop14_RK5Xj64iYBMu8AhH-IqBRoGgUzE,436
29
29
  doppy/raw/windcube.py,sha256=-AC7tECxOfht6CxxSeFYmRM1bU3DRZSlRvR_nHK4tqg,19627
30
30
  doppy/raw/wls70.py,sha256=lWSnuZlmdCGqrlYt6SUDFvPRBOOdtt6LiDiu_nhnPiU,6494
31
31
  doppy/raw/wls77.py,sha256=SOIFGC1GhoAPGePH6B-fAuyWqfW5jevi1zbku9JOBng,6623
32
- doppy/rs.pyd,sha256=_dB5h2KcvVttwWrVMMRZK47emPsjzhmrlb3IJfe6fKg,2192896
32
+ doppy/rs.pyd,sha256=Hk1_rTE-Jy6BwBIqjcXiKGwqgUEgWgsHjcr5CHOS85Y,2192896
33
33
  doppy/utils.py,sha256=2PwDiO8GyMjsHC-EYcTGyN2mEfPaCi3hhEn2twETOl0,814
34
- doppy-0.5.6.dist-info/RECORD,,
34
+ doppy-0.5.7.dist-info/RECORD,,
File without changes