<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to patches</title><link>https://sourceforge.net/p/spectralpython/patches/</link><description>Recent changes to patches</description><atom:link href="https://sourceforge.net/p/spectralpython/patches/feed.rss" rel="self"/><language>en</language><lastBuildDate>Fri, 08 Feb 2002 08:10:56 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/spectralpython/patches/feed.rss" rel="self" type="application/rss+xml"/><item><title>Improved reading of ENVI files</title><link>https://sourceforge.net/p/spectralpython/patches/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I had a hard time reading any of the ENVI files&lt;br /&gt;
from the ENVI demonstration CDROM into Spectral Python.&lt;/p&gt;
&lt;p&gt;Attached are diffs towards Spectral/Io/Envi.py&lt;br /&gt;
which enabled me to read a file. It are patches&lt;br /&gt;
to obvious bugs in the code.&lt;/p&gt;
&lt;p&gt;This worked for the first ENVI image which satisfied&lt;br /&gt;
the following criteria:&lt;br /&gt;
- data type == 1 or 2 (most seem to be 4)&lt;br /&gt;
- interleave != bsq (most seem to be bsq)&lt;/p&gt;
&lt;p&gt;Also, the actual data does seem to have another&lt;br /&gt;
extension then .img. My solution was to copy the&lt;br /&gt;
header to a new place, and a soft linked called&lt;br /&gt;
&amp;amp;lt;name&amp;amp;gt;.img pointing to the actual data file.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Fri, 08 Feb 2002 08:10:56 -0000</pubDate><guid>https://sourceforge.netd48b9d39e53135610bfcb8bd193fbf8df2bbd38a</guid></item></channel></rss>