Diagonal solutions need to be applied as full Jones
Hyoyin noticed that if she solves in DDECal for diagonal solutions, she nevertheless needs to apply them as full Jones. If she doesn't, an error is reported by Dp3. She uses an older version of Dp3 (Dawn cluster...) so things might have changed, but I don't recall any recent changes in this aspect, so it would be good to check.
I'll paste two parsets she uses to solve and then apply. Note the h5 names differ, but Hyoyin did use the same h5 names in her run when she got the error.
Solve:
msin = /net/node111/data/users/lofareor/hgan/sap_005/MS/L612832_SAP005_selfcal4_redo_split_t0.MS
msin.datacolumn=DATA
msout =.
steps = [preflag, ddecal]
preflag.type=preflag
preflag.baseline= RS310*; RS409*; RS509*; RS508*
ddecal.type=ddecal
ddecal.mode=diagonal
ddecal.sourcedb= /net/node111/data/users/lofareor/hgan/ddecal/models/3patches-cc-sim-pb.sourcedb
ddecal.directions=[[cluster1], [CygA], [CasA]]
ddecal.h5parm= /net/node101/data/users/lofareor/hgan/ddecal/solutions/cc_sub_t0.h5
ddecal.solint=30
ddecal.nchan=3
ddecal.maxiter=100
ddecal.usebeammodel=true
ddecal.smoothnessconstraint=1e6
ddecal.uvlambdamin=50
ddecal.uvlambdamax=9500
apply/predict:
msin = /net/node101/data/users/lofareor/hgan/sap_005/MS/L612832_SAP005_SB350_selfcal4_redo.MS
msin.datacolumn=CORRECTED_DATA
msout = /net/node101/data/users/lofareor/hgan/sap_005//MS/L612832_SAP005_SB350_cc_sub.MS
msout.datacolumn=DATA
steps = [predict]
predict.type=h5parmpredict
predict.sourcedb= /net/node111/data/users/lofareor/hgan/ddecal/models/3patches-cc-sim-pb.sourcedb
predict.applycal.parmdb= /net/node101/data/users/lofareor/hgan/ddecal/solutions/cc_sub_all.h5
predict.directions=[[CygA], [CasA]]
predict.usebeammodel=true
predict.operation=subtract
predict.onebeamperpatch=false
predict.applycal.correction=fulljones
predict.applycal.steps=[applycal_amp, applycal_phase]
predict.applycal.applycal_amp.correction=amplitude000
predict.applycal.applycal_phase.correction=phase000
Edited by Andre Offringa