diff --git a/RTCP/Cobalt/OutputProc/src/TBB_Dipole.cc b/RTCP/Cobalt/OutputProc/src/TBB_Dipole.cc index 3ee72f14c7cb6dc85bc866422ad8d550bba326ba..4fc9a635ae0f9a979bce5131c91bb3452af51744 100644 --- a/RTCP/Cobalt/OutputProc/src/TBB_Dipole.cc +++ b/RTCP/Cobalt/OutputProc/src/TBB_Dipole.cc @@ -374,11 +374,8 @@ namespace LOFAR * * Also create a new TBB_SubbandDataset in the DipoleGroup */ - else if((currentSubBand.isInitialised == false) - && (currentSubBand.dataSet.get() != nullptr)) + else if(currentSubBand.isInitialised == false) { - currentSubBand.isInitialised = true; - currentSubBand.time0 = frame.header.time; currentSubBand.slice0 = sliceNr; @@ -429,6 +426,8 @@ namespace LOFAR currentSubBand.dataSet->bandwidthUnit().value = "not filled in"; + currentSubBand.isInitialised = true; + LOG_INFO_STR("TBB: Band #" << currentSubBand.bandNr << " initialised with the following data: time0 = "