From 6f4479ccf22d1fe02cfcf66f4331e3268b8808ba Mon Sep 17 00:00:00 2001
From: Aaron Viets <aaron.viets@ligo.org>
Date: Thu, 14 Jun 2018 07:04:14 -0700
Subject: [PATCH] gstlal_compute_strain:  fixed state vector EPICS option for
 L1

---
 gstlal-calibration/bin/gstlal_compute_strain | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gstlal-calibration/bin/gstlal_compute_strain b/gstlal-calibration/bin/gstlal_compute_strain
index 458333f732..c2b3d82145 100755
--- a/gstlal-calibration/bin/gstlal_compute_strain
+++ b/gstlal-calibration/bin/gstlal_compute_strain
@@ -413,8 +413,10 @@ elif not options.factors_from_filters_file:
 # How many EPICS will we for the CALIB_STATE_VECTOR calculation? It depends on the IFO and the time we are calibrating
 if options.no_dq_vector:
 	num_dq_epics = 0
-elif (options.ifo == "H1" and int(options.gps_start_time) > 1175976256) or (options.ifo == "L1" and int(options.gps_start_time) > 1179588864):
+elif options.ifo == "H1" and int(options.gps_start_time) > 1175976256:
 	num_dq_epics = 14
+elif options.ifo == "L1" and int(options.gps_start_time) > 1179588864:
+	num_dq_epics = 10
 else:
 	num_dq_epics = 9
 
-- 
GitLab