Skip to content
Snippets Groups Projects
Commit 86e39885 authored by Patrick Godwin's avatar Patrick Godwin
Browse files

gstlal_etg: changed hdf5 filenames to use T050017 file naming convention

parent 90ac95b5
No related branches found
No related tags found
No related merge requests found
......@@ -76,6 +76,7 @@ def setrlimit(res, lim):
setrlimit(resource.RLIMIT_NPROC, None)
setrlimit(resource.RLIMIT_AS, None)
setrlimit(resource.RLIMIT_RSS, None)
# FIXME: tests at CIT show that this next tweak has no effect. it's
# possible that SL7 has lowered the default stack size from SL6 and we
# don't need to do this anymore. remove?
......@@ -290,7 +291,8 @@ class MultiChannelHandler(simplehandler.Handler):
if options.save_hdf:
if idq_aggregator.in_new_epoch(buftime, self.last_save_time[(channel, rate)], self.cadence) or (options.trigger_end_time and buftime == int(options.trigger_end_time)):
if options.gps_end_time:
fname = '%s-%s-%s' % (self.tag, options.gps_start_time, options.gps_end_time)
# Uses the T050017 filenaming convention.
fname = '%s-%s-%s' % (self.tag, options.gps_start_time, options.gps_end_time - options.gps_start_time)
else:
fname = '%s-%d' % (self.tag, self.init_gps_time)
fpath = os.path.join(self.out_path, self.tag, self.tag+"-"+str(fname.split("-")[2])[:5])
......
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