<?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: ERROR 000989: Raster Calculator: Landsat 9: Calculating Surface Temperature&amp;gt; Brightness Temperature in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/error-000989-raster-calculator-landsat-9/m-p/1259099#M66871</link>
    <description>&lt;P&gt;SOLVED: If you think you've double-checked your equation a million times already, do it again or recruit a friend to stare at it for you. I had an extra parenthesis after the Ln function. Go figure.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;(1321.0789/ (Ln (774.8853&lt;STRONG&gt;)&lt;/STRONG&gt; / "TOA") + 1)) - 273.15&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Should be:&amp;nbsp;(1321.0789/ (Ln (774.8853 / "TOA") + 1)) - 273.15&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 16 Feb 2023 20:53:55 GMT</pubDate>
    <dc:creator>SarahCope</dc:creator>
    <dc:date>2023-02-16T20:53:55Z</dc:date>
    <item>
      <title>ERROR 000989: Raster Calculator: Landsat 9: Calculating Surface Temperature&gt; Brightness Temperature</title>
      <link>https://community.esri.com/t5/python-questions/error-000989-raster-calculator-landsat-9/m-p/1259041#M66862</link>
      <description>&lt;P&gt;Python syntax error: File "&amp;lt;string&amp;gt;", line 1&lt;/P&gt;&lt;P&gt;Hi there! I am trying to find the surface area of a city using Landsat 9 satellite imagery. I am going through the steps but when I get to calculating brightness temperature, I keep receiving the same error with the Raster Calculator&amp;nbsp; ( Python syntax error: File "&amp;lt;string&amp;gt;", line 1 ).&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the equation I'm using when I receive the error:&lt;/P&gt;&lt;P&gt;(1321.0789/ (Ln (774.8853) / "TOA") + 1)) - 273.15&amp;nbsp;&lt;/P&gt;&lt;P&gt;"TOA" is a a previously calculated value also using the raster calculator directly before this.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2023 19:49:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/error-000989-raster-calculator-landsat-9/m-p/1259041#M66862</guid>
      <dc:creator>SarahCope</dc:creator>
      <dc:date>2023-02-16T19:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 000989: Raster Calculator: Landsat 9: Calculating Surface Temperature&gt; Brightness Temperature</title>
      <link>https://community.esri.com/t5/python-questions/error-000989-raster-calculator-landsat-9/m-p/1259045#M66863</link>
      <description>&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/spatial-analyst/ln.htm" target="_blank"&gt;Ln (Spatial Analyst)—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;in_raster_or_constant&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Input values for which to find the natural logarithm (Ln).&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;To use a number as an input for this parameter, the cell size and extent must first be set in the environment.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Did you set the cell size and extent in the Environments tab of the raster calculator?&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2023 19:54:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/error-000989-raster-calculator-landsat-9/m-p/1259045#M66863</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2023-02-16T19:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 000989: Raster Calculator: Landsat 9: Calculating Surface Temperature&gt; Brightness Temperature</title>
      <link>https://community.esri.com/t5/python-questions/error-000989-raster-calculator-landsat-9/m-p/1259073#M66866</link>
      <description>&lt;P&gt;I hadn't messed with the cell size since the tutorials I have been following didn't. However, when I did change it around in a few different ways just now, such as "Same as TOA", I still get the same error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For reference, these are the steps I've been following (using my own numbers from Landsat data- which are comparative to the ones used in the video)&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=YXBat9MNh9E" target="_blank" rel="noopener"&gt;https://www.youtube.com/watch?v=YXBat9MNh9E&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2023 20:34:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/error-000989-raster-calculator-landsat-9/m-p/1259073#M66866</guid>
      <dc:creator>SarahCope</dc:creator>
      <dc:date>2023-02-16T20:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 000989: Raster Calculator: Landsat 9: Calculating Surface Temperature&gt; Brightness Temperature</title>
      <link>https://community.esri.com/t5/python-questions/error-000989-raster-calculator-landsat-9/m-p/1259079#M66868</link>
      <description>&lt;P&gt;For reference, these are the steps I've been following (using my own numbers from Landsat data- which are comparative to the ones used in the video)&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=YXBat9MNh9E" target="_blank"&gt;https://www.youtube.com/watch?v=YXBat9MNh9E&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2023 20:33:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/error-000989-raster-calculator-landsat-9/m-p/1259079#M66868</guid>
      <dc:creator>SarahCope</dc:creator>
      <dc:date>2023-02-16T20:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 000989: Raster Calculator: Landsat 9: Calculating Surface Temperature&gt; Brightness Temperature</title>
      <link>https://community.esri.com/t5/python-questions/error-000989-raster-calculator-landsat-9/m-p/1259099#M66871</link>
      <description>&lt;P&gt;SOLVED: If you think you've double-checked your equation a million times already, do it again or recruit a friend to stare at it for you. I had an extra parenthesis after the Ln function. Go figure.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;(1321.0789/ (Ln (774.8853&lt;STRONG&gt;)&lt;/STRONG&gt; / "TOA") + 1)) - 273.15&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Should be:&amp;nbsp;(1321.0789/ (Ln (774.8853 / "TOA") + 1)) - 273.15&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2023 20:53:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/error-000989-raster-calculator-landsat-9/m-p/1259099#M66871</guid>
      <dc:creator>SarahCope</dc:creator>
      <dc:date>2023-02-16T20:53:55Z</dc:date>
    </item>
  </channel>
</rss>

