This tool performs a correction to the compiled DEM (topography and bathymetry) according to the provided paleoshoreline polygons.
It will emerge regions that should be emerged but appear underwater. Conversely, it submerges regions that should be submerged but are shown above the sea level.

Raster to be modified (Input): select the input raster (DEM) combining topography and bathymetry (rotated to the time of reconstruction).

Rotated Paleoshorelines: select the vector layer with the paleoshorelines rotated to the time of reconstruction.

Modification mode:
If you select Interpolation, elevation values of the areas to be emerged or submerged are erased and these gaps subsequently interpolated.
If you select Rescaling, the originally submerged values are linearly rescaled between 0.1 and the elevation you enter. For the newly submerged areas, the originally emerged values are linearly rescaled between -0.1 and the depth you enter.

Maximum elevation of the emerged area:
Enter the chosen maximum elevation for the newly emerged areas in m (default = 2.0m). This is only available for the Rescaling modification mode.

Maximum depth of the submerged area:
Enter the chosen maximum depth for the newly submerged areas in m (default = -5.0m). This must be a negative value since it's related to bathymetry. This is only available for the Rescaling modification mode.

Output file path:
If there is no path specified here, the file will be created in the temporary folder. The full path will be shown in the Log tab and the result will be loaded to the map canvas.

Warning: Please avoid using these characters in the file name, as they might cause processing errors: ( ) / - % $ @ #
Note: If this tool is used repetitively with no path specified, previous results will be overwritten. To avoid this, specify a different path (or filename) each time