Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with Segment Network tool #313

Open
julietsmith17 opened this issue Apr 26, 2023 · 0 comments
Open

Problem with Segment Network tool #313

julietsmith17 opened this issue Apr 26, 2023 · 0 comments

Comments

@julietsmith17
Copy link

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 :
error

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant