From f0bae3cd565dc4de3ffacb9bc4ec2a7e97a1296a Mon Sep 17 00:00:00 2001 From: Tammo Jan Dijkema <dijkema@astron.nl> Date: Thu, 1 Feb 2018 15:26:02 +0000 Subject: [PATCH] Task #11514: DPPP: allow non-existing time axis in H5Parm --- CEP/DP3/DPPP/src/SolTab.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/CEP/DP3/DPPP/src/SolTab.cc b/CEP/DP3/DPPP/src/SolTab.cc index 992080624c4..b0daf4a1334 100644 --- a/CEP/DP3/DPPP/src/SolTab.cc +++ b/CEP/DP3/DPPP/src/SolTab.cc @@ -215,7 +215,6 @@ namespace LOFAR { hsize_t count[_axes.size()]; hsize_t stride[_axes.size()]; - bool timeAxisFound = false; for (uint i=0; i<_axes.size(); ++i) { stride[i] = 1; count[i] = 1; @@ -225,7 +224,6 @@ namespace LOFAR { stride[i] = timestep; count[i] = ntime; memdims[i] = ntime; - timeAxisFound = true; } else if (_axes[i].name=="freq") { offset[i] = startfreq; stride[i] = freqstep; @@ -243,8 +241,6 @@ namespace LOFAR { } } - ASSERT(timeAxisFound); - H5::DataSpace dataspace = val.getSpace(); dataspace.selectHyperslab(H5S_SELECT_SET, count, offset, stride); -- GitLab