xarray-ms 0.2.8__tar.gz → 0.2.9__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.2.8 → xarray_ms-0.2.9}/PKG-INFO +1 -1
- {xarray_ms-0.2.8 → xarray_ms-0.2.9}/pyproject.toml +2 -2
- {xarray_ms-0.2.8 → xarray_ms-0.2.9}/xarray_ms/backend/msv2/imputation.py +6 -0
- {xarray_ms-0.2.8 → xarray_ms-0.2.9}/xarray_ms/testing/simulator.py +1 -0
- {xarray_ms-0.2.8 → xarray_ms-0.2.9}/LICENSE +0 -0
- {xarray_ms-0.2.8 → xarray_ms-0.2.9}/README.rst +0 -0
- {xarray_ms-0.2.8 → xarray_ms-0.2.9}/xarray_ms/__init__.py +0 -0
- {xarray_ms-0.2.8 → xarray_ms-0.2.9}/xarray_ms/backend/msv2/array.py +0 -0
- {xarray_ms-0.2.8 → xarray_ms-0.2.9}/xarray_ms/backend/msv2/encoders.py +0 -0
- {xarray_ms-0.2.8 → xarray_ms-0.2.9}/xarray_ms/backend/msv2/entrypoint.py +0 -0
- {xarray_ms-0.2.8 → xarray_ms-0.2.9}/xarray_ms/backend/msv2/entrypoint_utils.py +0 -0
- {xarray_ms-0.2.8 → xarray_ms-0.2.9}/xarray_ms/backend/msv2/factories/__init__.py +0 -0
- {xarray_ms-0.2.8 → xarray_ms-0.2.9}/xarray_ms/backend/msv2/factories/antenna.py +0 -0
- {xarray_ms-0.2.8 → xarray_ms-0.2.9}/xarray_ms/backend/msv2/factories/correlated.py +0 -0
- {xarray_ms-0.2.8 → xarray_ms-0.2.9}/xarray_ms/backend/msv2/partition.py +0 -0
- {xarray_ms-0.2.8 → xarray_ms-0.2.9}/xarray_ms/backend/msv2/structure.py +0 -0
- {xarray_ms-0.2.8 → xarray_ms-0.2.9}/xarray_ms/casa_types.py +0 -0
- {xarray_ms-0.2.8 → xarray_ms-0.2.9}/xarray_ms/errors.py +0 -0
- {xarray_ms-0.2.8 → xarray_ms-0.2.9}/xarray_ms/msv4_types.py +0 -0
- {xarray_ms-0.2.8 → xarray_ms-0.2.9}/xarray_ms/multiton.py +0 -0
- {xarray_ms-0.2.8 → xarray_ms-0.2.9}/xarray_ms/query.py +0 -0
- {xarray_ms-0.2.8 → xarray_ms-0.2.9}/xarray_ms/testing/__init__.py +0 -0
- {xarray_ms-0.2.8 → xarray_ms-0.2.9}/xarray_ms/testing/utils.py +0 -0
- {xarray_ms-0.2.8 → xarray_ms-0.2.9}/xarray_ms/utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "xarray-ms"
|
|
3
|
-
version = "0.2.
|
|
3
|
+
version = "0.2.9"
|
|
4
4
|
description = "xarray MSv4 views over MSv2 Measurement Sets"
|
|
5
5
|
authors = ["Simon Perkins <simon.perkins@gmail.com>"]
|
|
6
6
|
readme = "README.rst"
|
|
@@ -58,7 +58,7 @@ build-backend = "poetry.core.masonry.api"
|
|
|
58
58
|
# github_url = "https://github.com/<user or organization>/<project>/"
|
|
59
59
|
|
|
60
60
|
[tool.tbump.version]
|
|
61
|
-
current = "0.2.
|
|
61
|
+
current = "0.2.9"
|
|
62
62
|
|
|
63
63
|
# Example of a semver regexp.
|
|
64
64
|
# Make sure this matches current_version before
|
|
@@ -17,6 +17,12 @@ def _maybe_return_table_or_max_id(
|
|
|
17
17
|
) -> pa.Table | int:
|
|
18
18
|
"""Returns the existing table if a row entry exists,
|
|
19
19
|
else returns the maximum id"""
|
|
20
|
+
|
|
21
|
+
# NOTE(sjperkins)
|
|
22
|
+
# Negative ids are invalid foreign keys
|
|
23
|
+
# AFAICT this implies there's no entry in the associated subtable
|
|
24
|
+
# Set a ceiling of 0 for imputation purposes
|
|
25
|
+
ids = np.concatenate([ids, [0]])
|
|
20
26
|
max_id = np.max(ids)
|
|
21
27
|
|
|
22
28
|
if max_id < len(table):
|
|
@@ -413,6 +413,7 @@ class MSStructureSimulator:
|
|
|
413
413
|
feed = desc.feed_map[tuple(corrs.polarisation_types())]
|
|
414
414
|
|
|
415
415
|
array_groups: List[Tuple[List[str], List[npt.NDArray]]] = [
|
|
416
|
+
(["PROCESSOR_ID"], [desc.PROCESSOR_ID]),
|
|
416
417
|
(["OBSERVATION_ID"], [desc.OBSERVATION_ID]),
|
|
417
418
|
(["FIELD_ID"], [desc.FIELD_ID]),
|
|
418
419
|
(["DATA_DESC_ID"], [desc.DATA_DESC_ID]),
|
|
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
|