Dear ArcSWAT community,
While creating the streams by inputting the DEM and the shapefile of existing stream networks, I am getting the following error over and over again, even though my ArcGIS Pro has the Spatial Analysts licensed and enabled. Any idea how to fix this issue?
Thank you
"ERROR: Error: Traceback (most recent call last):
File "C:\Users\ahame\AppData\Local\ESRI\ArcGISPro\AssemblyCache\{c0ba4fb8-0911-4188-9dc2-b57230e6b969}\runBurnin.py", line 16, in <module>
out_ras = Con(IsNull(Raster("{0}".format(temp_ras))), Raster("{0}".format(in_raster)), Raster("{0}".format(in_raster)) - int(reduction))
File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\sa\Functions.py", line 9861, in IsNull
return Wrapper(
File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\sa\Utils.py", line 55, in swapper
result = wrapper(*args, **kwargs)
File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\sa\Functions.py", line 9859, in Wrapper
return _wrapLocalFunctionRaster(u"IsNull_sa",
RuntimeError: ERROR 000824: The tool is not licensed."