doppy 0.2.3__cp310-abi3-macosx_10_12_x86_64.whl → 0.2.4__cp310-abi3-macosx_10_12_x86_64.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/netcdf.py +6 -1
- doppy/product/stare.py +2 -2
- doppy/product/wind.py +1 -1
- doppy/raw/halo_hpl.py +1 -1
- doppy/raw/halo_sys_params.py +1 -1
- doppy/rs.abi3.so +0 -0
- {doppy-0.2.3.dist-info → doppy-0.2.4.dist-info}/METADATA +4 -4
- {doppy-0.2.3.dist-info → doppy-0.2.4.dist-info}/RECORD +11 -12
- {doppy-0.2.3.dist-info → doppy-0.2.4.dist-info}/WHEEL +1 -1
- {doppy-0.2.3.dist-info → doppy-0.2.4.dist-info}/entry_points.txt +0 -0
- {doppy-0.2.3.dist-info → doppy-0.2.4.dist-info}/license_files/LICENSE +0 -0
doppy/netcdf.py
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
from __future__ import annotations
|
|
2
2
|
|
|
3
|
+
import warnings
|
|
3
4
|
from typing import Literal, TypeAlias
|
|
4
5
|
|
|
5
6
|
import netCDF4
|
|
@@ -17,10 +18,14 @@ class Dataset:
|
|
|
17
18
|
self.nc.createDimension(dim, None)
|
|
18
19
|
return self
|
|
19
20
|
|
|
20
|
-
def
|
|
21
|
+
def add_attribute(self, key: str, val: str) -> Dataset:
|
|
21
22
|
setattr(self.nc, key, val)
|
|
22
23
|
return self
|
|
23
24
|
|
|
25
|
+
def add_atribute(self, key: str, val: str) -> Dataset:
|
|
26
|
+
warnings.warn("Use add_attribute", DeprecationWarning)
|
|
27
|
+
return self.add_attribute(key, val)
|
|
28
|
+
|
|
24
29
|
def add_time(
|
|
25
30
|
self,
|
|
26
31
|
name: str,
|
doppy/product/stare.py
CHANGED
|
@@ -142,7 +142,7 @@ def _compute_beta(
|
|
|
142
142
|
c
|
|
143
143
|
speed of light
|
|
144
144
|
B
|
|
145
|
-
|
|
145
|
+
receiver bandwidth
|
|
146
146
|
|
|
147
147
|
References
|
|
148
148
|
----------
|
|
@@ -560,7 +560,7 @@ def _select_raws_for_stare(
|
|
|
560
560
|
|
|
561
561
|
|
|
562
562
|
def _selection_key(raw: doppy.raw.HaloHpl) -> SelectionGroupKeyType:
|
|
563
|
-
return (raw.header.
|
|
563
|
+
return (raw.header.mergeable_hash(),)
|
|
564
564
|
|
|
565
565
|
|
|
566
566
|
def _time2bg_time(
|
doppy/product/wind.py
CHANGED
|
@@ -406,7 +406,7 @@ def _selection_key(raw: doppy.raw.HaloHpl) -> SelectionGroupKeyType:
|
|
|
406
406
|
if len(raw.elevation_angles) != 1:
|
|
407
407
|
raise ValueError("Expected only one elevation angle")
|
|
408
408
|
return (
|
|
409
|
-
raw.header.
|
|
409
|
+
raw.header.mergeable_hash(),
|
|
410
410
|
next(iter(raw.elevation_angles)),
|
|
411
411
|
tuple(sorted(raw.azimuth_angles)),
|
|
412
412
|
)
|
doppy/raw/halo_hpl.py
CHANGED
doppy/raw/halo_sys_params.py
CHANGED
|
@@ -81,7 +81,7 @@ def _from_src(data: BufferedIOBase) -> HaloSysParams:
|
|
|
81
81
|
b = [r.split(b"\t") for r in a]
|
|
82
82
|
arr = np.array(b)
|
|
83
83
|
if arr.shape[1] != 7:
|
|
84
|
-
raise ValueError("Unexpected data
|
|
84
|
+
raise ValueError("Unexpected data format")
|
|
85
85
|
|
|
86
86
|
def timestr2datetime64_12H(datetime_bytes: bytes) -> np.datetime64:
|
|
87
87
|
return datetime64(
|
doppy/rs.abi3.so
CHANGED
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: doppy
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.4
|
|
4
4
|
Classifier: Development Status :: 4 - Beta
|
|
5
5
|
Classifier: Programming Language :: Python :: 3
|
|
6
6
|
Classifier: Programming Language :: Python :: 3.10
|
|
@@ -37,7 +37,7 @@ Project-URL: Repository, https://github.com/actris-cloudnet/doppy
|
|
|
37
37
|
Project-URL: Changelog, https://github.com/actris-cloudnet/doppy/blob/main/CHANGELOG.md
|
|
38
38
|
Project-URL: Bug Tracker, https://github.com/actris-cloudnet/doppy/issues
|
|
39
39
|
|
|
40
|
-
# Doppy
|
|
40
|
+
# Doppy – Doppler wind lidar processing
|
|
41
41
|
|
|
42
42
|
[](https://github.com/actris-cloudnet/doppy/actions/workflows/ci.yml)
|
|
43
43
|
[](https://badge.fury.io/py/doppy)
|
|
@@ -129,8 +129,8 @@ stare = doppy.product.Stare.from_halo_data(
|
|
|
129
129
|
data=stare.wavelength,
|
|
130
130
|
dtype="f4",
|
|
131
131
|
)
|
|
132
|
-
.
|
|
133
|
-
.
|
|
132
|
+
.add_attribute("serial_number", stare.system_id)
|
|
133
|
+
.add_attribute("doppy_version", doppy.__version__)
|
|
134
134
|
).close()
|
|
135
135
|
|
|
136
136
|
```
|
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
doppy-0.2.
|
|
2
|
-
doppy-0.2.
|
|
3
|
-
doppy-0.2.
|
|
4
|
-
doppy-0.2.
|
|
5
|
-
doppy-0.2.3.dist-info/license_files/LICENSE,sha256=V-0iroMNMI8ctnLgUau1kdFvwhkYhr9vi-5kWKxw2wc,1089
|
|
1
|
+
doppy-0.2.4.dist-info/METADATA,sha256=v9HI3W9NwDiBFoi7WimE35gNO4zd4wddz1sg0JM_0Qo,4146
|
|
2
|
+
doppy-0.2.4.dist-info/WHEEL,sha256=WrMW63pUH_1YC4fVPzaPa4OCS_WjDVtthurSO7B3-1Y,105
|
|
3
|
+
doppy-0.2.4.dist-info/entry_points.txt,sha256=9b_Ca7vJoh6AwL3W8qAPh_UmJ_1Pa6hi-TDfCTDjvSk,43
|
|
4
|
+
doppy-0.2.4.dist-info/license_files/LICENSE,sha256=V-0iroMNMI8ctnLgUau1kdFvwhkYhr9vi-5kWKxw2wc,1089
|
|
6
5
|
doppy/options.py,sha256=73BDODO4OYHn2qOshhwz6u6G3J1kNd3uj6P0a3V4HBE,205
|
|
7
6
|
doppy/__init__.py,sha256=Z9aEUlbPRWRUAoB8_-djkgrJuS4-6pjem4-mVSB6Z9I,191
|
|
8
|
-
doppy/product/wind.py,sha256=
|
|
7
|
+
doppy/product/wind.py,sha256=MXm5HDoO3X6AzvpPHYPlpUXB_MYp_TBPP81aZ151wj8,13043
|
|
9
8
|
doppy/product/__init__.py,sha256=DwTrvhMY_Eq-RG3H6Qyg_R_E9ie1wv0ofKr_1rSJ4Sk,172
|
|
10
|
-
doppy/product/stare.py,sha256=
|
|
9
|
+
doppy/product/stare.py,sha256=jt1vHptufBFwUH5Un_0pk44eHKbAWnkhrU7HUI7gYJ4,19908
|
|
11
10
|
doppy/bench.py,sha256=iVNYveMVGGRES2oe3Orsn31jQFCKTXOmxRFuFiJ8_OA,248
|
|
12
|
-
doppy/netcdf.py,sha256=
|
|
11
|
+
doppy/netcdf.py,sha256=bGl3oeXtL04Qz0RR2mIdNYp-nWq-OI7_aR3oFfeezOc,3600
|
|
13
12
|
doppy/utils.py,sha256=qPtIYBJPaKKTmRWwJI93TFUuhJg7CAoecpyHCm5ZyxI,214
|
|
14
13
|
doppy/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
15
14
|
doppy/exceptions.py,sha256=1tljrtzp0McQhB6INFXj4yfLjxj6mXor5jLF9HZjp1A,138
|
|
@@ -18,12 +17,12 @@ doppy/data/cache.py,sha256=2rxmkWFn-FPy2LNGuCW2Vu4KKLBwIV9sb2gPBA-Jfck,996
|
|
|
18
17
|
doppy/data/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
19
18
|
doppy/data/api.py,sha256=QaVKj304OPcu8OF5xgtduQzDis8Srn-I6UgR9qb2u9E,1863
|
|
20
19
|
doppy/data/exceptions.py,sha256=6CS6OHIWq8CqlxiceEvC1j0EfWUYoIfM7dW88apQVn4,89
|
|
21
|
-
doppy/raw/halo_sys_params.py,sha256=
|
|
20
|
+
doppy/raw/halo_sys_params.py,sha256=DeOIIRtVdO7HnNY3FaI4u035ScI65jfDgUrEccLepEo,3937
|
|
22
21
|
doppy/raw/__init__.py,sha256=AMHyONuH0aUJUQz20EhlANaq9UjWJtSZf7kWUVx3ZjA,228
|
|
23
22
|
doppy/raw/wls70.py,sha256=PMyr_JYTiKuYv1JpWHgVX6OA5zU83DOnr8vBCxFyFAw,7420
|
|
24
23
|
doppy/raw/halo_bg.py,sha256=kO03yGlKS-DpMMGHYuy_BuidyeUL38TxT5vMn8H_8lE,4809
|
|
25
|
-
doppy/raw/halo_hpl.py,sha256=
|
|
24
|
+
doppy/raw/halo_hpl.py,sha256=YFTepAWXvIfAVGgLZCadsc1d-VaOh7j2RB3cpb6Sv6k,18486
|
|
26
25
|
doppy/raw/windcube.py,sha256=ZaOswQJbVDPBYj5oU1pTYmsX8F-mKIbjJRZmLYEMXP0,9906
|
|
27
26
|
doppy/__main__.py,sha256=zrKQJVj0k0ypBQCGK65Czt9G9FZ_qx3ussw6Q9VJ14g,346
|
|
28
|
-
doppy/rs.abi3.so,sha256=
|
|
29
|
-
doppy-0.2.
|
|
27
|
+
doppy/rs.abi3.so,sha256=A4SR1Jcxog3RWyLdupKzTlIeoEU4YBSVVt4ubUAtSrI,2787456
|
|
28
|
+
doppy-0.2.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|