<?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 Translate excel-function to raster calculator/ field calculator in ArcMap Questions</title>
    <link>https://community.esri.com/t5/arcmap-questions/translate-excel-function-to-raster-calculator/m-p/240295#M590</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Hey!&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I am trying to calculate different raster layers in ArcGIS with a relativly simple formular, but a few more complicated cell relationships. I have already solved the calculation in Microsoft Excel and now have to implement the procedere in GIS.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;STRONG&gt;Can you suggest a VB or python script &lt;/STRONG&gt;( i am NOT VERY familiar with this)&lt;STRONG&gt; to calculate my excel-based solution within the field calculator / raster calculator? I am looking for a raster-based solution, but i am open for any ideas!&lt;BR /&gt;&lt;/STRONG&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My goal is to calculate different parameter regarding sprinkling of agricultural crop types in times of climate change.&lt;/P&gt;&lt;P&gt;I would like to do the calculation with raster-tools in a batch process, if possible, because for each factor in the formular i got like 180 datasets and around 300.000 cells to calculate with.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are my input-parameters (on a daily basis - all values are in mm (millimeter)):&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Evapotranspiration (ETP) - raster&lt;/LI&gt;&lt;LI&gt;Kc-Factor (Kc) - raster&lt;/LI&gt;&lt;LI&gt;Precipitation (P) - raster&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I have to calculate:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Daily water balance (DWB) = (ETP*kc)-P&lt;/LI&gt;&lt;LI&gt;Total water balance (TWB) = DWB - AoS&lt;/LI&gt;&lt;LI&gt;Amount of sprinkling (AoS) = in general, this parameter has the value "0", but it is influenced by the sum of the Total Water Balance. If the sum, of TWB is e.g. &amp;gt;20, &amp;gt;12, &amp;gt;16, ... the AoS is -20, -12, -16 ... --&amp;gt; this actually means, if it is to dry for e.g. the crop type "winter weath" you have to sprinkle 20mm therefor AoS = -20.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can see the schematic in the following image, this is for an example for single raster cell:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="477962" alt="" class="jive-emoji image-1 jive-image" height="376" src="https://community.esri.com/legacyfs/online/477962_excel_tab.PNG" width="386" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope anyone of you has a few ideas.&lt;BR /&gt;Cheers in advance!&lt;BR /&gt;&lt;BR /&gt;Jacob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Jan 2020 12:41:50 GMT</pubDate>
    <dc:creator>Jacob_JeffB</dc:creator>
    <dc:date>2020-01-10T12:41:50Z</dc:date>
    <item>
      <title>Translate excel-function to raster calculator/ field calculator</title>
      <link>https://community.esri.com/t5/arcmap-questions/translate-excel-function-to-raster-calculator/m-p/240295#M590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Hey!&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I am trying to calculate different raster layers in ArcGIS with a relativly simple formular, but a few more complicated cell relationships. I have already solved the calculation in Microsoft Excel and now have to implement the procedere in GIS.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;STRONG&gt;Can you suggest a VB or python script &lt;/STRONG&gt;( i am NOT VERY familiar with this)&lt;STRONG&gt; to calculate my excel-based solution within the field calculator / raster calculator? I am looking for a raster-based solution, but i am open for any ideas!&lt;BR /&gt;&lt;/STRONG&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My goal is to calculate different parameter regarding sprinkling of agricultural crop types in times of climate change.&lt;/P&gt;&lt;P&gt;I would like to do the calculation with raster-tools in a batch process, if possible, because for each factor in the formular i got like 180 datasets and around 300.000 cells to calculate with.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are my input-parameters (on a daily basis - all values are in mm (millimeter)):&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Evapotranspiration (ETP) - raster&lt;/LI&gt;&lt;LI&gt;Kc-Factor (Kc) - raster&lt;/LI&gt;&lt;LI&gt;Precipitation (P) - raster&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I have to calculate:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Daily water balance (DWB) = (ETP*kc)-P&lt;/LI&gt;&lt;LI&gt;Total water balance (TWB) = DWB - AoS&lt;/LI&gt;&lt;LI&gt;Amount of sprinkling (AoS) = in general, this parameter has the value "0", but it is influenced by the sum of the Total Water Balance. If the sum, of TWB is e.g. &amp;gt;20, &amp;gt;12, &amp;gt;16, ... the AoS is -20, -12, -16 ... --&amp;gt; this actually means, if it is to dry for e.g. the crop type "winter weath" you have to sprinkle 20mm therefor AoS = -20.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can see the schematic in the following image, this is for an example for single raster cell:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="477962" alt="" class="jive-emoji image-1 jive-image" height="376" src="https://community.esri.com/legacyfs/online/477962_excel_tab.PNG" width="386" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope anyone of you has a few ideas.&lt;BR /&gt;Cheers in advance!&lt;BR /&gt;&lt;BR /&gt;Jacob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jan 2020 12:41:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/translate-excel-function-to-raster-calculator/m-p/240295#M590</guid>
      <dc:creator>Jacob_JeffB</dc:creator>
      <dc:date>2020-01-10T12:41:50Z</dc:date>
    </item>
  </channel>
</rss>

