1

I have a code for NDVI time series from an image collection. This code prints the time series in a table or a chart. Is there a way to access the values in the table of the time series in google earth engine code? I want to calculate the slope\area between points in the time series in google earth engine enviorment.

Code snippit:

    //Export NDVI Time Series into a Scatter Chart and a CSV format              
var TimeSeries = Chart.image.seriesByRegion(
S2_withNDVI, fc, ee.Reducer.mean(), 'NDVI', 3, 'system:time_start', fc_ID)
    .setChartType('ScatterChart')
    .setOptions({
      title: 'NDVI Time Series For Shift 1-2 Argentina',
      vAxis: {title: 'NDVI'},
      hAxis: {title: 'Date'},
      lineWidth: 1,
      pointSize: 4,
      series: {
}});
// Display.
print(TimeSeries); 
0

When you print a chart on the console, there is a button to the top right (red circle).

enter image description here

Click on it to open a new tab. There is another button (red circle) that allows you to download the csv with the NDVI values per date:

enter image description here

2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.