Closed ronnyhdez closed 3 months ago
The new start date and end date seem to be working:
With this function (tested in GEE console for the asset creation) worked:
var renameProperty = function(feature) {
var year = ee.Number(feature.get('rclmtn_d')).int();
var timeStart = ee.Date.fromYMD(year, 1, 1).millis();
var timeEnd = ee.Date.fromYMD(2023, 1, 1).millis();
feature = feature.set('system:time_start', timeStart)
.set('system:time_end', timeEnd);
return feature;
};
Code is in the create_sampler_asset
in the GEE project.
Ref #120