<?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 Unable Publish Raster tiff files by Copy_raster in ArcGIS API for Python in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/unable-publish-raster-tiff-files-by-copy-raster-in/m-p/1538192#M10660</link>
    <description>&lt;P&gt;I am attempting to publish raster TIFF files to the ArcGIS Portal using ArcGIS API for Python by below Code:&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;from arcgis.raster.analytics import copy_raster&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;copy_raster(&lt;BR /&gt;input_raster=mosaic_tiff,&lt;BR /&gt;output_name=mosaic_name,&lt;BR /&gt;gis=gis,&lt;BR /&gt;context={"byref": True},&lt;BR /&gt;folder=folder_date,&lt;BR /&gt;output_datastore=datastore,&lt;BR /&gt;)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;It takes too long to obtain the list of TIF files using list_datastore_content after connecting to the portal. Every tif file is published using a for loop. For instance, if there are eight tif files in the datastore content path, occasionally two or three layers post successfully and error-free. Then, many errors such as these appear each time while publishing other tif files:&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;1.&amp;nbsp;A connection error has occurred: HTTPSConnectionPool (host='hostname', port=443): Max retries exceeded with url:'',&amp;nbsp;ResponseError('too many 503 error responses')).&lt;BR /&gt;&lt;BR /&gt;2.&amp;nbsp;Attempt to create folder in file share raster store failed.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;3.&amp;nbsp;&lt;SPAN&gt;&lt;SPAN class=""&gt;ERROR 999999: Something unexpected caused the tool to fail. Contact Esri Technical Support (&lt;A href="http://esriurl.com/support" target="_blank" rel="noopener"&gt;http://esriurl.com/support&lt;/A&gt;) to Report a Bug, and refer to the error help for potential solutions or workarounds.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;Invalid cache raster dataset (CRF) with invalid/inconsistent definition.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 13 Sep 2024 11:36:01 GMT</pubDate>
    <dc:creator>DineshperiyasamyK</dc:creator>
    <dc:date>2024-09-13T11:36:01Z</dc:date>
    <item>
      <title>Unable Publish Raster tiff files by Copy_raster in ArcGIS API for Python</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/unable-publish-raster-tiff-files-by-copy-raster-in/m-p/1538192#M10660</link>
      <description>&lt;P&gt;I am attempting to publish raster TIFF files to the ArcGIS Portal using ArcGIS API for Python by below Code:&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;from arcgis.raster.analytics import copy_raster&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;copy_raster(&lt;BR /&gt;input_raster=mosaic_tiff,&lt;BR /&gt;output_name=mosaic_name,&lt;BR /&gt;gis=gis,&lt;BR /&gt;context={"byref": True},&lt;BR /&gt;folder=folder_date,&lt;BR /&gt;output_datastore=datastore,&lt;BR /&gt;)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;It takes too long to obtain the list of TIF files using list_datastore_content after connecting to the portal. Every tif file is published using a for loop. For instance, if there are eight tif files in the datastore content path, occasionally two or three layers post successfully and error-free. Then, many errors such as these appear each time while publishing other tif files:&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;1.&amp;nbsp;A connection error has occurred: HTTPSConnectionPool (host='hostname', port=443): Max retries exceeded with url:'',&amp;nbsp;ResponseError('too many 503 error responses')).&lt;BR /&gt;&lt;BR /&gt;2.&amp;nbsp;Attempt to create folder in file share raster store failed.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;3.&amp;nbsp;&lt;SPAN&gt;&lt;SPAN class=""&gt;ERROR 999999: Something unexpected caused the tool to fail. Contact Esri Technical Support (&lt;A href="http://esriurl.com/support" target="_blank" rel="noopener"&gt;http://esriurl.com/support&lt;/A&gt;) to Report a Bug, and refer to the error help for potential solutions or workarounds.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;Invalid cache raster dataset (CRF) with invalid/inconsistent definition.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2024 11:36:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/unable-publish-raster-tiff-files-by-copy-raster-in/m-p/1538192#M10660</guid>
      <dc:creator>DineshperiyasamyK</dc:creator>
      <dc:date>2024-09-13T11:36:01Z</dc:date>
    </item>
  </channel>
</rss>

