ArcHydro for Pro Wetlands Identification Model - Train Random Trees Error RasterXSize error

711
0
03-03-2021 09:25 AM
Labels (1)
BrendenMclane
New Contributor II

I encountered an error running the ArcHydro for Pro Wetlands Identification Model - Train Random Trees tool.

The error gave the following message:

('line 337', 'c:\\program files\\arcgis\\pro\\Resources\\ArcToolbox\\Scripts\\archydro\\trainrandomtrees.py', "AttributeError: 'NoneType' object has no attribute 'RasterXSize'")

After surfing this forum for similar RasterXSize errors, I discovered that the issue is an incomplete path for the input predictor variable rasters in the ArcHydro Train Random Tree tool. 

Basically, if you accept the shortened "layer" path from the tool drop down (my inputs were in a group layer), the tool cannot find the input rasters. Instead, I navigated to the full network path for every input and the tool ran quickly and smoothly.

0 Kudos
0 Replies