From ffa70e6289439b6eda400dad28c5f7fee9e8d5b4 Mon Sep 17 00:00:00 2001
From: Tanner Prestegard <tanner.prestegard@ligo.org>
Date: Thu, 9 May 2019 14:05:25 -0500
Subject: [PATCH] Add ER13, ER14, and O3 time intervals for searches

---
 gracedb/search/constants.py | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/gracedb/search/constants.py b/gracedb/search/constants.py
index 3df972b8b..2b8ef6d45 100644
--- a/gracedb/search/constants.py
+++ b/gracedb/search/constants.py
@@ -17,6 +17,14 @@ ExpressionOperator.setParseAction(lambda toks: EXPR_OPERATORS[toks[0]])
 
 # Dict of LIGO run names (keys) and GPS time range tuples (values)
 RUN_MAP = {
+    # FIXME: O3 end not determined at present (May 2019), end time currently
+    # set to be 1 year from start date
+    # 01 Apr 2019 15:00:00 UTC - ?? (currently using 01 Apr 2020 15:00:00 UTC)
+    "O3": (1238166018, 1269788418),
+    # 04 Mar 2019 16:00:00 UTC - 01 Apr 2019 15:00:00 UTC
+    "ER14": (1235750418, 1238166018),
+    # 14 Dec 2018 16:00:00 UTC - 18 Dec 2018 14:00:00 UTC
+    "ER13": (1228838418, 1229176818),
     # 30 Nov 2016 16:00:00 UTC - 25 Aug 2017 22:00:00 UTC
     "O2"  :     (1164556817, 1187733618),
     # Friday, Sept 18th, 10 AM CDT 2015 - Tuesday, Jan 12th, 10:00 AM CST 2016
-- 
GitLab