From d154f2c4c71d2e64f78bd0ce44fb95aef3633126 Mon Sep 17 00:00:00 2001
From: Greg Quinn <greg.quinn@ssec.wisc.edu>
Date: Tue, 3 Oct 2017 13:48:14 +0000
Subject: [PATCH] Fix BasicStream offset when with_data=False

---
 edosl0util/stream.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/edosl0util/stream.py b/edosl0util/stream.py
index 0342487..60631fb 100644
--- a/edosl0util/stream.py
+++ b/edosl0util/stream.py
@@ -100,6 +100,7 @@ class BasicStream(object):
         else:
             data = None
             self.file.seek(data_size, os.SEEK_CUR)
+            self._offset += data_size
         return self.Tracker(h1, h2, total_size, offset, data)
 
 
-- 
GitLab