在GEE Python API的内部.Join函数中使用筛选函数

在GEE Python API的内部.Join函数中使用筛选函数,python,google-earth-engine,gee,Python,Google Earth Engine,Gee,我需要在两个MODIS集合中应用一个过滤函数,以按日期查找常见图像,但我不知道如何在Python API中实现这一点。我有一个错误: EEException:无法编码对象:set(['system:time\u start']) 假设concatbands函数是此定义: def concatBands(image): return ee.Image.cat(image.get('primary'),image.get('secondary')) 在python中,filtertime

我需要在两个MODIS集合中应用一个过滤函数,以按日期查找常见图像,但我不知道如何在Python API中实现这一点。我有一个错误: EEException:无法编码对象:set(['system:time\u start'])


假设concatbands函数是此定义:

def concatBands(image): 
    return ee.Image.cat(image.get('primary'),image.get('secondary'))
在python中,filtertimeEq应该编写为:

filterTimeEq = ee.Filter.equals(leftField = 'system:time_start',rightField = 'system:time_start')
filterTimeEq = ee.Filter.equals(leftField = 'system:time_start',rightField = 'system:time_start')