Great job to put Ldd in Julia language.
There could be issues outside the "catchement" were there is NaN values, but this may be normal behaviour.
Output_Ldd = "Ldd.tiff"
Path_Output_Ldd = joinpath(Path_Root, Path_Output, Output_Ldd)
println(Path_Output_Ldd)
println(Dem_Resample[1,1])
Acc, Ldd = Geomorphometry.flowaccumulation(Dem_Resample; method=D8())
Rasters.write(Path_Output_Ldd, Ldd; ext=".tiff", force=true, verbose=true, missingval= NaN)
CairoMakie.heatmap(log10.(Ldd); colormap=:rain)

Great job to put Ldd in Julia language.
There could be issues outside the "catchement" were there is NaN values, but this may be normal behaviour.