I have worked on the following code to obtain a fusion of both sensors but when I generate it I get Landsat as an additional property, what can I do?
var s2 = ee.ImageCollection('COPERNICUS/S2')
.filter(ee.Filter.eq('MGRS_TILE', "19HCD"))
.filterBounds(subsubcuencas_ms);
//print(s2);
var l8 = ee.ImageCollection('LANDSAT/LC08/C02/T1_L2')
.filterBounds(subsubcuencas_ms);
//print(l8);
var joined = ee.Join.saveAll('landsat').apply({
primary: s2,
secondary: l8,
condition: ee.Filter.and(
ee.Filter.maxDifference({
difference: 1000 * 60 * 60 * 24, // One day in milliseconds
leftField: 'system:time_start',
rightField: 'system:time_start',
}),
ee.Filter.intersects({
leftField: '.geo',
rightField: '.geo',
})
)
});
print(joined, 'joined')