LT-GEE
LT-GEE copied to clipboard
year of each disturbance
First of all, congratulation on this very usefull set of tools! I'm interested in obtaining the year of each forest plantation harvest per pixel. So far I have the segmented data (for 'loss' segments) and the number of these segments (getSegmentCount), which may go until 4 in some cases. I was wondering if there is a way of obtaining the years of all these segments as well, by e.g. producing a raster with max(getSegmentCount) number of bands (here 4) where each bands contain a year value of the segment or NaN or 0 in case getSegmentCount < 4. Any idea of how this could be done? I appriciate all the help. Cheers, Javier