In DDECal output H5Parm is not correctly overwritten when changing mode
Created by: flomertens
If I leave the cal.h5parm the same, but change the mode/solint/nchan ... the h5 file is not correctly overwritten and is not usable. This happens with DDECal, I didn't check if gaincal is equally affected.