<?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: The NDVI Python function doesn't provide any output in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/the-ndvi-python-function-doesn-t-provide-any/m-p/1110047#M47025</link>
    <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/95280"&gt;@JayantaPoddar&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/215600"&gt;@DanPatterson&lt;/a&gt;&amp;nbsp;but I saved the raster and I have exactly the same code but it doesn't produce anything and I don't get any errors either. Does this work with any satellite image? Mine is WorldView 2&lt;/P&gt;</description>
    <pubDate>Fri, 22 Oct 2021 00:19:44 GMT</pubDate>
    <dc:creator>MaryamBarzegar</dc:creator>
    <dc:date>2021-10-22T00:19:44Z</dc:date>
    <item>
      <title>The NDVI Python function doesn't provide any output</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/the-ndvi-python-function-doesn-t-provide-any/m-p/1110032#M47022</link>
      <description>&lt;P&gt;Hi, does the NDVI Python function actually work? It doesn't retrieve any output for me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/2.7/arcpy/image-analyst/ndvi.htm" target="_blank" rel="noopener"&gt;https://pro.arcgis.com/en/pro-app/2.7/arcpy/image-analyst/ndvi.htm&amp;nbsp;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Oct 2021 23:39:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/the-ndvi-python-function-doesn-t-provide-any/m-p/1110032#M47022</guid>
      <dc:creator>MaryamBarzegar</dc:creator>
      <dc:date>2021-10-21T23:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: The NDVI Python function doesn't provide any output</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/the-ndvi-python-function-doesn-t-provide-any/m-p/1110040#M47023</link>
      <description>&lt;P&gt;If you are using a standalone python script, you could use a similar script as the following&lt;/P&gt;&lt;LI-CODE lang="python"&gt;# Import system modules
import arcpy
from arcpy.ia import *

# Set the analysis environments
arcpy.env.workspace = "C:/arcpyExamples/data"

# Set the local variables
in_raster = "landsat8.tif"

# Execute NDVI function
out_ndvi_raster = NDVI(in_raster, 5, 4)

# Save the output
out_ndvi_raster.save("C:/arcpyExamples/outputs/NDVI.tif")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2021 00:01:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/the-ndvi-python-function-doesn-t-provide-any/m-p/1110040#M47023</guid>
      <dc:creator>JayantaPoddar</dc:creator>
      <dc:date>2021-10-22T00:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: The NDVI Python function doesn't provide any output</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/the-ndvi-python-function-doesn-t-provide-any/m-p/1110043#M47024</link>
      <description>&lt;P&gt;Did you save the raster?&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/classes/raster-object.htm" target="_blank"&gt;Raster—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;by "&lt;SPAN&gt;retrieve&amp;nbsp;" do you mean it doesn't create one, or you don't see one?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2021 00:09:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/the-ndvi-python-function-doesn-t-provide-any/m-p/1110043#M47024</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-10-22T00:09:56Z</dc:date>
    </item>
    <item>
      <title>Re: The NDVI Python function doesn't provide any output</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/the-ndvi-python-function-doesn-t-provide-any/m-p/1110047#M47025</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/95280"&gt;@JayantaPoddar&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/215600"&gt;@DanPatterson&lt;/a&gt;&amp;nbsp;but I saved the raster and I have exactly the same code but it doesn't produce anything and I don't get any errors either. Does this work with any satellite image? Mine is WorldView 2&lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2021 00:19:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/the-ndvi-python-function-doesn-t-provide-any/m-p/1110047#M47025</guid>
      <dc:creator>MaryamBarzegar</dc:creator>
      <dc:date>2021-10-22T00:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: The NDVI Python function doesn't provide any output</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/the-ndvi-python-function-doesn-t-provide-any/m-p/1110052#M47026</link>
      <description>&lt;P&gt;I assume you have Image Analyst Extension for ArcGIS Pro.&lt;/P&gt;&lt;P&gt;Bands are different for &lt;A href="https://earth.esa.int/eogateway/missions/worldview-2" target="_self"&gt;WorldView 2&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Maybe you could try Band 7 (NIR1) and Band 5 (Red).&lt;/P&gt;&lt;P&gt;Also ensure you are providing an existing workspace which contains the composite image (containing multiple bands), the correct image name and existing output path.&lt;/P&gt;&lt;P&gt;If you still have confusion, please share the screenshot of the folder containing the Worldview 2 image(s) in Windows Explorer, and also the script you have so far.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2021 00:43:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/the-ndvi-python-function-doesn-t-provide-any/m-p/1110052#M47026</guid>
      <dc:creator>JayantaPoddar</dc:creator>
      <dc:date>2021-10-22T00:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: The NDVI Python function doesn't provide any output</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/the-ndvi-python-function-doesn-t-provide-any/m-p/1110088#M47028</link>
      <description>&lt;P&gt;Are you sure I need Image Analyst extension? Raster functions don't need Image Analyst extension. When I use the NDVI tool, I can create an NDVI image and I don't have Image Analyst extension. Also, I think at least it needs to give me an error if Image Analyst extension is the issue&lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2021 03:35:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/the-ndvi-python-function-doesn-t-provide-any/m-p/1110088#M47028</guid>
      <dc:creator>MaryamBarzegar</dc:creator>
      <dc:date>2021-10-22T03:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: The NDVI Python function doesn't provide any output</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/the-ndvi-python-function-doesn-t-provide-any/m-p/1110151#M47038</link>
      <description>&lt;P&gt;it appears elsewhere other than the IA&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/analysis/raster-functions/ndvi-function.htm" target="_blank"&gt;NDVI function—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/spatial-analyst/an-overview-of-the-spatial-analyst-functions.htm" target="_blank"&gt;An overview of the Spatial Analyst functions—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2021 09:10:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/the-ndvi-python-function-doesn-t-provide-any/m-p/1110151#M47038</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-10-22T09:10:05Z</dc:date>
    </item>
  </channel>
</rss>

