<?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 How to calculate the right Threshold for flow accumulation using python? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/how-to-calculate-the-right-threshold-for-flow/m-p/335336#M26252</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I created a program that generates all the major watersheds that occur on a DEM using a flow accumulation raster. So the only problem that I have, is that my "while loop" depends on the weighted values of the flow accumulation raster. So the condition number I&amp;nbsp;used was 0. This caused my program to create way too many watersheds and most of them I do not need. So I need a threshold number to use as my condition to end the loop. I noticed that I can use the break values that are stored in the classified section in the symbology tab and these values are calculated from a histogram.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/365916_capture9.PNG" style="width: 620px; height: 479px;" /&gt;&lt;/P&gt;&lt;P&gt;This would be an example of a threshold number I would use.&amp;nbsp;Any number below the first break value&amp;nbsp;would give me watersheds that I do not need.&amp;nbsp;What would be the best way to extract this number? I would prefer not to use arcpy.mapping and just have an equation I can use on every Raster to give me a general threshold number in my program. Is there anyway I can use the Maximum,minumum,mean or std value&amp;nbsp;to calculate it using statistics? is there a better&amp;nbsp;threshold number I could use instead?&amp;nbsp;Thank you for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Aug 2017 14:56:08 GMT</pubDate>
    <dc:creator>AndrewMartin8</dc:creator>
    <dc:date>2017-08-07T14:56:08Z</dc:date>
    <item>
      <title>How to calculate the right Threshold for flow accumulation using python?</title>
      <link>https://community.esri.com/t5/python-questions/how-to-calculate-the-right-threshold-for-flow/m-p/335336#M26252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I created a program that generates all the major watersheds that occur on a DEM using a flow accumulation raster. So the only problem that I have, is that my "while loop" depends on the weighted values of the flow accumulation raster. So the condition number I&amp;nbsp;used was 0. This caused my program to create way too many watersheds and most of them I do not need. So I need a threshold number to use as my condition to end the loop. I noticed that I can use the break values that are stored in the classified section in the symbology tab and these values are calculated from a histogram.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/365916_capture9.PNG" style="width: 620px; height: 479px;" /&gt;&lt;/P&gt;&lt;P&gt;This would be an example of a threshold number I would use.&amp;nbsp;Any number below the first break value&amp;nbsp;would give me watersheds that I do not need.&amp;nbsp;What would be the best way to extract this number? I would prefer not to use arcpy.mapping and just have an equation I can use on every Raster to give me a general threshold number in my program. Is there anyway I can use the Maximum,minumum,mean or std value&amp;nbsp;to calculate it using statistics? is there a better&amp;nbsp;threshold number I could use instead?&amp;nbsp;Thank you for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2017 14:56:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-calculate-the-right-threshold-for-flow/m-p/335336#M26252</guid>
      <dc:creator>AndrewMartin8</dc:creator>
      <dc:date>2017-08-07T14:56:08Z</dc:date>
    </item>
  </channel>
</rss>

