There are broad valleys on either side of the mountain and those probably
account for the large number of negative accumulation values. r.describe
tells me:
-a
Use positive flow accumulation even for likely underestimates.[…]
sure, I didn’t mention it because I assumed that flow accumulation was already calculated…
The result is the same. Negative flow accumulation in the r.watershed convention means that in those cells flow accumulation is likely underestimated, i.e. part of the contributing area falls outside of the computational region. It is not meant as “negative area” (nonsense), it’s only a convention.
To now, r.threshold doesn't manage negative values, so if the warning
appears, there is no output.
madi,
Using absolute values of the r.watershed accumulation map as input to
r.threshold provides a suggested r.basin threshold of 5297. As you write in
the wiki entry, this is both a suggestion and a reflection of uncertainty in
the meaning of the threshold.
Using this threshold value in the shell script for the 7 sub-basins,
r.basin halts on the calculation of the Horton indices for one basin, and
does not produce a parameter .csv file for a second sub-basin. The base DEM
map is used by r.basin, not the accumulation map with all positive values.
Can you suggest a strategy I can apply to generate different threshold
values to see how to allow r.basin to complete its run on those last two
sub-basins? Is there a reason for the threshold value to be the same for
each sub-basin?
Using absolute values of the r.watershed accumulation map as input to
r.threshold provides a suggested r.basin threshold of 5297. As you write in
the wiki entry, this is both a suggestion and a reflection of uncertainty in
the meaning of the threshold.
Using this threshold value in the shell script for the 7 sub-basins,
r.basin halts on the calculation of the Horton indices for one basin, and
does not produce a parameter .csv file for a second sub-basin. The base DEM
map is used by r.basin, not the accumulation map with all positive values.
Can you suggest a strategy I can apply to generate different threshold
values to see how to allow r.basin to complete its run on those last two
sub-basins? Is there a reason for the threshold value to be the same for
each sub-basin?
Threshold value should be determined by trial and errors. If you have a map of digitized streams (“real” streams) you can compare the results you get using different threshold values and see which gives you the most similar to the reality.
For what concerns your shell script running r.basin in loop for several basins, I’d suggest to analyze the “problematic basin” separately (outside the loop) adjusting the coordinates of the output by hand.
Threshold value should be determined by trial and errors. If you have a
map of digitized streams ("real" streams) you can compare the results you
get using different threshold values and see which gives you the most
similar to the reality.
madi,
That confirms what I thought I would do.
For what concerns your shell script running r.basin in loop for several
basins, I'd suggest to analyze the "problematic basin" separately (outside
the loop) adjusting the coordinates of the output by hand.