I am trying to export each image in a filtered stack of Sentinel-1 images and cannot seem to get it right.
Think link suggests using imageCollection.map()
and a custom function (such as a geometric clip).
// Create a geometry representing an export region.
var roi = ee.Geometry.Rectangle([-63.0, 9.2, -63.1, 9.3]);
// Load the Sentinel-1 ImageCollection.
var sentinel1 = ee.ImageCollection('COPERNICUS/S1_GRD');
// Filter by metadata properties.
var IW_H = sentinel1
// Filter to get images with VV and VH dual polarization.
.filter(ee.Filter.listContains('transmitterReceiverPolarisation', 'VV'))
.filter(ee.Filter.listContains('transmitterReceiverPolarisation', 'VH'))
// Filter to get images collected in interferometric wide swath mode.
.filter(ee.Filter.eq('instrumentMode', 'IW'))
// Filter IWs to get High res.
.filter(ee.Filter.eq('resolution', 'H'))
// Filter IW-Highs to get 10m res
.filter(ee.Filter.eq('resolution_meters', 10));
// Filter to get images from different look angles
var DescCollection = IW_H.filter(ee.Filter.eq('orbitProperties_pass', 'DESCENDING'));
var ClipFunc = function(iImage, geom) {
var iClip = clip(iImage, geom);
return(iClip);
};
imageCollection.map(ClipFunc(DescCollection, roi));