Skip to content

Commit

Permalink
Update image.py
Browse files Browse the repository at this point in the history
  • Loading branch information
cgmorton committed Oct 26, 2024
1 parent 289b7c1 commit 0dd183a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion openet/ssebop/image.py
Original file line number Diff line number Diff line change
Expand Up @@ -870,8 +870,9 @@ def tcorr_FANO(self):
.updateMask(1).select([0], ['count'])
)

# TODO: Maybe chance ndvi to self.qa_water_mask?
total_pixels_count = (
self.qa_water_mask
ndvi
.reduceResolution(ee.Reducer.count(), False, m_pixels)
.reproject(self.crs, coarse_transform)
.updateMask(1).select([0], ['count'])
Expand Down

0 comments on commit 0dd183a

Please sign in to comment.