Skip to content

Commit

Permalink
Update seasons.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ericgitonga authored Oct 8, 2023
1 parent 3a43e39 commit 1319196
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ecoscope/analysis/seasons.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ def std_ndvi_vals(
scale=1,
start=None,
end=None
):
coll = ee.ImageCollection(image_coll).select(band).filterDate(start, end)

coll = ee.ImageCollection(image_coll).select(band).filterDate(start, end).map(lambda x: x.multiply(ee.Image(scale)))

ndvi_vals = (
coll.toBands()
Expand Down

0 comments on commit 1319196

Please sign in to comment.