Skip to content

Facing issues while using applycal, "std exception detected: DP3 expects a measurement set with 4 polarizations" #349

@dipanjanbanerjee

Description

@dipanjanbanerjee

I am trying to apply a h5parm file converted from casa gaincal tables. but whenever trying to apply the h5parm file getting the following error:

(dp3env) [cbanerjee@graphics1 graphics1]$ python apply_h5parm.py
[14:19:45] ============================================================
[14:19:45] DD Calibration Apply + Imaging Pipeline
[14:19:45] ============================================================
[14:19:45] Inspecting H5Parm: /scratch/cbanerjee/facet_gains/dd_gains_8facets.h5
Solsets found: ['sol000']
[sol000] soltabs: ['antenna', 'phase000', 'source']
[phase000] AXES : None
[phase000] shape : (477, 1, 32, 8, 2)
[phase000] pol : [b'XX' b'YY']
[14:19:45] Auto-selected → solset: sol000 | correction: scalarphase
[14:19:45] MS polarizations will be UNCHANGED — ApplyCal only modifies phases
[14:19:45] Copying MS: /scratch/cbanerjee/facet_gains/46_032_27APR2024_B3_E1.RRLLFITS.CH3501-5548.10s.ms → /scratch/cbanerjee/facet_gains/46_032_27APR2024_B3_E1.RRLLFITS.CH3501-5548.10s_DD.ms
[14:28:00] MS copy complete.
[14:28:00] Parset written → /scratch/cbanerjee/facet_gains/applycal.parset
msin = /scratch/cbanerjee/facet_gains/46_032_27APR2024_B3_E1.RRLLFITS.CH3501-5548.10s_DD.ms
msin.datacolumn = DATA

msout = .
msout.datacolumn = CORRECTED_DATA

steps = [applycal]

applycal.type = applycal
applycal.parmdb = /scratch/cbanerjee/facet_gains/dd_gains_8facets.h5
applycal.solset = sol000
applycal.correction = scalarphase
applycal.interpolation = nearest
applycal.missingantennabehavior = flag
[14:28:00] Applying H5Parm solutions with DP3...
[14:28:00] Running: DP3 ApplyCal

std exception detected: DP3 expects a measurement set with 4 polarizations
[14:28:01] ERROR: command failed with code 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions