From 326ef196d86b536e1a54db452ec71366ac8227dd Mon Sep 17 00:00:00 2001
From: Coda Phillips <cphillips@sean.ssec.wisc.edu>
Date: Thu, 30 Jun 2016 11:48:15 -0500
Subject: [PATCH] Output float from scene_checks

---
 scene_checks.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scene_checks.py b/scene_checks.py
index 17c6c13..8a3fe88 100644
--- a/scene_checks.py
+++ b/scene_checks.py
@@ -23,7 +23,7 @@ def safing_check(frame, parameters):
         return frame
 
     hatch_closing = ((frame.hatchOpen == 1)  & ((frame.hatchOpen == -3).diff(-1) == 1)).shift(1)
-    frame['safing_check'] = hatch_closing & frame.sceneMirrorPosition.isin([ord('H'), ord('A')])
+    frame['safing_check'] = (hatch_closing & frame.sceneMirrorPosition.isin([ord('H'), ord('A')])) * 1
     frame = invalidate_records(frame, 'safing_check')
     return frame
 
-- 
GitLab