Skip to main content
Added link to another answer
Source Link
Oliver Lopez
  • 1.3k
  • 1
  • 8
  • 14

The error is that you are giving LST_map as an input to Export.image.toDrive, but LST_map is ee.ImageCollection. You can only export one image per Export task.

Image export tasks are created with a call to a client-side function Export.Image.toX where X is toDrive, toAsset, or toCloudStorage (e.g. Export.Image.toDrive).

You can make your image collection into a list and then use ee.List.get:

var n = myCollection.size().getInfo()  
var imgList = myCollection.tolist(n)
var img = imgList.get(0) 

You can wrap the imgList.get(X) and subsequent call to Export.image.toDrive in a loop or in a function, and create all the export tasks that you need. Note that this process requires the use of .getInfo() because Export.image.toX is a client-side function. Take a look at the full example given in this answer

There are also some third-party modules you can use to handle this process for you, both for javascript and python, some of which are listed below:

The error is that you are giving LST_map as an input to Export.image.toDrive, but LST_map is ee.ImageCollection. You can only export one image per Export task.

Image export tasks are created with a call to a client-side function Export.Image.toX where X is toDrive, toAsset, or toCloudStorage (e.g. Export.Image.toDrive).

You can make your image collection into a list and then use ee.List.get:

var n = myCollection.size().getInfo()  
var imgList = myCollection.tolist(n)
var img = imgList.get(0) 

You can wrap the imgList.get(X) and subsequent call to Export.image.toDrive in a loop or in a function, and create all the export tasks that you need. Note that this process requires the use of .getInfo() because Export.image.toX is a client-side function.

There are some third-party modules you can use to handle this process for you, both for javascript and python, some of which are listed below:

The error is that you are giving LST_map as an input to Export.image.toDrive, but LST_map is ee.ImageCollection. You can only export one image per Export task.

Image export tasks are created with a call to a client-side function Export.Image.toX where X is toDrive, toAsset, or toCloudStorage (e.g. Export.Image.toDrive).

You can make your image collection into a list and then use ee.List.get:

var n = myCollection.size().getInfo()  
var imgList = myCollection.tolist(n)
var img = imgList.get(0) 

You can wrap the imgList.get(X) and subsequent call to Export.image.toDrive in a loop or in a function, and create all the export tasks that you need. Note that this process requires the use of .getInfo() because Export.image.toX is a client-side function. Take a look at the full example given in this answer

There are also some third-party modules you can use to handle this process for you, both for javascript and python, some of which are listed below:

Added information on how to export each image.
Source Link
Oliver Lopez
  • 1.3k
  • 1
  • 8
  • 14

The error is that you are giving LST_map as an input to Export.image.toDrive, but LST_map is ee.ImageCollection. You can only export one image per Export task.

Image export tasks are created with a call to a client-side function Export.Image.toX where X is toDrive, toAsset, or toCloudStorage (e.g. Export.Image.toDrive).

You can make your image collection into a list and then use ee.List.get:

var n = myCollection.size().getInfo()  
var imgList = myCollection.tolist(n)
var img = imgList.get(0) 

You can wrap the imgList.get(X) and subsequent call to Export.image.toDrive in a loop or in a function, and create all the export tasks that you need. Note that this process requires the use of .getInfo() because Export.image.toX is a client-side function.

There are some third-party modules you can use to handle this process for you, both for javascript and python, some of which are listed below:

The error is that you are giving LST_map as an input to Export.image.toDrive, but LST_map is ee.ImageCollection. You can only export one image per Export task.

The error is that you are giving LST_map as an input to Export.image.toDrive, but LST_map is ee.ImageCollection. You can only export one image per Export task.

Image export tasks are created with a call to a client-side function Export.Image.toX where X is toDrive, toAsset, or toCloudStorage (e.g. Export.Image.toDrive).

You can make your image collection into a list and then use ee.List.get:

var n = myCollection.size().getInfo()  
var imgList = myCollection.tolist(n)
var img = imgList.get(0) 

You can wrap the imgList.get(X) and subsequent call to Export.image.toDrive in a loop or in a function, and create all the export tasks that you need. Note that this process requires the use of .getInfo() because Export.image.toX is a client-side function.

There are some third-party modules you can use to handle this process for you, both for javascript and python, some of which are listed below:

Source Link
Oliver Lopez
  • 1.3k
  • 1
  • 8
  • 14

The error is that you are giving LST_map as an input to Export.image.toDrive, but LST_map is ee.ImageCollection. You can only export one image per Export task.