uda-xarray 0.2.2__tar.gz → 0.2.3__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.
- {uda_xarray-0.2.2/uda_xarray.egg-info → uda_xarray-0.2.3}/PKG-INFO +1 -1
- {uda_xarray-0.2.2 → uda_xarray-0.2.3}/pyproject.toml +2 -2
- {uda_xarray-0.2.2 → uda_xarray-0.2.3}/uda_xarray/main.py +5 -2
- {uda_xarray-0.2.2 → uda_xarray-0.2.3/uda_xarray.egg-info}/PKG-INFO +1 -1
- {uda_xarray-0.2.2 → uda_xarray-0.2.3}/LICENSE +0 -0
- {uda_xarray-0.2.2 → uda_xarray-0.2.3}/README.md +0 -0
- {uda_xarray-0.2.2 → uda_xarray-0.2.3}/setup.cfg +0 -0
- {uda_xarray-0.2.2 → uda_xarray-0.2.3}/tests/test_backend.py +0 -0
- {uda_xarray-0.2.2 → uda_xarray-0.2.3}/uda_xarray.egg-info/SOURCES.txt +0 -0
- {uda_xarray-0.2.2 → uda_xarray-0.2.3}/uda_xarray.egg-info/dependency_links.txt +0 -0
- {uda_xarray-0.2.2 → uda_xarray-0.2.3}/uda_xarray.egg-info/entry_points.txt +0 -0
- {uda_xarray-0.2.2 → uda_xarray-0.2.3}/uda_xarray.egg-info/requires.txt +0 -0
- {uda_xarray-0.2.2 → uda_xarray-0.2.3}/uda_xarray.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "uda-xarray"
|
|
3
|
-
version = "0.2.
|
|
3
|
+
version = "0.2.3"
|
|
4
4
|
description = "UDA backend for xarray"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
requires-python = ">=3.9, <3.13"
|
|
@@ -47,7 +47,7 @@ dev = [
|
|
|
47
47
|
uda = "uda_xarray.main:UDABackendEntrypoint"
|
|
48
48
|
|
|
49
49
|
[tool.bumpversion]
|
|
50
|
-
current_version = "0.2.
|
|
50
|
+
current_version = "0.2.3"
|
|
51
51
|
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
|
|
52
52
|
serialize = ["{major}.{minor}.{patch}"]
|
|
53
53
|
search = "{current_version}"
|
|
@@ -40,6 +40,7 @@ class UDABackendEntrypoint(BackendEntrypoint):
|
|
|
40
40
|
*,
|
|
41
41
|
drop_variables=None,
|
|
42
42
|
frame_number: Optional[int] = None, # noqa: F821
|
|
43
|
+
**kwargs,
|
|
43
44
|
) -> xr.Dataset:
|
|
44
45
|
"""Open a UDA dataset given a signal name and shot number.
|
|
45
46
|
|
|
@@ -161,8 +162,10 @@ class UDABackendEntrypoint(BackendEntrypoint):
|
|
|
161
162
|
return SignalType.IMAGE
|
|
162
163
|
return SignalType.SIGNAL
|
|
163
164
|
|
|
164
|
-
def open_datatree(self, filename_or_obj, *, drop_variables=None):
|
|
165
|
-
dataset = self.open_dataset(
|
|
165
|
+
def open_datatree(self, filename_or_obj, *, drop_variables=None, **kwargs):
|
|
166
|
+
dataset = self.open_dataset(
|
|
167
|
+
filename_or_obj, drop_variables=drop_variables, **kwargs
|
|
168
|
+
)
|
|
166
169
|
return xr.DataTree(dataset)
|
|
167
170
|
|
|
168
171
|
def open_groups_as_dict(self, filename_or_obj, **kwargs):
|
|
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
|