I am looking for a way to filter images for certain dates per feature in the feature collection. I want a function that would take each individual feature from the feature collection and then check from the image collection if there is an S1 image available for that region for a particular date. The dates are also listed in a column in the feature collection for each feature. So for feature1 is there an image for 2016-04-17 in the S1 collection, if yes select that feature. The feature collection table contains a column called 'SrcImgDate'. So I just want to filter out a feature collection with features that have an image for the srcimgdate next to them.
Expected output: FeatureCollection with all features that intersect with an image at the given srcimgdate and location
This is the imageCollection with a general date range
var Sentinel1 = S1.filter(ee.Filter.eq('transmitterReceiverPolarisation', pol))
.filterMetadata('instrumentMode', 'equals', 'IW')
.filterDate('2016-04-01','2016-08-30' )
.select(['VH','VV'])
.filterMetadata('resolution_meters', 'equals' , 10);
Here is the link to the FeatureCollection. You can limit it to 1000, as it has 11000 feature and would give an error to use such a large dataset. https://code.earthengine.google.com/?asset=users/rawailnaeem/CA
FeatureCollection
in eachFeature
when you loop over it, you won't get a singleFeatureCollection
as output.pol
inS1.filter(ee.Filter.eq('transmitterReceiverPolarisation', pol))
?