Hi,
please see, I was getting weird outputs with dz offset in the final DEM, thought everything is ok and then saw that the final applied offset was not 'dz_total' but 'dz'.
Good catch!
In the past, the existing open src_ds was used here, so we only needed to apply the final iteration dz. Since we now open the original file, need to apply the full dz_total.
Hi, please see, I was getting weird outputs with dz offset in the final DEM, thought everything is ok and then saw that the final applied offset was not 'dz_total' but 'dz'.