Skip to content

Commit

Permalink
forgot to test ACCA
Browse files Browse the repository at this point in the history
  • Loading branch information
ircwaves committed Feb 18, 2016
1 parent cbecb45 commit f1afe13
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions gips/data/landsat/landsat.py
Original file line number Diff line number Diff line change
Expand Up @@ -570,9 +570,10 @@ def process(self, products=None, overwrite=False, **kwargs):
dilation = 10
cloudheight = 4000
resset = set(
[band.Resolution() for band in (
self.assets['DN'].visbands +
self.assets['DN'].lwbands)]
[(reflimg[band].Resolution().x(),
reflimg[band].Resolution().y())
for band in (self.assets['DN'].visbands +
self.assets['DN'].lwbands)]
)
if len(resset) > 1:
raise Exception(
Expand Down Expand Up @@ -730,7 +731,7 @@ def process(self, products=None, overwrite=False, **kwargs):
)
imgout.Process()
abimg = None
os.remove(abfn)
os.remove(abfn + '.tif')
fname = imgout.Filename()
imgout.SetMeta(md)
imgout = None
Expand Down

0 comments on commit f1afe13

Please sign in to comment.