Suppose the number of fine channels = 100,000
and the gulp size default of 2^19 is taken.
Then, in data_array.pyiterate_through_data__slices, an assertion will fail.
Better to reduce the gulp size to be the number of fine channels.
And, catch this condition earlier in the code.
Solution in hyperseti.pyfind_et:
ds = from_h5(filename)
if gulp_size > ds.data.shape[2]:
logger.warning("find_et: gulp_size ({}) > Num fine frequency channels ({}). Setting gulp_size = {}"
.format(gulp_size, ds.data.shape[2], ds.data.shape[2]))
gulp_size = ds.data.shape[2]
Suppose the number of fine channels = 100,000 and the gulp size default of 2^19 is taken. Then, in
data_array.py
iterate_through_data
__slices
, an assertion will fail. Better to reduce the gulp size to be the number of fine channels. And, catch this condition earlier in the code.Solution in
hyperseti.py
find_et
: