Hello there, I know I'm late to the pyBRAT game, as sqlBRAT will be the new thing shortly, but I am using it for my master's thesis and I'm running into a problem with the segment network tool.
I am trying to segment my streams into 300m sections using the RCAT segment network tool. I am using the watershed subsets that I created using the NHD Network Builder as my input and they contain perennial and intermittent streams.
When I run the Segment network tool on a watershed the code gets stuck on line 154 when it tries to use the function LocateFeaturesAlongRoutes :

Also, I pasted the whole error that I get below.
Does anyone have any idea why the tool isn't working?
Any advice would be much appreciated. By the way I am working with ArcMAP 10.8.1
Error:
Executing: SegmentNetworkTool F:\BRAT\pyBRAT_materials.gdb\Black_subset F:\BRAT\pyBRAT_materials.gdb\Black_300m 300 50.05
Start Time: Tue Apr 25 14:18:49 2023
Running script SegmentNetworkTool...
Traceback (most recent call last):
File "", line 1215, in execute
File "F:\BRAT\RCAT\RCAT-2.0.3\segmentNetwork.py", line 154, in main
'RID POINT MEAS')
File "c:\program files (x86)\arcgis\desktop10.8\arcpy\arcpy\lr.py", line 412, in LocateFeaturesAlongRoutes
raise e
ExecuteError: ERROR 999999: Error executing function.
The table was not found. [tbl_Routes.dbf]
Could not create the output table
The table name is invalid.
The table was not found. [tbl_Routes.dbf]
Failed to execute (LocateFeaturesAlongRoutes).
Failed to execute (SegmentNetworkTool).
Failed at Tue Apr 25 14:18:54 2023 (Elapsed Time: 5.11 seconds)
Hello there, I know I'm late to the pyBRAT game, as sqlBRAT will be the new thing shortly, but I am using it for my master's thesis and I'm running into a problem with the segment network tool.
I am trying to segment my streams into 300m sections using the RCAT segment network tool. I am using the watershed subsets that I created using the NHD Network Builder as my input and they contain perennial and intermittent streams.
When I run the Segment network tool on a watershed the code gets stuck on line 154 when it tries to use the function LocateFeaturesAlongRoutes :

Also, I pasted the whole error that I get below.
Does anyone have any idea why the tool isn't working?
Any advice would be much appreciated. By the way I am working with ArcMAP 10.8.1
Error:
Executing: SegmentNetworkTool F:\BRAT\pyBRAT_materials.gdb\Black_subset F:\BRAT\pyBRAT_materials.gdb\Black_300m 300 50.05
Start Time: Tue Apr 25 14:18:49 2023
Running script SegmentNetworkTool...
Traceback (most recent call last):
File "", line 1215, in execute
File "F:\BRAT\RCAT\RCAT-2.0.3\segmentNetwork.py", line 154, in main
'RID POINT MEAS')
File "c:\program files (x86)\arcgis\desktop10.8\arcpy\arcpy\lr.py", line 412, in LocateFeaturesAlongRoutes
raise e
ExecuteError: ERROR 999999: Error executing function.
The table was not found. [tbl_Routes.dbf]
Could not create the output table
The table name is invalid.
The table was not found. [tbl_Routes.dbf]
Failed to execute (LocateFeaturesAlongRoutes).
Failed to execute (SegmentNetworkTool).
Failed at Tue Apr 25 14:18:54 2023 (Elapsed Time: 5.11 seconds)