I'm new to Google Earth Engine.
I'm trying to create a time-series of SMOS for a point. I have selected the coordinates of the point and am now trying to export the table as a .csv.
My script so far is:
var collection = ee.ImageCollection("NASA_USDA/HSL/soil_moisture").select('ssm');
// Define a region of interest as a buffer around a point.
var geom = ee.Geometry.Point(40.44, 3.12).buffer(500);
// Create and print the chart.
print(ui.Chart.image.series(collection, geom, ee.Reducer.mean(), 30));
// Export the time-series as a csv.
Export.table.toDrive({collection: ssm, description: 'mandera',
selectors: 'date, value', fileFormat: 'CSV'});
I know I'm very close to what I need but I can't seem to be able to figure out how to export the timeseries as a .csv file in my Drive. Also, how can I name the file so I find it once it's exported?
I have seen the answer to this: Create time series and export it to csv GEE But I think I might be missing a step...