xrspatial.focal.custom_kernel

xrspatial.focal.custom_kernel(kernel)[source]

Validates a custom kernel. If the kernel is valid, returns itself.