dshean / demcoreg

Utilities for DEM and point cloud co-registration
MIT License
114 stars 45 forks source link

bug with dz_total in the final align dataset update #10

Closed ShashankBice closed 5 years ago

ShashankBice commented 5 years ago

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'.

dshean commented 5 years ago

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.