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); 

1 Answer 1

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
  • Yes, I know this. Is there a way to have that table in google earth engine and do my analayize in the google earth enviorment?
    – user170688
    Oct 7, 2020 at 14:43
  • The answer to this question may be helpful gis.stackexchange.com/questions/313804/…
    – HMSP
    Oct 8, 2020 at 7:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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