I have a raster file that is related to a river bed in a curvy river section. Inside this raster file are gaps with no data (e.g. small islands, measurement gaps, etc...). I want to fill those gaps inside the raster. However, I couldn' figure a way or find a function that fills nodata gaps without extending the outer border (see image). I tried interpolating the dataset but this returns interpolated values extending the original border.