Closed LarrySHLai closed 5 years ago
The issue with 'chi' not being recognized and the errors regarding logicals are fixed in an updated version. The errors related to outputs arguments not being assigned are because you must tell the code you want outputs by setting 'output' to true.
Hi, I am a beginner of KAT!
I tried following the manual with my DEM file, and everything went well until running KsnChiBatch. GRIDobj, FD, S are already produced before running it. All parameters are named as the same in manual. Here is my code and error messages:
[KSN_STREAM_GRID, ksn_ms, KSN_GRID, CHI_MAP, CHI_GRID] = KsnChiBatch(DEM,FD,A,S,'all')
[KSN_STREAM_GRID, ksn_ms] =KsnChiBatch(DEM,FD,A,S,'ksn')
[CHI_MAP,CHI_GRID] = KsnChiBatch(DEM,FD,A,S,'chi')
[CHI_MAP] = KsnChiBatch(DEM,FD,A,S,'chimap')
[CHI_GRID] = KsnChiBatch(DEM,FD,A,S,'chigrid')
Thanks!!
Larry