Hi everyone!
Ivica Janeković published a python code for LP smoothing - ”Python library for smoothing ocean model (ROMS) bathymetry to satisfy rx0 and rx1 roughness constraints using Linear Programming and iterative methods.”
Here is a paper about this method: https://www.sciencedirect.com/science/article/pii/S1463500309000742
I use it a lot because it preserves bathymetry well in complex areas like islands, inlets, sills etc. I hope it comes in handy to some of you as well:
Cheers,
Martin