Hi,<br><br>I&#39;m using FWTools 2.10 on Windows.&nbsp; I&#39;m trying to access an ENVI file through Python.&nbsp; I have two files:&nbsp; my_file.envi and my_file.envi.hdr<br><br>Here&#39;s a code snippet:<br><br>if __name__ == &#39;__main__&#39;:<br>
<br>&nbsp;&nbsp;&nbsp; input_file = &quot;my_file.envi&quot;<br>&nbsp;&nbsp;&nbsp; gdal.AllRegister()<br>&nbsp;&nbsp;&nbsp; argv = gdal.GeneralCmdLineProcessor( sys.argv )<br><br>&nbsp;&nbsp;&nbsp; dataset = gdal.Open(input_file, GA_ReadOnly)<br><br><br>When I do this I get a message saying &quot;my_file.envi&quot; is not a supported file format.&nbsp; If I try to use &quot;my_file.envi.hdr&quot; I get a message telling me to use &quot;my_file.envi&quot;&nbsp; If I strip off the .envi everything works fine.&nbsp; Is there a way to make gdal.Open() work correctly with the .envi in the filenames?<br>
<br>Thanks much,<br>-Jeff<br>