Skip to content

Commit 0d5b1aa

Browse files
authored
Create ImageCollection_metadata_to_table.js
1 parent 990a260 commit 0d5b1aa

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Diff for: ImageCollection_metadata_to_table.js

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
// export metadata for each image in a collection to a table
2+
3+
var collection = ee.ImageCollection('COPERNICUS/S1_GRD').sort('system:index', false);
4+
5+
var info = collection.map(function(image) {
6+
return ee.Feature(image)
7+
.select(['system:index'], null, false);
8+
});
9+
10+
print(info)
11+
12+
Export.table.toDrive(info, "Sentinel-1_sceneIDs")

0 commit comments

Comments
 (0)