From 6d7b007e383598d66fda6cd3d500170f20ba0956 Mon Sep 17 00:00:00 2001
From: Bruce Flynn <brucef@ssec.wisc.edu>
Date: Wed, 3 Feb 2016 20:55:24 +0000
Subject: [PATCH] Make sure to do float division

---
 edosl0util/timecode.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/edosl0util/timecode.py b/edosl0util/timecode.py
index dbe86f5..414e142 100644
--- a/edosl0util/timecode.py
+++ b/edosl0util/timecode.py
@@ -20,7 +20,7 @@ def cds_to_timestamp(days, millis, micros, epoch):
     """
     CDS to unix timestamp seconds.
     """
-    return epoch + (86400 * days) + (millis / 1000.) + (micros / 1000000)
+    return epoch + (86400 * days) + (millis / 1000.) + (micros / 1000000.)
 
 
 def cds_stamp(days, millis, micros, epoch=JPSS_EPOCH):
-- 
GitLab