<?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 Curve number equation raster calculator in Spatial Data Science Questions</title>
    <link>https://community.esri.com/t5/spatial-data-science-questions/curve-number-equation-raster-calculator/m-p/8802#M10</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a floating point raster of Curve Numbers (70-91) and I'm attempting to use the curve number equation to create a weight raster for flow accumulation, to determine runoff for a single rainfall event. I'm familiar with this curve number equation:&lt;/P&gt;&lt;P&gt;Q = (P - 0.2S)2 / (P + 0.2S)&lt;/P&gt;&lt;P&gt;where&lt;/P&gt;&lt;P&gt;Q = total runoff P = preciptation (1 inch in this case) 0.2S = initial abstractions 0.8 = potential maximum retention after runoff begins&lt;/P&gt;&lt;P&gt;First question, would the precipitation part of the equation be a raster (e.g a raster where all cells have a value of 1) or would it just be the number '1' representing 1inch of rainfall? Secondly, as the 2 outside represents 'to the power of 2' i am unsure as how to do this in raster calculator. If anyone has any experience using this or a similar curve number equation to measure determine runoff any help would be appreciated. Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 16 Apr 2016 00:39:55 GMT</pubDate>
    <dc:creator>MS10</dc:creator>
    <dc:date>2016-04-16T00:39:55Z</dc:date>
    <item>
      <title>Curve number equation raster calculator</title>
      <link>https://community.esri.com/t5/spatial-data-science-questions/curve-number-equation-raster-calculator/m-p/8802#M10</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a floating point raster of Curve Numbers (70-91) and I'm attempting to use the curve number equation to create a weight raster for flow accumulation, to determine runoff for a single rainfall event. I'm familiar with this curve number equation:&lt;/P&gt;&lt;P&gt;Q = (P - 0.2S)2 / (P + 0.2S)&lt;/P&gt;&lt;P&gt;where&lt;/P&gt;&lt;P&gt;Q = total runoff P = preciptation (1 inch in this case) 0.2S = initial abstractions 0.8 = potential maximum retention after runoff begins&lt;/P&gt;&lt;P&gt;First question, would the precipitation part of the equation be a raster (e.g a raster where all cells have a value of 1) or would it just be the number '1' representing 1inch of rainfall? Secondly, as the 2 outside represents 'to the power of 2' i am unsure as how to do this in raster calculator. If anyone has any experience using this or a similar curve number equation to measure determine runoff any help would be appreciated. Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Apr 2016 00:39:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-data-science-questions/curve-number-equation-raster-calculator/m-p/8802#M10</guid>
      <dc:creator>MS10</dc:creator>
      <dc:date>2016-04-16T00:39:55Z</dc:date>
    </item>
    <item>
      <title>Re: Curve number equation raster calculator</title>
      <link>https://community.esri.com/t5/spatial-data-science-questions/curve-number-equation-raster-calculator/m-p/8803#M11</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;curve number gis&lt;/P&gt;&lt;P&gt;lots of links ie&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.ipcbee.com/vol80/004-ICGCE2015-G0011.pdf" title="http://www.ipcbee.com/vol80/004-ICGCE2015-G0011.pdf"&gt;http://www.ipcbee.com/vol80/004-ICGCE2015-G0011.pdf&lt;/A&gt; &lt;/P&gt;&lt;P&gt;but are your equations terms unique or is this a different curve number?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Apr 2016 00:57:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-data-science-questions/curve-number-equation-raster-calculator/m-p/8803#M11</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-04-16T00:57:45Z</dc:date>
    </item>
    <item>
      <title>Re: Curve number equation raster calculator</title>
      <link>https://community.esri.com/t5/spatial-data-science-questions/curve-number-equation-raster-calculator/m-p/8804#M12</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To address your questions:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;would the precipitation part of the equation be a raster (e.g a raster where all cells have a value of 1) or would it just be the number '1' representing 1inch of rainfall? '&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;If the value is constant over the raster processing environment extent, a number will do. (Logically it gets interpreted as a raster covering the extent where all values are 1.)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;as the 2 outside represents 'to the power of 2' i am unsure as how to do this in raster calculator.&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Use the Python syntax for exponentiation: &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;(expr) ** 2&amp;nbsp; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;or the Power tool: &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;Power(expr, 2)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Apr 2016 04:33:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-data-science-questions/curve-number-equation-raster-calculator/m-p/8804#M12</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2016-04-16T04:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: Curve number equation raster calculator</title>
      <link>https://community.esri.com/t5/spatial-data-science-questions/curve-number-equation-raster-calculator/m-p/8805#M13</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the replies, yes that is the curve number methodology i'm attempting Chris. I've just tried Equation 5 from that paper,(P - 0.3)2 / (p - 0.7), using Power(1 - 0.3, 2) / (1 - 0.7) in raster calcuator, which gives the error 'Error 000539 error running expression rcexec()'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Apr 2016 11:54:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-data-science-questions/curve-number-equation-raster-calculator/m-p/8805#M13</guid>
      <dc:creator>MS10</dc:creator>
      <dc:date>2016-04-16T11:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: Curve number equation raster calculator</title>
      <link>https://community.esri.com/t5/spatial-data-science-questions/curve-number-equation-raster-calculator/m-p/8806#M14</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;(P - 0.2S)2 / (P + 0.2S)&lt;/P&gt;&lt;P&gt;P and S are rasters&lt;/P&gt;&lt;P&gt;(P - 0.2*S)**2 / (P + 0.2*S)&lt;/P&gt;&lt;P&gt;But this is simplified from the papers in the search&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Apr 2016 13:19:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-data-science-questions/curve-number-equation-raster-calculator/m-p/8806#M14</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-04-16T13:19:59Z</dc:date>
    </item>
    <item>
      <title>Re: Curve number equation raster calculator</title>
      <link>https://community.esri.com/t5/spatial-data-science-questions/curve-number-equation-raster-calculator/m-p/8807#M15</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I tried that below using a max retention raster with values from 2-5 (mm of retention), however i'm still getting an error in raster calculator. The syntax I used is below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="194946" alt="cneq.png" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/194946_cneq.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Appreciate the help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit: changed to ** 2 and it worked&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="python" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_1461814205116629" data-renderedposition="210_8_1168_16" jivemacro_uid="_1461814205116629" modifiedtitle="true"&gt;&lt;P&gt;("Precip" - 0.2 * "Max_retention") ** 2 / ("Precip" + 0.2 * "Max_retention")&lt;/P&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Apr 2016 16:01:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-data-science-questions/curve-number-equation-raster-calculator/m-p/8807#M15</guid>
      <dc:creator>MS10</dc:creator>
      <dc:date>2016-04-16T16:01:28Z</dc:date>
    </item>
  </channel>
</rss>

