<?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: HDF to TIF - error in rendering out the layer in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/hdf-to-tif-error-in-rendering-out-the-layer/m-p/1079162#M61771</link>
    <description>&lt;P&gt;what about using the tool directly?&lt;/P&gt;&lt;P&gt;&lt;A href="https://desktop.arcgis.com/en/arcmap/10.3/tools/data-management-toolbox/extract-subdataset.htm" target="_blank"&gt;https://desktop.arcgis.com/en/arcmap/10.3/tools/data-management-toolbox/extract-subdataset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;or as per link example:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;##Extract 3-band subdataset from HDF
arcpy.ExtractSubDataset_management("MHDF.hdf", "subds.tif", "5;6;7")&lt;/LI-CODE&gt;</description>
    <pubDate>Thu, 15 Jul 2021 12:31:00 GMT</pubDate>
    <dc:creator>DavidPike</dc:creator>
    <dc:date>2021-07-15T12:31:00Z</dc:date>
    <item>
      <title>HDF to TIF - error in rendering out the layer</title>
      <link>https://community.esri.com/t5/python-questions/hdf-to-tif-error-in-rendering-out-the-layer/m-p/1079141#M61770</link>
      <description>&lt;P&gt;Hi! I struggled a lot to convert a HDF file to TIF, so I can visualize it in ArcMap. Here is the code I used:&lt;A href="https://www.programmersought.com/article/11974240079/" target="_blank" rel="noopener"&gt;https://www.programmersought.com/article/11974240079/&lt;/A&gt;&amp;nbsp; (the black-background code snip). When I ran the scriptin ArcMap python module, no error was thrown, and a new layer was added after, but incorrectly, I assume. All I can see is a black, vertical stripe, and the values are: "High: 3,40281e+038, Low: 0,500641". The HDF was downloaded from nsidc.org/data/ATL08. My goal (with forced due date) is to have a vegetation (canopy) height data model of my country. What did I do wrong? Maybe it's not georeferenced?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jul 2021 09:40:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/hdf-to-tif-error-in-rendering-out-the-layer/m-p/1079141#M61770</guid>
      <dc:creator>nabsabt</dc:creator>
      <dc:date>2021-07-15T09:40:25Z</dc:date>
    </item>
    <item>
      <title>Re: HDF to TIF - error in rendering out the layer</title>
      <link>https://community.esri.com/t5/python-questions/hdf-to-tif-error-in-rendering-out-the-layer/m-p/1079162#M61771</link>
      <description>&lt;P&gt;what about using the tool directly?&lt;/P&gt;&lt;P&gt;&lt;A href="https://desktop.arcgis.com/en/arcmap/10.3/tools/data-management-toolbox/extract-subdataset.htm" target="_blank"&gt;https://desktop.arcgis.com/en/arcmap/10.3/tools/data-management-toolbox/extract-subdataset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;or as per link example:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;##Extract 3-band subdataset from HDF
arcpy.ExtractSubDataset_management("MHDF.hdf", "subds.tif", "5;6;7")&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 15 Jul 2021 12:31:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/hdf-to-tif-error-in-rendering-out-the-layer/m-p/1079162#M61771</guid>
      <dc:creator>DavidPike</dc:creator>
      <dc:date>2021-07-15T12:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: HDF to TIF - error in rendering out the layer</title>
      <link>https://community.esri.com/t5/python-questions/hdf-to-tif-error-in-rendering-out-the-layer/m-p/1079168#M61772</link>
      <description>&lt;P&gt;If I just pull the .h5 file into ArcMap, and try this command in arcpy, it just throws a runtime error:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Runtime error Traceback (most recent call last): File "&amp;lt;string&amp;gt;", line 1, in &amp;lt;module&amp;gt; File "c:\program files (x86)\arcgis\desktop10.4\arcpy\arcpy\management.py", line 14129, in ExtractSubDataset raise e ExecuteError: ERROR 999999: Error executing function. Failed to execute (ExtractSubDataset).&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;If I try to call in the file from library (by url), it throws server error:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Background server threw an exception.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jul 2021 12:50:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/hdf-to-tif-error-in-rendering-out-the-layer/m-p/1079168#M61772</guid>
      <dc:creator>nabsabt</dc:creator>
      <dc:date>2021-07-15T12:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: HDF to TIF - error in rendering out the layer</title>
      <link>https://community.esri.com/t5/python-questions/hdf-to-tif-error-in-rendering-out-the-layer/m-p/1079193#M61774</link>
      <description>&lt;P&gt;Keeping the Background Processing disabled, are you able to run the&amp;nbsp;&lt;A href="https://desktop.arcgis.com/en/arcmap/10.4/tools/data-management-toolbox/extract-subdataset.htm" target="_self"&gt;&lt;STRONG&gt;Extract Subdataset&lt;/STRONG&gt;&lt;/A&gt;&amp;nbsp;tool?&lt;/P&gt;&lt;P&gt;Navigate to Geoprocessing &amp;gt; Geoprocessing Options &amp;gt; Background Processing. &lt;STRONG&gt;Uncheck&lt;/STRONG&gt; "Enable".&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JayantaPoddar_0-1626357758094.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/18523i26415C16DC153A91/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JayantaPoddar_0-1626357758094.png" alt="JayantaPoddar_0-1626357758094.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;________________________________________________________________________________________________&lt;/P&gt;&lt;P&gt;You could also install&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;ArcGIS Desktop Background Geoprocessing (64-bit)&lt;/STRONG&gt;, to work on a 64-bit python environment.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jul 2021 14:12:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/hdf-to-tif-error-in-rendering-out-the-layer/m-p/1079193#M61774</guid>
      <dc:creator>JayantaPoddar</dc:creator>
      <dc:date>2021-07-15T14:12:46Z</dc:date>
    </item>
  </channel>
</rss>

