<?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: How to create duplicate watersheds using the same pour point? Arcpy.da.UpdateCursor Method? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/how-to-create-duplicate-watersheds-using-the-same/m-p/1246097#M66436</link>
    <description>&lt;P&gt;It's not entirely clear what it you are doing, you say&amp;nbsp;&lt;EM&gt;"&lt;SPAN&gt;Is it possible to generate two duplicate watershed feature class using the same&lt;/SPAN&gt;&lt;/EM&gt; pourpoint?". This sounds like you want to run the tool twice or simply call the Copy Features tool? Then you go on to show an update cursor which seems to have nothing to do with generating watersheds...&lt;/P&gt;</description>
    <pubDate>Fri, 06 Jan 2023 17:27:53 GMT</pubDate>
    <dc:creator>DuncanHornby</dc:creator>
    <dc:date>2023-01-06T17:27:53Z</dc:date>
    <item>
      <title>How to create duplicate watersheds using the same pour point? Arcpy.da.UpdateCursor Method?</title>
      <link>https://community.esri.com/t5/python-questions/how-to-create-duplicate-watersheds-using-the-same/m-p/1245916#M66428</link>
      <description>&lt;P&gt;I am creating a tool that delineated multiple watersheds using a set of pourpoints and compares the area ratio of the watersheds with the same ID. Is it possible to generate two duplicate watershed feature class using the same pourpoint? If not, is it possible to use arcpy.da.UpdateCursor to change all the null and zero values within a field to it's previous non-Null value in the row above it? I know my questions seem unrelated, but these are two ways that could solve my current tool problem. If you have any questions, please let me know. I added my codes below using the arcpy.da. UpdateCursor. Thanks for your help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;  previous_value = non_null_value   
  with arcpy.da.UpdateCursor(ScaleRatioTable,['Area_sqmi_1'])as cursor:
     for row in cursor:
       if row[0] == 0.0:
         row[0]= previous_value
         cursor.updateRow(row)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2023 01:54:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-create-duplicate-watersheds-using-the-same/m-p/1245916#M66428</guid>
      <dc:creator>tzz_12</dc:creator>
      <dc:date>2023-01-06T01:54:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to create duplicate watersheds using the same pour point? Arcpy.da.UpdateCursor Method?</title>
      <link>https://community.esri.com/t5/python-questions/how-to-create-duplicate-watersheds-using-the-same/m-p/1246097#M66436</link>
      <description>&lt;P&gt;It's not entirely clear what it you are doing, you say&amp;nbsp;&lt;EM&gt;"&lt;SPAN&gt;Is it possible to generate two duplicate watershed feature class using the same&lt;/SPAN&gt;&lt;/EM&gt; pourpoint?". This sounds like you want to run the tool twice or simply call the Copy Features tool? Then you go on to show an update cursor which seems to have nothing to do with generating watersheds...&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2023 17:27:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-create-duplicate-watersheds-using-the-same/m-p/1246097#M66436</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2023-01-06T17:27:53Z</dc:date>
    </item>
  </channel>
</rss>

