Skip to content
Snippets Groups Projects
Commit 2ae4082b authored by Nick Bearson's avatar Nick Bearson
Browse files

fix for the offsets being... off

parent a3262e1b
Branches master
No related tags found
No related merge requests found
......@@ -186,6 +186,12 @@ class Aggregator(object):
# aggregated IFF files, not into the original VIIRS granule!!!
# XXX needs generalizing (use self._bounds_key)
# (try test case: iff start time > start time of 1st granule)
# NICKB: attempted fix for the above
first_index = np.nonzero(self._bounds_key)[0][0]
if startY == 0:
startY = startY - first_index
f[f >= 0] += startY
startY += f.shape[1]
datalist.append(f)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment