initze / thaw-slump-segmentation

MIT License
10 stars 4 forks source link

add NDVI/Indices #59

Closed initze closed 10 months ago

initze commented 1 year ago
khdlr commented 1 year ago

I believe it would be good to calculate NDVI/other indices when loading the data instead of hard-baking them into the data cubes, what are your thoughts on this?

initze commented 1 year ago

Sounds reasonable. I guess this can be triggered once NDVI appears in the dataset in the config file. Should be very fast to create on the fly I guess. Adding some more indices would be somehow cool. However we need to define the band numbers and run some validity hchecks for the dataset types S2 e.g used Bands 8 and 4 Plane uses 4 and 3 S1 does not support it ...

initze commented 10 months ago

implemented with ce443cd for PlanetScope images

initze commented 10 months ago

completed for "s2" 9a545b3