Skip to content
Snippets Groups Projects
Commit 807cdbde authored by chad.hanna's avatar chad.hanna
Browse files

gstlal_ll_dq: update to use new aggregator api

parent e96eaf58
No related branches found
No related tags found
No related merge requests found
......@@ -104,7 +104,7 @@ class PSDHandler(simplehandler.Handler):
aggregator.makedir(nextdir)
this_fname, this_x, this_y = aggregator.get_dataset(thisdir, route)
next_fname, next_x, next_y = aggregator.get_dataset(nextdir, route)
xarr, yarr = aggregator.reduce_data(this_x + next_x, this_y + next_y, func, level = level + 1)
xarr, yarr = aggregator.reduce_data(numpy.concatenate((this_x,next_x)), numpy.concatenate((this_y, next_y)), func, level = level + 1)
self.to_hdf5(next_fname, {"time": numpy.array(xarr), "data": numpy.array(yarr)})
# The PSD is special, we just record it. No min/median/max
thisdir = os.path.join(os.path.join(self.out_path, aggregator.gps_to_leaf_directory(buftime)), self.instrument)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment