cesaraustralia / GeneticRiskIndex

2 stars 2 forks source link

Buffer around tifs by N pixels #15

Closed rafaqz closed 2 years ago

rafaqz commented 3 years ago

This is broken in terra::trim so we have to do it manually

See https://github.com/rvalavi/blockCV/blob/master/R/helper_functions.R#L40-L50 for an example fix

rafaqz commented 3 years ago

Damn that can't actually work because the whole point is buffering the resistance layer with the real resistance pixels...

Maybe it can because we just crop resistance to the final size.