Commit ab79dfb4 authored by Aaron Viets's avatar Aaron Viets
Browse files

gstlal-calibration plotting script edit

parent 46d726a6
Pipeline #203561 failed with stages
in 4 minutes and 48 seconds
......@@ -8,11 +8,11 @@ IFO = H
# determines where to look for filters files (e.g., O1, O2, O3, ER10, ER13, ER14, PreER10, PreER13, PreER14)
OBSRUN = O3
START = $(shell echo 1237831461 | bc)
START = $(shell echo 1256655618 | bc)
# 1237831461
# 1238288418
# 1269090018
END = $(shell echo 1253977218 | bc)
END = $(shell echo 1269367218 | bc)
# 1269367218
# 1238338818
# 1269133218
......
......@@ -125,7 +125,7 @@ while gps < tstart + dursec:
if month == 'Dec' and day == 31:
gps += 1 # In case there is a leap second
utc = os.popen("lalapps_tconvert %d" % gps).read()
year = int(utc[20:24])
year = int(utc[24:28])
month = utc[4:7]
day = int(utc[8:10])
gps = int(os.popen("lalapps_tconvert %s %d 00:00:00 GMT %d" % (month, day, year)).read())
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment