Given that an area of interest is partially cloud covered, how can you mosaic two separate collections to get a single cloud free mosaic?
Given I have a S2 image over a study area, that has a cloudy eastern half:
var collection = ee.ImageCollection('COPERNICUS/S2') .filterDate('2017-01-01', '2017-03-01') .filterBounds(geometry5)
and imagery over the same region from a previous date that has a cloudy western half:
var collection2 = ee.ImageCollection('COPERNICUS/S2') .filterDate('2016-11-13', '2016-12-23') .filterBounds(geometry4)
Is there a way to mosaic the data together to get a single collection/dataset?
This is a straightforward task with gdal but I can't find it in the Earth Engine documentation.
As a visual example:
I have this collection:
and this separate collection:
and I want to merge/mosaic them into a single collection: