MakeStreams is giving the following error with DEMs that I have curated and your example SoCal_UTM_DEM.tif DEM (example data tarball does not include the ascii version). I have tried both tif files and ascii files on my DEMs.
[DEM, FD, A, S] = MakeStreams("D:\pkgs\topotoolbox\Topographic-Analysis-Kit-master\ExampleData\SoCal_UTM_DEM.tif", 1e6);
Error using MakeStreams
The value of 'dem' is invalid. It must satisfy the function: @(x)isa(x,'GRIDobj')|ischar(x).
Error in MakeStreams (line 77)
parse(p,dem,threshold_area,varargin{:});
I am thinking it could be a pixel depth issue? Any tips? Cheers.
Hi Adam,
MakeStreams is giving the following error with DEMs that I have curated and your example SoCal_UTM_DEM.tif DEM (example data tarball does not include the ascii version). I have tried both tif files and ascii files on my DEMs.
[DEM, FD, A, S] = MakeStreams("D:\pkgs\topotoolbox\Topographic-Analysis-Kit-master\ExampleData\SoCal_UTM_DEM.tif", 1e6);
I am thinking it could be a pixel depth issue? Any tips? Cheers.