<?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: Miscalculated topographic wetness index in ArcGIS Spatial Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/miscalculated-topographic-wetness-index/m-p/162355#M2312</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;A quick forum search on "CTI" would have yielded these threads that would have answered your question. Note that in last thread there is a link to a toolbox that has the CTI model available.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/32896-from-DEM-to-CTI?highlight=CTI"&gt;http://forums.arcgis.com/threads/32896-from-DEM-to-CTI?highlight=CTI&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/33824-Areas-of-No-Data-in-the-Topgraphic-Index?highlight=CTI"&gt;http://forums.arcgis.com/threads/33824-Areas-of-No-Data-in-the-Topgraphic-Index?highlight=CTI&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/44868-Compound-Topographic-Index-Catchment-Wetness-Index-from-DTM-data?highlight=CTI"&gt;http://forums.arcgis.com/threads/44868-Compound-Topographic-Index-Catchment-Wetness-Index-from-DTM-data?highlight=CTI&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Oct 2012 18:22:33 GMT</pubDate>
    <dc:creator>JeffreyEvans</dc:creator>
    <dc:date>2012-10-26T18:22:33Z</dc:date>
    <item>
      <title>Miscalculated topographic wetness index</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/miscalculated-topographic-wetness-index/m-p/162349#M2306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to use a flow accumulation (fac) raster and a slope (slope) raster to calculate the topographic wetness index (TWI) in raster calculator as:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ln("fac"/Tan("slope"))&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The resulting output values do not make sense relative to hand calculations. For example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; fac = 6 cells, slope = 26.379343 degrees&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; TWI = 0.701 (ArcGIS raster calculator)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; TWI&amp;nbsp; = 2.493 (by hand)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, many of the output pixels are "no data".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone know what might be causing this discrepancy?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2012 16:41:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/miscalculated-topographic-wetness-index/m-p/162349#M2306</guid>
      <dc:creator>toddsams</dc:creator>
      <dc:date>2012-10-26T16:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: Miscalculated topographic wetness index</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/miscalculated-topographic-wetness-index/m-p/162350#M2307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;See if slope is in percent instead of degrees.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2012 16:58:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/miscalculated-topographic-wetness-index/m-p/162350#M2307</guid>
      <dc:creator>MarkBoucher</dc:creator>
      <dc:date>2012-10-26T16:58:00Z</dc:date>
    </item>
    <item>
      <title>Re: Miscalculated topographic wetness index</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/miscalculated-topographic-wetness-index/m-p/162351#M2308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I checked and slope is in degrees.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Though, even if it were in percent it just seems that the calculation is wrong regardless of what the numbers actually represent.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2012 17:04:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/miscalculated-topographic-wetness-index/m-p/162351#M2308</guid>
      <dc:creator>toddsams</dc:creator>
      <dc:date>2012-10-26T17:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: Miscalculated topographic wetness index</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/miscalculated-topographic-wetness-index/m-p/162352#M2309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So I tried to isolate the problem by simplifying the calculation as&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tan("slope")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The results appear to be very far off. For example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;slope = 32.998260&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tan("slope") = -86.669029 (by ArcGIS raster calculator)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tan("slope") = 0.64915 (by hand calculator)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tan("slope") = 0.64915 (by &lt;/SPAN&gt;&lt;A href="http://www.rapidtables.com/calc/math/Tan_Calculator.htm"&gt;http://www.rapidtables.com/calc/math/Tan_Calculator.htm&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It appears that the Tan function in ArcGIS raster calculator is not working properly.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2012 17:13:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/miscalculated-topographic-wetness-index/m-p/162352#M2309</guid>
      <dc:creator>toddsams</dc:creator>
      <dc:date>2012-10-26T17:13:20Z</dc:date>
    </item>
    <item>
      <title>Re: Miscalculated topographic wetness index</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/miscalculated-topographic-wetness-index/m-p/162353#M2310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I set my HP calculator to work in Radians and I got Tan(32.998260) = -86.669029. So, I think you need to do a conversion of your degrees to radians and then to the Tan() function.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is confirmed by the help on Tan(): &lt;/SPAN&gt;&lt;A href="http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?id=6412&amp;amp;pid=6399&amp;amp;topicname=Tan&amp;amp;"&gt;http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?id=6412&amp;amp;pid=6399&amp;amp;topicname=Tan&amp;amp;&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It looks like "DEG" is a constant that equals 180/pi and so you &lt;/SPAN&gt;&lt;SPAN style="text-decoration:underline;"&gt;might &lt;/SPAN&gt;&lt;SPAN&gt;be able to use this equation:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ln("fac" / Tan("slope" / DEG))&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also note that the Raster Calculator is finicky with spaces around operands.&amp;nbsp; If you use the "calculator pad" in the Raster Calculator to build your equations, it makes sure all the spaces are where they should be.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2012 17:38:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/miscalculated-topographic-wetness-index/m-p/162353#M2310</guid>
      <dc:creator>MarkBoucher</dc:creator>
      <dc:date>2012-10-26T17:38:09Z</dc:date>
    </item>
    <item>
      <title>Re: Miscalculated topographic wetness index</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/miscalculated-topographic-wetness-index/m-p/162354#M2311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Excellent! Thanks for the help!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;DEG wasn't recognized but I replaced with 180/3.141592 and it works just fine. Thanks again.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2012 17:53:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/miscalculated-topographic-wetness-index/m-p/162354#M2311</guid>
      <dc:creator>toddsams</dc:creator>
      <dc:date>2012-10-26T17:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: Miscalculated topographic wetness index</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/miscalculated-topographic-wetness-index/m-p/162355#M2312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;A quick forum search on "CTI" would have yielded these threads that would have answered your question. Note that in last thread there is a link to a toolbox that has the CTI model available.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/32896-from-DEM-to-CTI?highlight=CTI"&gt;http://forums.arcgis.com/threads/32896-from-DEM-to-CTI?highlight=CTI&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/33824-Areas-of-No-Data-in-the-Topgraphic-Index?highlight=CTI"&gt;http://forums.arcgis.com/threads/33824-Areas-of-No-Data-in-the-Topgraphic-Index?highlight=CTI&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/44868-Compound-Topographic-Index-Catchment-Wetness-Index-from-DTM-data?highlight=CTI"&gt;http://forums.arcgis.com/threads/44868-Compound-Topographic-Index-Catchment-Wetness-Index-from-DTM-data?highlight=CTI&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2012 18:22:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/miscalculated-topographic-wetness-index/m-p/162355#M2312</guid>
      <dc:creator>JeffreyEvans</dc:creator>
      <dc:date>2012-10-26T18:22:33Z</dc:date>
    </item>
  </channel>
</rss>

