<?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 Re: FillSinks not working properly in Python or command line? in Water Resources Questions</title>
    <link>https://community.esri.com/t5/water-resources-questions/fillsinks-not-working-properly-in-python-or/m-p/107287#M462</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There was an issue when the filling threshold was not specified (even though it was supposed to be optional). So the problem was not with ISSINK. You can get the latest version for ArcGIS 10.0 from our ftp site with the fix (version 2.1.0.156).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Christine Dartiguenave&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Esri Water Resources Team&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Jul 2013 16:33:32 GMT</pubDate>
    <dc:creator>ChristineDartiguenave</dc:creator>
    <dc:date>2013-07-22T16:33:32Z</dc:date>
    <item>
      <title>FillSinks not working properly in Python or command line?</title>
      <link>https://community.esri.com/t5/water-resources-questions/fillsinks-not-working-properly-in-python-or/m-p/107284#M459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am having issues running the ArcHydro FillSinks tool through a Python script or the command line window.&amp;nbsp; The process completes, but there is nothing filled in the output grid.&amp;nbsp; If I run the same data through ArcToolbox or the ArcHydro menu (using FillSinks) the output is correct and sinks are filled as identified by the IsSink field.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried this on other computers in the office with the same result.&amp;nbsp; I am running ArcGIS 9.3.1 (build 3500), ArcHydro 1.3.&amp;nbsp; Keep in mind FillSinks is working through ArcToolbox so I???m assuming it is not a problem with my input data and that my Sinkpoly layer is setup correctly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone else encountered this?&amp;nbsp; Is there a solution?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Oct 2010 12:49:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-resources-questions/fillsinks-not-working-properly-in-python-or/m-p/107284#M459</guid>
      <dc:creator>SteveDamaia</dc:creator>
      <dc:date>2010-10-20T12:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: FillSinks not working properly in Python or command line?</title>
      <link>https://community.esri.com/t5/water-resources-questions/fillsinks-not-working-properly-in-python-or/m-p/107285#M460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Just as an FYI, I figured it out.&amp;nbsp; There is a bug with this tool.&amp;nbsp; If you use the following syntax from the command line (or similar in Python) none of the sinks will be filled:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FillSinks in_dem dem_filled "" SinkPoly ISSINK_YES&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, this will work:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FillSinks gsc_mos_buf5 dem_filled "" SinkPoly 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Even though the drop-down option and on-line help suggest using �??ISSINK_YES�?� it will not work properly.&amp;nbsp; You must use �??1�?� or �??0�?�.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Oct 2010 11:31:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-resources-questions/fillsinks-not-working-properly-in-python-or/m-p/107285#M460</guid>
      <dc:creator>SteveDamaia</dc:creator>
      <dc:date>2010-10-25T11:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: FillSinks not working properly in Python or command line?</title>
      <link>https://community.esri.com/t5/water-resources-questions/fillsinks-not-working-properly-in-python-or/m-p/107286#M461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm having (sort of) the same problem, though I'm running Arc Hydro 2.1 on ArcMap 10 (build 2800).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Using Fill Sinks from the Arc Hydro toolbar works with no problems, but when I call FillSinks in the ArcHydroTools module:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ArcHydroTools.FillSinks(AgreeDEM, Fil, "", LevelPoly, "ISSINK_YES")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I get the execute error "System.NullReferenceException: Object reference not set to an instance of an object."&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Unlike the post above, FillSinks fails to complete.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've tried using an integer (1), a string ("1"), an expression ('"ISSINK" = 1'), etc. in lieu of using ISSINK_YES, all to no avail.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The command is part of a script that automates a number of other Arc Hydro processes; all work without a hitch, save FillSinks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone found the correct way to use the ISSINK field in a script? Am I missing something simple?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jun 2013 12:04:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-resources-questions/fillsinks-not-working-properly-in-python-or/m-p/107286#M461</guid>
      <dc:creator>PhilipGriffith</dc:creator>
      <dc:date>2013-06-24T12:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: FillSinks not working properly in Python or command line?</title>
      <link>https://community.esri.com/t5/water-resources-questions/fillsinks-not-working-properly-in-python-or/m-p/107287#M462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There was an issue when the filling threshold was not specified (even though it was supposed to be optional). So the problem was not with ISSINK. You can get the latest version for ArcGIS 10.0 from our ftp site with the fix (version 2.1.0.156).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Christine Dartiguenave&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Esri Water Resources Team&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jul 2013 16:33:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-resources-questions/fillsinks-not-working-properly-in-python-or/m-p/107287#M462</guid>
      <dc:creator>ChristineDartiguenave</dc:creator>
      <dc:date>2013-07-22T16:33:32Z</dc:date>
    </item>
  </channel>
</rss>

