Skip to content

Flowaccumulation Ldd: NaN values #47

@AquaPore

Description

@AquaPore

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)

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions