<?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 NoData values change after saving in ArcGIS Pro in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/nodata-values-change-after-saving-in-arcgis-pro/m-p/1205886#M59008</link>
    <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;I'm using ArcGIS Pro 3.0 to process a series of .tif files. I'm going to process these images in a program that requires NoData and nan values to be set to a numerical value, like -3. I have code to set these null values to -3, and it works when the output is a geodatabase object, but not when I save it. When I save it to a file folder, it does not change the NoData values at all. Why does this happen, and how can I get my saved outputs to have changed NoData values? Here is my code:&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;from arcpy.sa import *
inras = r"G:\My Drive\work\Northern Animal Ecology Lab\sentinelrst\rst2019\bl\20190129.tif"
outCon = Con(IsNull(inras), -3, inras)
outCon.save(r"G:\My Drive\work\Northern Animal Ecology Lab\sentinelrst\rst2019\20190129null.tif")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 24 Aug 2022 15:32:11 GMT</pubDate>
    <dc:creator>BeckB</dc:creator>
    <dc:date>2022-08-24T15:32:11Z</dc:date>
    <item>
      <title>NoData values change after saving in ArcGIS Pro</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/nodata-values-change-after-saving-in-arcgis-pro/m-p/1205886#M59008</link>
      <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;I'm using ArcGIS Pro 3.0 to process a series of .tif files. I'm going to process these images in a program that requires NoData and nan values to be set to a numerical value, like -3. I have code to set these null values to -3, and it works when the output is a geodatabase object, but not when I save it. When I save it to a file folder, it does not change the NoData values at all. Why does this happen, and how can I get my saved outputs to have changed NoData values? Here is my code:&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;from arcpy.sa import *
inras = r"G:\My Drive\work\Northern Animal Ecology Lab\sentinelrst\rst2019\bl\20190129.tif"
outCon = Con(IsNull(inras), -3, inras)
outCon.save(r"G:\My Drive\work\Northern Animal Ecology Lab\sentinelrst\rst2019\20190129null.tif")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Aug 2022 15:32:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/nodata-values-change-after-saving-in-arcgis-pro/m-p/1205886#M59008</guid>
      <dc:creator>BeckB</dc:creator>
      <dc:date>2022-08-24T15:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: NoData values change after saving in ArcGIS Pro</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/nodata-values-change-after-saving-in-arcgis-pro/m-p/1205924#M59015</link>
      <description>&lt;P&gt;I suspect the raster byte type change during the process&lt;/P&gt;</description>
      <pubDate>Wed, 24 Aug 2022 16:22:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/nodata-values-change-after-saving-in-arcgis-pro/m-p/1205924#M59015</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2022-08-24T16:22:44Z</dc:date>
    </item>
  </channel>
</rss>

