I am trying to specify certain bands
along with a corresponding scale
argument for each band in the getDownloadURL
function, but I'm having trouble getting it to function correctly.
var area = /* color: #d63000 */ee.Geometry.Polygon(
[[[-3.1990814208984375, 10.698337865705495],
[-3.2155609130859375, 10.50665993373459],
[-2.63671875, 10.525563079495361],
[-2.665557861328125, 10.714530481853876]]]);
var landsat = ee.Image(ee.ImageCollection("LANDSAT/LC08/C01/T2_TOA").first())
.clip(area)
print(landsat.getDownloadURL(
{
'name': 'output',
'bands': [{id:'B1', scale:30}, {id:'B2', scale:100}]
}))