The way that I export the time series of a point of an image collection as .csv file is to click the top right button of the chart displayed in the console of earth engine, which generated from the time series. The following code shows how I extract the time series of a point by its coordinate and generate a chart to display in the console. Then I click the top right button of the chart to export as .csv file.
However, I have 30 points of interest, in my way, I have to input the coordinate of each point manually and run the code every time, and then click the top right button of the chart of each point to export .csv file again and again until I finish the export of time series for all points. So is there any convenient way to accomplish this? Maybe I should input the coordinates of points in a loop, and export the .csv file also in a loop, but I don't know how to do it.
// the coordinate of a point, I enter it manually every time. var lng = -92.56894444; var lat = 37.21702778; var r = ee.Geometry.Point(lng, lat); // r is the point of interest // Load Landsat 7 imagery and filter it var collection = ee.ImageCollection('LANDSAT/LE07/C01/T1_SR') .filterDate('2011-01-01','2011-12-31') // the period of interest. .filterBounds(r); Map.setCenter(lng, lat, 13); //plot a chart of the imagecollection B4 band; then I click the top right button of the chart in the console to export the time series as a .csv file. print(ui.Chart.image.series(collection.select('B4'), r, ee.Reducer.mean(), 30))