Skip to content

Commit

Permalink
Merge pull request ARM-DOE#322 from AdamTheisen/master
Browse files Browse the repository at this point in the history
BUG: Bug fix for the add_dqr_to_qc.
  • Loading branch information
AdamTheisen authored May 6, 2021
2 parents f6d4cc9 + 0b7b3c4 commit 0eb2d3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions act/qc/arm.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ def add_dqr_to_qc(obj, variable=None, assessment='incorrect,suspect',
if include is not None and line[0] not in include:
continue

line[1] = dt.datetime.fromtimestamp(int(line[1]))
line[2] = dt.datetime.fromtimestamp(int(line[2]))
line[1] = dt.datetime.utcfromtimestamp(int(line[1]))
line[2] = dt.datetime.utcfromtimestamp(int(line[2]))
ind = np.where((time >= np.datetime64(line[1])) & (time <= np.datetime64(line[2])))
if len(ind[0]) == 0:
continue
Expand Down

0 comments on commit 0eb2d3e

Please sign in to comment.