Skip to content

Commit

Permalink
Merge pull request #2 from ratt-ru/uvw-to-uvw_label
Browse files Browse the repository at this point in the history
Correct uvw dimension to uvw_label
  • Loading branch information
sjperkins authored Sep 9, 2024
2 parents 3370efd + 5f6709f commit 7582130
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xarray_ms/backend/msv2/main_dataset_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class MSv2ColumnSchema:
"INTEGRATION_TIME": MSv2ColumnSchema("INTERVAL", (), np.nan, QuantityCoder),
"TIME_CENTROID": MSv2ColumnSchema("TIME_CENTROID", (), np.nan, TimeCoder),
"EFFECTIVE_INTEGRATION_TIME": MSv2ColumnSchema("EXPOSURE", (), np.nan, QuantityCoder),
"UVW": MSv2ColumnSchema("UVW", ("uvw",), np.nan, None),
"UVW": MSv2ColumnSchema("UVW", ("uvw_label",), np.nan, None),
"FLAG": MSv2ColumnSchema("FLAG", ("frequency", "polarization"), 1, None),
"VISIBILITY": MSv2ColumnSchema(
"DATA", ("frequency", "polarization"), np.nan + np.nan * 1j, None
Expand All @@ -42,7 +42,7 @@ class MSv2ColumnSchema:
),
}

FIXED_DIMENSION_SIZES = {"uvw": 3}
FIXED_DIMENSION_SIZES = {"uvw_label": 3}


class MainDatasetFactory:
Expand Down

0 comments on commit 7582130

Please sign in to comment.