-
Notifications
You must be signed in to change notification settings - Fork 41
Closed
Description
Hi,
I use oeel.ImageCollection.SavatskyGolayFilter in python and define distanceFunction like example, but I get an error like below Fig

.
here is my code:
days = 60
millis = ee.Number(days1000606024)
maxDiffFilter = ee.Filter.maxDifference(
difference= millis,
leftField='system:time_start',
rightField= 'system:time_start'
)
def distanceFunction(infromedImage, estimationImage):
return ee.Image.constant(ee.Number(infromedImage.get('system:time_start'))
.subtract(ee.Number(estimationImage.get('system:time_start'))))
order = 3
smoothed = oeel.ImageCollection.SavatskyGolayFilter(test,maxDiffFilter,distanceFunction)
Metadata
Metadata
Assignees
Labels
No labels