<?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: How to optimize copy raster function when copying layer raster layer to cloud raster format? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/how-to-optimize-copy-raster-function-when-copying/m-p/1112899#M62862</link>
    <description>&lt;P&gt;Nothing more to suggest then&lt;/P&gt;</description>
    <pubDate>Mon, 01 Nov 2021 16:55:31 GMT</pubDate>
    <dc:creator>DanPatterson</dc:creator>
    <dc:date>2021-11-01T16:55:31Z</dc:date>
    <item>
      <title>How to optimize copy raster function when copying layer raster layer to cloud raster format?</title>
      <link>https://community.esri.com/t5/python-questions/how-to-optimize-copy-raster-function-when-copying/m-p/1108826#M62684</link>
      <description>&lt;P&gt;i am creating a multidimensional raster layer from a netcdf file and then copying it to a cloud raster format (crf) using the copy raster function. The problem i am having is that as the file size of my netcdf files gets bigger it takes a lot of time for this function to complete (around 10 minutes for 1 mb file) and creates a crf of 1 GB which is quite huge. How can i optimize this function so that it processes the file faster and it creates a crf that does not takes up that much space?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;netCDF_in = r"C:\Users\arcgis\New\test_large.nc"
temperature = "temperature"
out_rasterdataset=r"C:\Users\arcgis\temperature.crf"
p=arcpy.md.MakeMultidimensionalRasterLayer(in_multidimensional_raster=netCDF_in, out_multidimensional_raster_layer=temperature,variables=["sea_floor_salinity","sea_floor_temperature"])
arcpy.CopyRaster_management(
	"temperature", out_rasterdataset,"",None,-3.402823e+38,"NONE","NONE","","NONE","NONE", "CRF", "NONE", "ALL_SLICES", "TRANSPOSE")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Oct 2021 14:51:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-optimize-copy-raster-function-when-copying/m-p/1108826#M62684</guid>
      <dc:creator>RehanChaudhary</dc:creator>
      <dc:date>2021-10-19T14:51:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to optimize copy raster function when copying layer raster layer to cloud raster format?</title>
      <link>https://community.esri.com/t5/python-questions/how-to-optimize-copy-raster-function-when-copying/m-p/1110488#M62773</link>
      <description>&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/copy-raster.htm" target="_blank"&gt;Copy Raster (Data Management)—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The option &lt;STRONG&gt;Build Multidimensional Transpose&lt;/STRONG&gt; may be the cause so you should look at whether you require its functionality&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/conversion/raster-to-other-format-multiple-.htm" target="_blank"&gt;Raster To Other Format (Conversion)—ArcGIS Pro | Documentation&lt;/A&gt;&amp;nbsp;is another option&lt;/P&gt;</description>
      <pubDate>Sat, 23 Oct 2021 08:53:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-optimize-copy-raster-function-when-copying/m-p/1110488#M62773</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-10-23T08:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to optimize copy raster function when copying layer raster layer to cloud raster format?</title>
      <link>https://community.esri.com/t5/python-questions/how-to-optimize-copy-raster-function-when-copying/m-p/1112807#M62853</link>
      <description>&lt;P&gt;i tried running without it and it still takes the same amount of time and a lot of space&lt;/P&gt;</description>
      <pubDate>Mon, 01 Nov 2021 11:21:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-optimize-copy-raster-function-when-copying/m-p/1112807#M62853</guid>
      <dc:creator>RehanChaudhary</dc:creator>
      <dc:date>2021-11-01T11:21:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to optimize copy raster function when copying layer raster layer to cloud raster format?</title>
      <link>https://community.esri.com/t5/python-questions/how-to-optimize-copy-raster-function-when-copying/m-p/1112899#M62862</link>
      <description>&lt;P&gt;Nothing more to suggest then&lt;/P&gt;</description>
      <pubDate>Mon, 01 Nov 2021 16:55:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-optimize-copy-raster-function-when-copying/m-p/1112899#M62862</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-11-01T16:55:31Z</dc:date>
    </item>
  </channel>
</rss>

