Skip to content

Commit

Permalink
Minor date raster error
Browse files Browse the repository at this point in the history
  • Loading branch information
sambowers committed Jun 6, 2018
1 parent 6184884 commit a856215
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions biota/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ def __getDay(self):
# If required, downsample the dates array
if self.downsample_factor != 1:

day_after_launch = skimage.measure.block_reduce(dates, (self.downsample_factor, self.downsample_factor), np.max)
day_after_launch = skimage.measure.block_reduce(day_after_launch, (self.downsample_factor, self.downsample_factor), np.max)

return day_after_launch

Expand Down Expand Up @@ -994,4 +994,4 @@ def __showArray(self, data, title = '', cbartitle = '', vmin = None, vmax = None

biota.IO.showFigure(self, data, title = title, cbartitle = cbartitle, vmin = vmin, vmax = vmax, cmap = cmap)



0 comments on commit a856215

Please sign in to comment.