Skip to main content
added 94 characters in body
Source Link
Kuik
  • 10.1k
  • 1
  • 13
  • 19

You probably want the information in a list. You can do that using reduceRegion (to get the actual NDVI value at your geometry), add that as a property to each image and then extract those properties of all images in your collection using aggregate_array

// Make a 'table' in the console
var addNDVIatPoint = withN.map(function(image){
  return image.set(image.reduceRegion(ee.Reducer.first(), point))
})
// extract as 'table'
var table = ee.List(addNDVIatPoint.aggregate_array('NDVI_1'))
var datesMillis = ee.List(addNDVIatPoint.aggregate_array('system:time_start'))

print(table); print(datesMillis)

link scriptlink script, where I also added how you could download a CSV table of the list you printed in the console

You probably want the information in a list. You can do that using reduceRegion (to get the actual NDVI value at your geometry), add that as a property to each image and then extract those properties of all images in your collection using aggregate_array

// Make a 'table' in the console
var addNDVIatPoint = withN.map(function(image){
  return image.set(image.reduceRegion(ee.Reducer.first(), point))
})
// extract as 'table'
var table = ee.List(addNDVIatPoint.aggregate_array('NDVI_1'))
var datesMillis = ee.List(addNDVIatPoint.aggregate_array('system:time_start'))

print(table); print(datesMillis)

link script

You probably want the information in a list. You can do that using reduceRegion (to get the actual NDVI value at your geometry), add that as a property to each image and then extract those properties of all images in your collection using aggregate_array

// Make a 'table' in the console
var addNDVIatPoint = withN.map(function(image){
  return image.set(image.reduceRegion(ee.Reducer.first(), point))
})
// extract as 'table'
var table = ee.List(addNDVIatPoint.aggregate_array('NDVI_1'))
var datesMillis = ee.List(addNDVIatPoint.aggregate_array('system:time_start'))

print(table); print(datesMillis)

link script, where I also added how you could download a CSV table of the list you printed in the console

Source Link
Kuik
  • 10.1k
  • 1
  • 13
  • 19

You probably want the information in a list. You can do that using reduceRegion (to get the actual NDVI value at your geometry), add that as a property to each image and then extract those properties of all images in your collection using aggregate_array

// Make a 'table' in the console
var addNDVIatPoint = withN.map(function(image){
  return image.set(image.reduceRegion(ee.Reducer.first(), point))
})
// extract as 'table'
var table = ee.List(addNDVIatPoint.aggregate_array('NDVI_1'))
var datesMillis = ee.List(addNDVIatPoint.aggregate_array('system:time_start'))

print(table); print(datesMillis)

link script