First of all, thanks for this module, it is just what I needed.
I tried to use it to patch an ALOS DSM with a LiDAR DTM over Acapulco, México.
It seems to work well at the interface of the two maps, inland.
However, on the shore, where the ocean is NULL, the results seems a bit strange:
Here is the ALOS DSM on a small part of the shore:

The LiDAR:

The results of
r.patch.smooth -s input_a=dtm_lidar@Acapulco input_b=AW3D30@Acapulco output=AW3D30_lidar transition_angle=1

It looks like the information of ALOS is passed to the new map, instead of using the LiDAR, and the transition is coarse outside the cape.
First of all, thanks for this module, it is just what I needed.
I tried to use it to patch an ALOS DSM with a LiDAR DTM over Acapulco, México.
It seems to work well at the interface of the two maps, inland.
However, on the shore, where the ocean is NULL, the results seems a bit strange:
Here is the ALOS DSM on a small part of the shore:

The LiDAR:

The results of

r.patch.smooth -s input_a=dtm_lidar@Acapulco input_b=AW3D30@Acapulco output=AW3D30_lidar transition_angle=1It looks like the information of ALOS is passed to the new map, instead of using the LiDAR, and the transition is coarse outside the cape.