From 7f7f9283724da5c41f187d7db4a2cbb3fde6e5ab Mon Sep 17 00:00:00 2001
From: "chad.hanna" <crh184@psu.edu>
Date: Wed, 12 Dec 2018 17:52:41 -0800
Subject: [PATCH] gstlal_ll_dq: improve tmp file use

---
 gstlal-ugly/bin/gstlal_ll_dq | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gstlal-ugly/bin/gstlal_ll_dq b/gstlal-ugly/bin/gstlal_ll_dq
index 1b3cb6250c..b0bfd1e4a2 100755
--- a/gstlal-ugly/bin/gstlal_ll_dq
+++ b/gstlal-ugly/bin/gstlal_ll_dq
@@ -121,7 +121,8 @@ class PSDHandler(simplehandler.Handler):
 		return Gst.FlowReturn.OK
 
 	def to_hdf5(self, path, datadict):
-		tmppath = path + ".tmp"
+		tmppath = "/dev/shm/%s" % path.replace("/","_") + ".tmp"
+		print tmppath
 		f = h5py.File(tmppath, "w")
 		for k, v in datadict.items():
 			f[k] = v
-- 
GitLab