sal-xarray 0.2.1__tar.gz → 0.3.0__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.
- {sal_xarray-0.2.1/sal_xarray.egg-info → sal_xarray-0.3.0}/PKG-INFO +5 -3
- {sal_xarray-0.2.1 → sal_xarray-0.3.0}/pyproject.toml +6 -4
- {sal_xarray-0.2.1 → sal_xarray-0.3.0}/sal_xarray/main.py +2 -1
- {sal_xarray-0.2.1 → sal_xarray-0.3.0/sal_xarray.egg-info}/PKG-INFO +5 -3
- {sal_xarray-0.2.1 → sal_xarray-0.3.0}/sal_xarray.egg-info/requires.txt +1 -1
- {sal_xarray-0.2.1 → sal_xarray-0.3.0}/LICENSE +0 -0
- {sal_xarray-0.2.1 → sal_xarray-0.3.0}/README.md +0 -0
- {sal_xarray-0.2.1 → sal_xarray-0.3.0}/sal_xarray.egg-info/SOURCES.txt +0 -0
- {sal_xarray-0.2.1 → sal_xarray-0.3.0}/sal_xarray.egg-info/dependency_links.txt +0 -0
- {sal_xarray-0.2.1 → sal_xarray-0.3.0}/sal_xarray.egg-info/entry_points.txt +0 -0
- {sal_xarray-0.2.1 → sal_xarray-0.3.0}/sal_xarray.egg-info/top_level.txt +0 -0
- {sal_xarray-0.2.1 → sal_xarray-0.3.0}/setup.cfg +0 -0
- {sal_xarray-0.2.1 → sal_xarray-0.3.0}/tests/test_backend.py +0 -0
|
@@ -1,19 +1,21 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: sal-xarray
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.3.0
|
|
4
4
|
Summary: SAL backend for xarray
|
|
5
5
|
Author-email: Samuel Jackson <samuel.jackson@ukaea.uk>
|
|
6
6
|
Maintainer-email: Samuel Jackson <samuel.jackson@ukaea.uk>
|
|
7
7
|
Project-URL: repository, https://github.com/samueljackson92/sal-xarray
|
|
8
8
|
Classifier: Development Status :: 4 - Beta
|
|
9
9
|
Classifier: Programming Language :: Python :: 3
|
|
10
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
10
11
|
Classifier: Programming Language :: Python :: 3.11
|
|
11
12
|
Classifier: Programming Language :: Python :: 3.12
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
12
14
|
Classifier: License :: OSI Approved :: MIT License
|
|
13
|
-
Requires-Python: <3.
|
|
15
|
+
Requires-Python: <3.14,>=3.10
|
|
14
16
|
Description-Content-Type: text/markdown
|
|
15
17
|
License-File: LICENSE
|
|
16
|
-
Requires-Dist: numpy<2
|
|
18
|
+
Requires-Dist: numpy<2.3
|
|
17
19
|
Requires-Dist: sal>=1.2.5
|
|
18
20
|
Requires-Dist: xarray
|
|
19
21
|
Dynamic: license-file
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "sal-xarray"
|
|
3
|
-
version = "0.
|
|
3
|
+
version = "0.3.0"
|
|
4
4
|
description = "SAL backend for xarray"
|
|
5
5
|
readme = "README.md"
|
|
6
|
-
requires-python = ">=3.
|
|
6
|
+
requires-python = ">=3.10, <3.14"
|
|
7
7
|
authors = [
|
|
8
8
|
{name = "Samuel Jackson", email = "samuel.jackson@ukaea.uk"},
|
|
9
9
|
]
|
|
@@ -14,13 +14,15 @@ maintainers = [
|
|
|
14
14
|
classifiers = [
|
|
15
15
|
"Development Status :: 4 - Beta",
|
|
16
16
|
"Programming Language :: Python :: 3",
|
|
17
|
+
"Programming Language :: Python :: 3.10",
|
|
17
18
|
"Programming Language :: Python :: 3.11",
|
|
18
19
|
"Programming Language :: Python :: 3.12",
|
|
20
|
+
"Programming Language :: Python :: 3.13",
|
|
19
21
|
"License :: OSI Approved :: MIT License",
|
|
20
22
|
]
|
|
21
23
|
|
|
22
24
|
dependencies = [
|
|
23
|
-
"numpy<2",
|
|
25
|
+
"numpy<2.3",
|
|
24
26
|
"sal>=1.2.5",
|
|
25
27
|
"xarray",
|
|
26
28
|
]
|
|
@@ -48,7 +50,7 @@ dev = [
|
|
|
48
50
|
sal = "sal_xarray.main:SALBackendEntrypoint"
|
|
49
51
|
|
|
50
52
|
[tool.bumpversion]
|
|
51
|
-
current_version = "0.
|
|
53
|
+
current_version = "0.3.0"
|
|
52
54
|
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
|
|
53
55
|
serialize = ["{major}.{minor}.{patch}"]
|
|
54
56
|
search = "{current_version}"
|
|
@@ -27,6 +27,7 @@ class SALBackendEntrypoint(BackendEntrypoint):
|
|
|
27
27
|
*,
|
|
28
28
|
drop_variables: str | Iterable[str] | None = None,
|
|
29
29
|
host: str = "https://sal.jetdata.eu",
|
|
30
|
+
**kwargs, # pylint: disable=unused-argument
|
|
30
31
|
) -> xr.Dataset:
|
|
31
32
|
"""Open a SAL dataset given a signal name and shot number.
|
|
32
33
|
|
|
@@ -99,7 +100,7 @@ class SALBackendEntrypoint(BackendEntrypoint):
|
|
|
99
100
|
|
|
100
101
|
return data
|
|
101
102
|
|
|
102
|
-
def open_datatree(self, filename_or_obj, *, drop_variables=None):
|
|
103
|
+
def open_datatree(self, filename_or_obj, *, drop_variables=None, **kwargs): # pylint: disable=unused-argument
|
|
103
104
|
dataset = self.open_dataset(filename_or_obj, drop_variables=drop_variables)
|
|
104
105
|
return xr.DataTree(dataset)
|
|
105
106
|
|
|
@@ -1,19 +1,21 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: sal-xarray
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.3.0
|
|
4
4
|
Summary: SAL backend for xarray
|
|
5
5
|
Author-email: Samuel Jackson <samuel.jackson@ukaea.uk>
|
|
6
6
|
Maintainer-email: Samuel Jackson <samuel.jackson@ukaea.uk>
|
|
7
7
|
Project-URL: repository, https://github.com/samueljackson92/sal-xarray
|
|
8
8
|
Classifier: Development Status :: 4 - Beta
|
|
9
9
|
Classifier: Programming Language :: Python :: 3
|
|
10
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
10
11
|
Classifier: Programming Language :: Python :: 3.11
|
|
11
12
|
Classifier: Programming Language :: Python :: 3.12
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
12
14
|
Classifier: License :: OSI Approved :: MIT License
|
|
13
|
-
Requires-Python: <3.
|
|
15
|
+
Requires-Python: <3.14,>=3.10
|
|
14
16
|
Description-Content-Type: text/markdown
|
|
15
17
|
License-File: LICENSE
|
|
16
|
-
Requires-Dist: numpy<2
|
|
18
|
+
Requires-Dist: numpy<2.3
|
|
17
19
|
Requires-Dist: sal>=1.2.5
|
|
18
20
|
Requires-Dist: xarray
|
|
19
21
|
Dynamic: license-file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|