Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion katdal/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@
from .concatdata import ConcatenatedDataSet
from .h5datav1 import H5DataV1
from .h5datav2 import H5DataV2
from .h5datav2_5 import H5DataV2_5
from .h5datav3 import H5DataV3
from .visdatav4 import VisibilityDataV4

Expand Down Expand Up @@ -266,7 +267,7 @@ def filter(self, record):
# -- Top-level functions passed on to the appropriate format handler
# -----------------------------------------------------------------------------

formats = [H5DataV3, H5DataV2, H5DataV1]
formats = [H5DataV3, H5DataV2_5, H5DataV2, H5DataV1]


def _file_action(action, filename, *args, **kwargs):
Expand Down
2 changes: 1 addition & 1 deletion katdal/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,7 @@ def select(self, **kwargs):

# or separate polarisation selections together
for polAB in pols:
polAB = polAB * 2 if polAB in ('h', 'v') else polAB
polAB = polAB * 2 if polAB in ('h', 'v', 'l', 'r') else polAB
keep |= [(inpA[-1] == polAB[0] and inpB[-1] == polAB[1])
for inpA, inpB in self.subarrays[self.subarray].corr_products]

Expand Down
Loading