xarray-ms 0.4.0a4__tar.gz → 0.4.0a5__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.
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/PKG-INFO +1 -1
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/doc/source/changelog.rst +2 -1
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/doc/source/conf.py +1 -1
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/pyproject.toml +4 -4
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/tests/test_read.py +41 -0
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/xarray_ms/backend/msv2/factories/correlated.py +7 -2
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/.github/ISSUE_TEMPLATE.md +0 -0
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/.github/dependabot.yml +0 -0
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/.github/workflows/ci.yml +0 -0
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/.github/workflows/pre-commit.yml +0 -0
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/.github/workflows/readthedocs.yml +0 -0
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/.gitignore +0 -0
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/.pre-commit-config.yaml +0 -0
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/.readthedocs.yaml +0 -0
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/LICENSE +0 -0
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/README.rst +0 -0
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/doc/Makefile +0 -0
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/doc/make.bat +0 -0
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/doc/source/api.rst +0 -0
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/doc/source/index.rst +0 -0
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/doc/source/install.rst +0 -0
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/doc/source/introduction.rst +0 -0
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/doc/source/links.rst +0 -0
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/doc/source/partitioning.rst +0 -0
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/doc/source/roadmap.rst +0 -0
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/doc/source/tutorial.rst +0 -0
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/hello.txt +0 -0
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/tests/__init__.py +0 -0
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/tests/conftest.py +0 -0
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/tests/msv4_test_corpus/__init__.py +0 -0
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/tests/msv4_test_corpus/conftest.py +0 -0
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/tests/msv4_test_corpus/test_msv_corpus.py +0 -0
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/tests/test_antenna.py +0 -0
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/tests/test_backend.py +0 -0
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/tests/test_basic.py +0 -0
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/tests/test_field_and_source.py +0 -0
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/tests/test_github.py +0 -0
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/tests/test_imputation.py +0 -0
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/tests/test_measures.py +0 -0
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/tests/test_multiton.py +0 -0
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/tests/test_structure.py +0 -0
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/tests/test_table_utils.py +0 -0
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/tests/test_utils.py +0 -0
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/tests/test_write.py +0 -0
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/tests/test_zarr_roundtrip.py +0 -0
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/xarray_ms/__init__.py +0 -0
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/xarray_ms/backend/msv2/array.py +0 -0
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/xarray_ms/backend/msv2/entrypoint.py +0 -0
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/xarray_ms/backend/msv2/entrypoint_utils.py +0 -0
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/xarray_ms/backend/msv2/factories/__init__.py +0 -0
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/xarray_ms/backend/msv2/factories/antenna.py +0 -0
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/xarray_ms/backend/msv2/factories/core.py +0 -0
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/xarray_ms/backend/msv2/factories/field_and_source.py +0 -0
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/xarray_ms/backend/msv2/imputation.py +0 -0
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/xarray_ms/backend/msv2/measures_adapters.py +0 -0
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/xarray_ms/backend/msv2/measures_encoders.py +0 -0
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/xarray_ms/backend/msv2/partition.py +0 -0
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/xarray_ms/backend/msv2/structure.py +0 -0
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/xarray_ms/backend/msv2/table_utils.py +0 -0
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/xarray_ms/backend/msv2/writes.py +0 -0
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/xarray_ms/casa_types.py +0 -0
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/xarray_ms/errors.py +0 -0
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/xarray_ms/msv4_types.py +0 -0
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/xarray_ms/multiton.py +0 -0
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/xarray_ms/query.py +0 -0
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/xarray_ms/testing/__init__.py +0 -0
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/xarray_ms/testing/simulator.py +0 -0
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/xarray_ms/testing/utils.py +0 -0
- {xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/xarray_ms/utils.py +0 -0
|
@@ -3,8 +3,9 @@
|
|
|
3
3
|
Changelog
|
|
4
4
|
=========
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
0.5.3 (11-05-2026)
|
|
7
7
|
------------------
|
|
8
|
+
* Expand standard msv2 columns supported during reads (:pr:`153`)
|
|
8
9
|
* Handle duplicate antenna name (:pr:`151`)
|
|
9
10
|
* Deprecate python 3.10 support (:pr:`150`)
|
|
10
11
|
* Add python 3.14 to CI testing matrix (:pr:`150`)
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
project = "xarray-ms"
|
|
12
12
|
copyright = "2024 - 2025 NRF (SARAO) and Rhodes University (RATT) Centre"
|
|
13
13
|
author = "Simon Perkins"
|
|
14
|
-
release = "0.4.0-alpha.
|
|
14
|
+
release = "0.4.0-alpha.5"
|
|
15
15
|
|
|
16
16
|
# -- General configuration ---------------------------------------------------
|
|
17
17
|
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "xarray-ms"
|
|
3
|
-
version = "0.4.0-alpha.
|
|
3
|
+
version = "0.4.0-alpha.5"
|
|
4
4
|
description = "xarray MSv4 views over MSv2 Measurement Sets"
|
|
5
5
|
authors = [{name = "Simon Perkins", email = "simon.perkins@gmail.com"}]
|
|
6
6
|
readme = "README.rst"
|
|
@@ -55,7 +55,7 @@ extend-select = ["I"]
|
|
|
55
55
|
# github_url = "https://github.com/<user or organization>/<project>/"
|
|
56
56
|
|
|
57
57
|
[tool.tbump.version]
|
|
58
|
-
current = "0.4.0-alpha.
|
|
58
|
+
current = "0.4.0-alpha.5"
|
|
59
59
|
|
|
60
60
|
# https://semver.org/#spec-item-9
|
|
61
61
|
regex = '''
|
|
@@ -77,11 +77,11 @@ tag_template = "{new_version}"
|
|
|
77
77
|
# tbump.toml location.
|
|
78
78
|
[[tool.tbump.file]]
|
|
79
79
|
src = "pyproject.toml"
|
|
80
|
-
search =
|
|
80
|
+
search = 'version = "{current_version}"'
|
|
81
81
|
|
|
82
82
|
[[tool.tbump.file]]
|
|
83
83
|
src = "doc/source/conf.py"
|
|
84
|
-
search =
|
|
84
|
+
search = 'release = "{current_version}"'
|
|
85
85
|
|
|
86
86
|
# You can specify a list of commands to
|
|
87
87
|
# run after the files have been patched
|
|
@@ -415,6 +415,30 @@ NONSTANDARD_TABLE_DESC = {
|
|
|
415
415
|
# 'shape': ..., # Variably shaped
|
|
416
416
|
"valueType": "COMPLEX",
|
|
417
417
|
},
|
|
418
|
+
"MODEL_DATA": {
|
|
419
|
+
"_c_order": True,
|
|
420
|
+
"comment": "MODEL_DATA column",
|
|
421
|
+
"dataManagerGroup": "StandardStMan",
|
|
422
|
+
"dataManagerType": "StandardStMan",
|
|
423
|
+
"keywords": {},
|
|
424
|
+
"maxlen": 0,
|
|
425
|
+
"ndim": 2,
|
|
426
|
+
"option": 0,
|
|
427
|
+
# 'shape': ..., # Variably shaped
|
|
428
|
+
"valueType": "COMPLEX",
|
|
429
|
+
},
|
|
430
|
+
"FLOAT_DATA": {
|
|
431
|
+
"_c_order": True,
|
|
432
|
+
"comment": "FLOAT_DATA column",
|
|
433
|
+
"dataManagerGroup": "StandardStMan",
|
|
434
|
+
"dataManagerType": "StandardStMan",
|
|
435
|
+
"keywords": {},
|
|
436
|
+
"maxlen": 0,
|
|
437
|
+
"ndim": 2,
|
|
438
|
+
"option": 0,
|
|
439
|
+
# 'shape': ..., # Variably shaped
|
|
440
|
+
"valueType": "FLOAT",
|
|
441
|
+
},
|
|
418
442
|
"CORRELATED_WEIGHT_SPECTRUM": {
|
|
419
443
|
"_c_order": True,
|
|
420
444
|
"comment": "CORRELATED_WEIGHT_SPECTRUM column",
|
|
@@ -432,6 +456,8 @@ NONSTANDARD_TABLE_DESC = {
|
|
|
432
456
|
|
|
433
457
|
def _add_non_standard_columns(chunk_desc, data_dict):
|
|
434
458
|
data_dict["CORRELATED_DATA"] = data_dict["DATA"]
|
|
459
|
+
data_dict["MODEL_DATA"] = data_dict["DATA"]
|
|
460
|
+
data_dict["FLOAT_DATA"] = (data_dict["DATA"][0], data_dict["DATA"][1].real)
|
|
435
461
|
return data_dict
|
|
436
462
|
|
|
437
463
|
|
|
@@ -463,3 +489,18 @@ def test_additional_columns(simmed_ms):
|
|
|
463
489
|
"polarization",
|
|
464
490
|
)
|
|
465
491
|
assert node["CORRELATED_DATA"].equals(node["VISIBILITY"])
|
|
492
|
+
assert node["FLOAT_DATA"].dims == (
|
|
493
|
+
"time",
|
|
494
|
+
"baseline_id",
|
|
495
|
+
"frequency",
|
|
496
|
+
"polarization",
|
|
497
|
+
)
|
|
498
|
+
assert node["FLOAT_DATA"].equals(node["VISIBILITY"].real)
|
|
499
|
+
|
|
500
|
+
assert node["MODEL_DATA"].dims == (
|
|
501
|
+
"time",
|
|
502
|
+
"baseline_id",
|
|
503
|
+
"frequency",
|
|
504
|
+
"polarization",
|
|
505
|
+
)
|
|
506
|
+
assert node["MODEL_DATA"].equals(node["VISIBILITY"])
|
|
@@ -176,11 +176,16 @@ class CorrelatedFactory(DatasetFactory):
|
|
|
176
176
|
from arcae.lib.arrow_tables import ms_descriptor
|
|
177
177
|
|
|
178
178
|
# Ignore all standard msv2 columns, except
|
|
179
|
-
# for CORRECTED_DATA and
|
|
179
|
+
# for CORRECTED_DATA, CORRECTED_WEIGHT_SPECTRUM, FLOAT_DATA and MODEL_DATA
|
|
180
180
|
ignored_msv2_column_set = {
|
|
181
181
|
c for c in ms_descriptor("MAIN", complete=True).keys() if not c.startswith("_")
|
|
182
182
|
}
|
|
183
|
-
ignored_msv2_column_set -= {
|
|
183
|
+
ignored_msv2_column_set -= {
|
|
184
|
+
"CORRECTED_DATA",
|
|
185
|
+
"CORRECTED_WEIGHT_SPECTRUM",
|
|
186
|
+
"MODEL_DATA",
|
|
187
|
+
"FLOAT_DATA",
|
|
188
|
+
}
|
|
184
189
|
remaining_columns = set(self._ms_factory.instance.columns())
|
|
185
190
|
remaining_columns -= ignored_msv2_column_set
|
|
186
191
|
remaining_columns -= processed_columns
|
|
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
|
|
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
|
{xarray_ms-0.4.0a4 → xarray_ms-0.4.0a5}/xarray_ms/backend/msv2/factories/field_and_source.py
RENAMED
|
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
|