Skip to main content
1 of 3
user95904
  • 179
  • 1
  • 8

Exporting a list of lists of numbers from Google Earth Engine

I have received an output in GEE code editor in the form of a list of lists of numbers as shown below:

var list1 = ee.List([[1.7,2.4,3.1],[1.3,2.7,3.1],[1.4,2.4,3.2],[1.9,2.8,3.7]]);

I want to export this result in the form of a csv and for this, I tried the following:

Export.table.toDrive(ee.FeatureCollection(list1));

But it throws the error citing this:

Collection, argument 'features': Invalid type. Expected: List Element. Actual: List List Float

Please help as I am unable to understand where is the problem. Thanks.

user95904
  • 179
  • 1
  • 8