<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic ArcHydro for Pro Wetlands Identification Model - Train Random Trees Error RasterXSize error in Water Resources Questions</title>
    <link>https://community.esri.com/t5/water-resources-questions/archydro-for-pro-wetlands-identification-model/m-p/1032522#M4013</link>
    <description>&lt;P&gt;I encountered an error running the&amp;nbsp;ArcHydro for Pro Wetlands Identification Model - Train Random Trees tool.&lt;/P&gt;&lt;P&gt;The error gave the following message:&lt;/P&gt;&lt;P&gt;('line 337', 'c:\\program files\\arcgis\\pro\\Resources\\ArcToolbox\\Scripts\\archydro\\trainrandomtrees.py', "AttributeError: 'NoneType' object has no attribute 'RasterXSize'")&lt;/P&gt;&lt;P&gt;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.&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;</description>
    <pubDate>Wed, 03 Mar 2021 17:25:55 GMT</pubDate>
    <dc:creator>BrendenMclane</dc:creator>
    <dc:date>2021-03-03T17:25:55Z</dc:date>
    <item>
      <title>ArcHydro for Pro Wetlands Identification Model - Train Random Trees Error RasterXSize error</title>
      <link>https://community.esri.com/t5/water-resources-questions/archydro-for-pro-wetlands-identification-model/m-p/1032522#M4013</link>
      <description>&lt;P&gt;I encountered an error running the&amp;nbsp;ArcHydro for Pro Wetlands Identification Model - Train Random Trees tool.&lt;/P&gt;&lt;P&gt;The error gave the following message:&lt;/P&gt;&lt;P&gt;('line 337', 'c:\\program files\\arcgis\\pro\\Resources\\ArcToolbox\\Scripts\\archydro\\trainrandomtrees.py', "AttributeError: 'NoneType' object has no attribute 'RasterXSize'")&lt;/P&gt;&lt;P&gt;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.&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Mar 2021 17:25:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-resources-questions/archydro-for-pro-wetlands-identification-model/m-p/1032522#M4013</guid>
      <dc:creator>BrendenMclane</dc:creator>
      <dc:date>2021-03-03T17:25:55Z</dc:date>
    </item>
  </channel>
</rss>

