<?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 ArcGIS Pro Calculator tool in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-calculator-tool/m-p/1109340#M46944</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Am trying to use&amp;nbsp; the calculate field tool in ArcGIS pro and I am not familiar with the python 3 if then statements and how to use the code block. Please can anyone help with some tips on how to&amp;nbsp; do this.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Wed, 20 Oct 2021 17:07:52 GMT</pubDate>
    <dc:creator>KateEkhator74</dc:creator>
    <dc:date>2021-10-20T17:07:52Z</dc:date>
    <item>
      <title>ArcGIS Pro Calculator tool</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-calculator-tool/m-p/1109340#M46944</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Am trying to use&amp;nbsp; the calculate field tool in ArcGIS pro and I am not familiar with the python 3 if then statements and how to use the code block. Please can anyone help with some tips on how to&amp;nbsp; do this.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Oct 2021 17:07:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-calculator-tool/m-p/1109340#M46944</guid>
      <dc:creator>KateEkhator74</dc:creator>
      <dc:date>2021-10-20T17:07:52Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro Calculator tool</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-calculator-tool/m-p/1109344#M46945</link>
      <description>&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/calculate-field-examples.htm#ESRI_SECTION1_DF13F7EE4AF345CAAA46C1CFA2F7BFE1" target="_blank"&gt;Calculate Field Python examples—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You could use &lt;STRONG&gt;if, elif, else&lt;/STRONG&gt; statements. e.g.&lt;/P&gt;&lt;LI-CODE lang="python"&gt;Expression:
Reclass(!WELL_YIELD!)

Code Block:
def Reclass(WellYield):
    if (WellYield &amp;gt;= 0 and WellYield &amp;lt;= 10):
        return 1
    elif (WellYield &amp;gt; 10 and WellYield &amp;lt;= 20):
        return 2
    elif (WellYield &amp;gt; 20 and WellYield &amp;lt;= 30):
        return 3
    elif (WellYield &amp;gt; 30):
        return 4&lt;/LI-CODE&gt;&lt;P&gt;.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Oct 2021 17:16:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-calculator-tool/m-p/1109344#M46945</guid>
      <dc:creator>JayantaPoddar</dc:creator>
      <dc:date>2021-10-20T17:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro Calculator tool</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-calculator-tool/m-p/1109345#M46946</link>
      <description>&lt;P&gt;You might also consider trying Arcade. Arcade translates across to the ArcGIS Online environment, popup expressions, etc., and is worth learning.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Oct 2021 17:23:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-calculator-tool/m-p/1109345#M46946</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2021-10-20T17:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro Calculator tool</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-calculator-tool/m-p/1109934#M47003</link>
      <description>&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Oct 2021 20:17:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-calculator-tool/m-p/1109934#M47003</guid>
      <dc:creator>KateEkhator74</dc:creator>
      <dc:date>2021-10-21T20:17:49Z</dc:date>
    </item>
  </channel>
</rss>

