doppy 0.3.0__tar.gz → 0.3.1__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 (41) hide show
  1. {doppy-0.3.0 → doppy-0.3.1}/Cargo.lock +2 -2
  2. {doppy-0.3.0 → doppy-0.3.1}/Cargo.toml +1 -1
  3. {doppy-0.3.0 → doppy-0.3.1}/PKG-INFO +1 -1
  4. {doppy-0.3.0 → doppy-0.3.1}/src/doppy/product/stare_depol.py +2 -2
  5. {doppy-0.3.0 → doppy-0.3.1}/LICENSE +0 -0
  6. {doppy-0.3.0 → doppy-0.3.1}/README.md +0 -0
  7. {doppy-0.3.0 → doppy-0.3.1}/crates/doppy_rs/Cargo.toml +0 -0
  8. {doppy-0.3.0 → doppy-0.3.1}/crates/doppy_rs/src/lib.rs +0 -0
  9. {doppy-0.3.0 → doppy-0.3.1}/crates/doppy_rs/src/raw/halo_hpl.rs +0 -0
  10. {doppy-0.3.0 → doppy-0.3.1}/crates/doppy_rs/src/raw/wls70.rs +0 -0
  11. {doppy-0.3.0 → doppy-0.3.1}/crates/doppy_rs/src/raw.rs +0 -0
  12. {doppy-0.3.0 → doppy-0.3.1}/crates/doprs/.gitignore +0 -0
  13. {doppy-0.3.0 → doppy-0.3.1}/crates/doprs/Cargo.toml +0 -0
  14. {doppy-0.3.0 → doppy-0.3.1}/crates/doprs/src/lib.rs +0 -0
  15. {doppy-0.3.0 → doppy-0.3.1}/crates/doprs/src/raw/error.rs +0 -0
  16. {doppy-0.3.0 → doppy-0.3.1}/crates/doprs/src/raw/halo_hpl.rs +0 -0
  17. {doppy-0.3.0 → doppy-0.3.1}/crates/doprs/src/raw/wls70.rs +0 -0
  18. {doppy-0.3.0 → doppy-0.3.1}/crates/doprs/src/raw.rs +0 -0
  19. {doppy-0.3.0 → doppy-0.3.1}/pyproject.toml +0 -0
  20. {doppy-0.3.0 → doppy-0.3.1}/src/doppy/__init__.py +0 -0
  21. {doppy-0.3.0 → doppy-0.3.1}/src/doppy/__main__.py +0 -0
  22. {doppy-0.3.0 → doppy-0.3.1}/src/doppy/bench.py +0 -0
  23. {doppy-0.3.0 → doppy-0.3.1}/src/doppy/data/__init__.py +0 -0
  24. {doppy-0.3.0 → doppy-0.3.1}/src/doppy/data/api.py +0 -0
  25. {doppy-0.3.0 → doppy-0.3.1}/src/doppy/data/cache.py +0 -0
  26. {doppy-0.3.0 → doppy-0.3.1}/src/doppy/data/exceptions.py +0 -0
  27. {doppy-0.3.0 → doppy-0.3.1}/src/doppy/defaults.py +0 -0
  28. {doppy-0.3.0 → doppy-0.3.1}/src/doppy/exceptions.py +0 -0
  29. {doppy-0.3.0 → doppy-0.3.1}/src/doppy/netcdf.py +0 -0
  30. {doppy-0.3.0 → doppy-0.3.1}/src/doppy/options.py +0 -0
  31. {doppy-0.3.0 → doppy-0.3.1}/src/doppy/product/__init__.py +0 -0
  32. {doppy-0.3.0 → doppy-0.3.1}/src/doppy/product/stare.py +0 -0
  33. {doppy-0.3.0 → doppy-0.3.1}/src/doppy/product/wind.py +0 -0
  34. {doppy-0.3.0 → doppy-0.3.1}/src/doppy/py.typed +0 -0
  35. {doppy-0.3.0 → doppy-0.3.1}/src/doppy/raw/__init__.py +0 -0
  36. {doppy-0.3.0 → doppy-0.3.1}/src/doppy/raw/halo_bg.py +0 -0
  37. {doppy-0.3.0 → doppy-0.3.1}/src/doppy/raw/halo_hpl.py +0 -0
  38. {doppy-0.3.0 → doppy-0.3.1}/src/doppy/raw/halo_sys_params.py +0 -0
  39. {doppy-0.3.0 → doppy-0.3.1}/src/doppy/raw/windcube.py +0 -0
  40. {doppy-0.3.0 → doppy-0.3.1}/src/doppy/raw/wls70.py +0 -0
  41. {doppy-0.3.0 → doppy-0.3.1}/src/doppy/utils.py +0 -0
@@ -106,7 +106,7 @@ checksum = "248e3bacc7dc6baa3b21e405ee045c3047101a49145e7e9eca583ab4c2ca5345"
106
106
 
107
107
  [[package]]
108
108
  name = "doppy_rs"
109
- version = "0.3.0"
109
+ version = "0.3.1"
110
110
  dependencies = [
111
111
  "doprs",
112
112
  "numpy",
@@ -115,7 +115,7 @@ dependencies = [
115
115
 
116
116
  [[package]]
117
117
  name = "doprs"
118
- version = "0.3.0"
118
+ version = "0.3.1"
119
119
  dependencies = [
120
120
  "chrono",
121
121
  "rayon",
@@ -4,6 +4,6 @@ resolver = "2"
4
4
 
5
5
  [workspace.package]
6
6
  edition = "2021"
7
- version = "0.3.0"
7
+ version = "0.3.1"
8
8
  authors = ["Niko Leskinen <niko.leskinen@fmi.fi>"]
9
9
  license-file = "LICENSE"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: doppy
3
- Version: 0.3.0
3
+ Version: 0.3.1
4
4
  Classifier: Development Status :: 4 - Beta
5
5
  Classifier: Programming Language :: Python :: 3
6
6
  Classifier: Programming Language :: Python :: 3.10
@@ -62,14 +62,14 @@ class StareDepol:
62
62
  "Different system ID in co and cross: "
63
63
  f"{co.system_id} vs {cross.system_id}"
64
64
  )
65
- if not np.allclose(co.radial_distance, cross.radial_distance):
65
+ if not np.allclose(co.radial_distance, cross.radial_distance, atol=1):
66
66
  raise ValueError("Different radial distance in co and cross")
67
67
 
68
68
  time_ind = np.argmin(np.abs(co.time - cross.time[:, np.newaxis]), axis=0)
69
69
  cross_elevation = cross.elevation[time_ind]
70
70
  cross_beta = cross.beta[time_ind, :]
71
71
 
72
- if not np.allclose(co.elevation, cross_elevation):
72
+ if not np.allclose(co.elevation, cross_elevation, atol=1):
73
73
  raise ValueError("Different elevation in co and cross")
74
74
 
75
75
  self.time = co.time
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