merging of EMR data incoming in CCD format