My goal is export CSV table with 2 columns: system:time_start
in format YYYYMMddHHmmss
and LST_median
. For this I try to create Chart first but xProperty
wants just a string like system:time_start
and not a function which change a format of the data. How can I solve this problem and have my CSV table?
var chart = ui.Chart.image.series({
imageCollection: scaledReducedl8.select('ST_B10').filterDate('2021-01-01', '2021-12-31'),
region: geometry.buffer(17),
reducer: ee.Reducer.median(),
xProperty: ee.Date('system:time_start').format('YYYYMMddHHmmss')
}).setSeriesNames(['LST_median']);
print('median LST with revisit time data', chart);