I would like to export all the images that the collection (code) contains. How can I do that?
var colection = ee.ImageCollection ("MODIS/NTSG/MOD16A2/105")
If you want an automatized process you'll have to use the Python API. If you can do that, follow:
pip install geetools
from geetools import batch
import ee
ee.Initialize()
col = ee.ImageCollection("MODIS/NTSG/MOD16A2/105")
region = ee.Geometry.Polygon([XXXX])
help(batch.Export.ImageCollection.toDrive) # See help for function
tasks = batch.Export.ImageCollection.toDrive(col, 'MyFolder', region=region, scale=1000)
Otherwise, if you don't mind clicking "Run" for every image, you can use geetools in the code editor (https://github.com/fitoprincipe/geetools-code-editor), follow:
var batch = require('users/fitoprincipe/geetools:batch')
var col = ee.ImageCollection("MODIS/NTSG/MOD16A2/105")
var region = ee.Geometry.Polygon([XXXX])
batch.Download.ImageCollection.toDrive(col, 'MyFolder',
{region: region,
scale: 1000})
geetools.batch.Export.imagecollection.toDrive
Commented
Nov 13, 2019 at 12:43