Closed WindingWinter closed 5 years ago
I think the internal holes you are seeing are an artifact of whatever visualization you are using. Here is the result I get
For 50
For 150
Along the edges you expect differences as if a stream leaves the domain with ssa value between 50 and 150 it will be mapped at 50 threshold, but not at 150 threshold, resulting in that catchment being out of the domain. But internal holes should not occur (unless you do not fill pits).
I guess I know why-- the output from taudem is correct, what is not correct when I convert the raster output from taudem to vector via gdal.polygonize
. There must be a bug in gdal.polygonize
. Will try to scale down and file the problem later.
By using the default
Logan.tiff
file and run the following command:I found that the catchment produced is different for different value of
%threshold_val%
:This is for the case where
%threshold_val%=50
This is for the case where
%threshold_val%=150
This is for the case where
%threshold_val%=300
I can understand the streamlines or even the outline shapes of the catchments are different when you use different
%threshold_val%
, but I can't understand why in some cases, there are missing catchments? ( as for the case for50
and150
)?