Skip to content

Commit

Permalink
remove log10 of largest area
Browse files Browse the repository at this point in the history
  • Loading branch information
boriskaus committed Jul 3, 2024
1 parent ac66971 commit 64f4b9a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/WaterFlow.jl
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,7 @@ function waterflows(Topo::GeoData, flowdir_fn= WhereTheWaterFlows.d8dir_feature;
largest_area[.!largest_catchment] .= NaN

log10_area = log10.(area)
log10_largest_area = log10.(largest_area)

Topo_water = addfield(Topo,(;area, slen, dir, nout, nin, c, cellarea_m2, catchment_large, log10_area, largest_catchment, largest_area, log10_largest_area))
Topo_water = addfield(Topo,(;area, slen, dir, nout, nin, c, cellarea_m2, catchment_large, log10_area, largest_catchment, largest_area))
return Topo_water, sinks, pits, bnds
end

0 comments on commit 64f4b9a

Please sign in to comment.