<?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 Error trying to use raster calculator and classify the output with ModelBuilder in ModelBuilder Questions</title>
    <link>https://community.esri.com/t5/modelbuilder-questions/error-trying-to-use-raster-calculator-and-classify/m-p/1354926#M3940</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to model water depths in ponds using elevation rasters collected with lidar when the ponds were dry and staff gauge elevations of the current water level in the ponds. I use the water level elevation from the staff guage and subtract the elevation raster setting anything less than zero to null value. I then take the output from the raster calculator and reclass by table to classify the raster into six depth profiles labeled 1-6 for a habitat suitability model. I am trying to automate this process using model builder and am getting the following error:&lt;/P&gt;&lt;P&gt;EERROR 010240: Could not save raster dataset to dp_%Name% with output format GRID.&lt;/P&gt;&lt;P&gt;I have tried changing my file type, saving to different drives, and changing the scratch and current workspace to separate folders. I have included a picture of my model, the error message I am getting, and the python code generated from ModelBuilder. Any help would be appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Error Message" style="width: 818px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/87517iCFFE62E7196159E3/image-size/large?v=v2&amp;amp;px=999" role="button" title="Error.PNG" alt="Error.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Model" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/87518i492ABF12DA991E94/image-size/large?v=v2&amp;amp;px=999" role="button" title="model.PNG" alt="model.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Python.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/87520i24C046A84AAFF7EE/image-size/large?v=v2&amp;amp;px=999" role="button" title="Python.png" alt="Python.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 29 Nov 2023 22:43:00 GMT</pubDate>
    <dc:creator>PerryScott</dc:creator>
    <dc:date>2023-11-29T22:43:00Z</dc:date>
    <item>
      <title>Error trying to use raster calculator and classify the output with ModelBuilder</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/error-trying-to-use-raster-calculator-and-classify/m-p/1354926#M3940</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to model water depths in ponds using elevation rasters collected with lidar when the ponds were dry and staff gauge elevations of the current water level in the ponds. I use the water level elevation from the staff guage and subtract the elevation raster setting anything less than zero to null value. I then take the output from the raster calculator and reclass by table to classify the raster into six depth profiles labeled 1-6 for a habitat suitability model. I am trying to automate this process using model builder and am getting the following error:&lt;/P&gt;&lt;P&gt;EERROR 010240: Could not save raster dataset to dp_%Name% with output format GRID.&lt;/P&gt;&lt;P&gt;I have tried changing my file type, saving to different drives, and changing the scratch and current workspace to separate folders. I have included a picture of my model, the error message I am getting, and the python code generated from ModelBuilder. Any help would be appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Error Message" style="width: 818px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/87517iCFFE62E7196159E3/image-size/large?v=v2&amp;amp;px=999" role="button" title="Error.PNG" alt="Error.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Model" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/87518i492ABF12DA991E94/image-size/large?v=v2&amp;amp;px=999" role="button" title="model.PNG" alt="model.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Python.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/87520i24C046A84AAFF7EE/image-size/large?v=v2&amp;amp;px=999" role="button" title="Python.png" alt="Python.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2023 22:43:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/error-trying-to-use-raster-calculator-and-classify/m-p/1354926#M3940</guid>
      <dc:creator>PerryScott</dc:creator>
      <dc:date>2023-11-29T22:43:00Z</dc:date>
    </item>
    <item>
      <title>Re: Error trying to use raster calculator and classify the output with ModelBuilder</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/error-trying-to-use-raster-calculator-and-classify/m-p/1354989#M3941</link>
      <description>&lt;P&gt;try saving to *.tif format&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/tool-errors-and-warnings/010001-020000/tool-errors-and-warnings-10226-10250-010240.htm" target="_blank"&gt;010240: Could not save raster dataset to &amp;lt;value&amp;gt; with output format &amp;lt;value&amp;gt;.—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and ensure that the G drive is a real drive and not a usb or other&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2023 01:41:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/error-trying-to-use-raster-calculator-and-classify/m-p/1354989#M3941</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2023-11-30T01:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: Error trying to use raster calculator and classify the output with ModelBuilder</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/error-trying-to-use-raster-calculator-and-classify/m-p/1418069#M3988</link>
      <description>&lt;P&gt;Your model is using inline variable substitution as you have %Name% at the end of the raster dataset name. But nowhere in your model do you have a variable called Name with a value to substitute into. Add a text variable called Name to your model, fill it with simple text, e.g. water and the output raster will ultimate be called dp_water.&lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2024 13:59:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/error-trying-to-use-raster-calculator-and-classify/m-p/1418069#M3988</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2024-05-02T13:59:18Z</dc:date>
    </item>
  </channel>
</rss>

