doppy 0.5.6__tar.gz → 0.5.7__tar.gz

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.

Files changed (52) hide show
  1. {doppy-0.5.6 → doppy-0.5.7}/Cargo.lock +3 -3
  2. {doppy-0.5.6 → doppy-0.5.7}/Cargo.toml +1 -1
  3. {doppy-0.5.6 → doppy-0.5.7}/PKG-INFO +1 -1
  4. {doppy-0.5.6 → doppy-0.5.7}/src/doppy/product/wind.py +8 -2
  5. {doppy-0.5.6 → doppy-0.5.7}/LICENSE +0 -0
  6. {doppy-0.5.6 → doppy-0.5.7}/README.md +0 -0
  7. {doppy-0.5.6 → doppy-0.5.7}/crates/doppy_rs/Cargo.toml +0 -0
  8. {doppy-0.5.6 → doppy-0.5.7}/crates/doppy_rs/src/lib.rs +0 -0
  9. {doppy-0.5.6 → doppy-0.5.7}/crates/doppy_rs/src/raw/halo_hpl.rs +0 -0
  10. {doppy-0.5.6 → doppy-0.5.7}/crates/doppy_rs/src/raw/wls70.rs +0 -0
  11. {doppy-0.5.6 → doppy-0.5.7}/crates/doppy_rs/src/raw/wls77.rs +0 -0
  12. {doppy-0.5.6 → doppy-0.5.7}/crates/doppy_rs/src/raw.rs +0 -0
  13. {doppy-0.5.6 → doppy-0.5.7}/crates/doprs/.gitignore +0 -0
  14. {doppy-0.5.6 → doppy-0.5.7}/crates/doprs/Cargo.toml +0 -0
  15. {doppy-0.5.6 → doppy-0.5.7}/crates/doprs/README.md +0 -0
  16. {doppy-0.5.6 → doppy-0.5.7}/crates/doprs/src/bin/parse_halo.rs +0 -0
  17. {doppy-0.5.6 → doppy-0.5.7}/crates/doprs/src/bin/parse_wls70.rs +0 -0
  18. {doppy-0.5.6 → doppy-0.5.7}/crates/doprs/src/bin/parse_wls77.rs +0 -0
  19. {doppy-0.5.6 → doppy-0.5.7}/crates/doprs/src/lib.rs +0 -0
  20. {doppy-0.5.6 → doppy-0.5.7}/crates/doprs/src/raw/error.rs +0 -0
  21. {doppy-0.5.6 → doppy-0.5.7}/crates/doprs/src/raw/halo_hpl.rs +0 -0
  22. {doppy-0.5.6 → doppy-0.5.7}/crates/doprs/src/raw/wls70.rs +0 -0
  23. {doppy-0.5.6 → doppy-0.5.7}/crates/doprs/src/raw/wls77.rs +0 -0
  24. {doppy-0.5.6 → doppy-0.5.7}/crates/doprs/src/raw.rs +0 -0
  25. {doppy-0.5.6 → doppy-0.5.7}/pyproject.toml +0 -0
  26. {doppy-0.5.6 → doppy-0.5.7}/src/doppy/__init__.py +0 -0
  27. {doppy-0.5.6 → doppy-0.5.7}/src/doppy/__main__.py +0 -0
  28. {doppy-0.5.6 → doppy-0.5.7}/src/doppy/bench.py +0 -0
  29. {doppy-0.5.6 → doppy-0.5.7}/src/doppy/data/__init__.py +0 -0
  30. {doppy-0.5.6 → doppy-0.5.7}/src/doppy/data/api.py +0 -0
  31. {doppy-0.5.6 → doppy-0.5.7}/src/doppy/data/cache.py +0 -0
  32. {doppy-0.5.6 → doppy-0.5.7}/src/doppy/data/exceptions.py +0 -0
  33. {doppy-0.5.6 → doppy-0.5.7}/src/doppy/defaults.py +0 -0
  34. {doppy-0.5.6 → doppy-0.5.7}/src/doppy/exceptions.py +0 -0
  35. {doppy-0.5.6 → doppy-0.5.7}/src/doppy/netcdf.py +0 -0
  36. {doppy-0.5.6 → doppy-0.5.7}/src/doppy/options.py +0 -0
  37. {doppy-0.5.6 → doppy-0.5.7}/src/doppy/product/__init__.py +0 -0
  38. {doppy-0.5.6 → doppy-0.5.7}/src/doppy/product/noise_utils.py +0 -0
  39. {doppy-0.5.6 → doppy-0.5.7}/src/doppy/product/stare.py +0 -0
  40. {doppy-0.5.6 → doppy-0.5.7}/src/doppy/product/stare_depol.py +0 -0
  41. {doppy-0.5.6 → doppy-0.5.7}/src/doppy/product/turbulence.py +0 -0
  42. {doppy-0.5.6 → doppy-0.5.7}/src/doppy/product/utils.py +0 -0
  43. {doppy-0.5.6 → doppy-0.5.7}/src/doppy/py.typed +0 -0
  44. {doppy-0.5.6 → doppy-0.5.7}/src/doppy/raw/__init__.py +0 -0
  45. {doppy-0.5.6 → doppy-0.5.7}/src/doppy/raw/halo_bg.py +0 -0
  46. {doppy-0.5.6 → doppy-0.5.7}/src/doppy/raw/halo_hpl.py +0 -0
  47. {doppy-0.5.6 → doppy-0.5.7}/src/doppy/raw/halo_sys_params.py +0 -0
  48. {doppy-0.5.6 → doppy-0.5.7}/src/doppy/raw/utils.py +0 -0
  49. {doppy-0.5.6 → doppy-0.5.7}/src/doppy/raw/windcube.py +0 -0
  50. {doppy-0.5.6 → doppy-0.5.7}/src/doppy/raw/wls70.py +0 -0
  51. {doppy-0.5.6 → doppy-0.5.7}/src/doppy/raw/wls77.py +0 -0
  52. {doppy-0.5.6 → doppy-0.5.7}/src/doppy/utils.py +0 -0
@@ -265,7 +265,7 @@ dependencies = [
265
265
 
266
266
  [[package]]
267
267
  name = "doppy_rs"
268
- version = "0.5.6"
268
+ version = "0.5.7"
269
269
  dependencies = [
270
270
  "doprs",
271
271
  "ndarray 0.16.1",
@@ -275,7 +275,7 @@ dependencies = [
275
275
 
276
276
  [[package]]
277
277
  name = "doprs"
278
- version = "0.5.6"
278
+ version = "0.5.7"
279
279
  dependencies = [
280
280
  "chrono",
281
281
  "ndarray 0.16.1",
@@ -1100,7 +1100,7 @@ dependencies = [
1100
1100
 
1101
1101
  [[package]]
1102
1102
  name = "provare"
1103
- version = "0.5.6"
1103
+ version = "0.5.7"
1104
1104
  dependencies = [
1105
1105
  "chrono",
1106
1106
  "clap",
@@ -4,7 +4,7 @@ resolver = "2"
4
4
 
5
5
  [workspace.package]
6
6
  edition = "2021"
7
- version = "0.5.6"
7
+ version = "0.5.7"
8
8
  authors = ["Niko Leskinen <niko.leskinen@fmi.fi>"]
9
9
  license-file = "LICENSE"
10
10
 
@@ -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
@@ -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
 
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes