On 8/17/2010 6:49 PM, P Kishor wrote:
> On Tue, Aug 17, 2010 at 3:55 PM, Chris Marshall<[email protected]>  wrote:
>> Puneet Kishor writes:
>>>
>>> I am inheriting a few "binary" files with .bsq
>>> (band sequential?) from an IDL user.  Is there a PDL
>>> routine to read these?
>>
>> There is a readenvi.pdl file for the PDL::AutoLoader
>> in PDL/IO/ENVI (which is the starting point for a
>> basic ENVI IO module).

Then that is a bug in the release.  It is there
in my copy of the pre-release.  Are you sure
you have been testing the PDL-2.4.7 pre-release
and not just the old PDL-2.4.6?

--Chris

> Hmmm... I don't see PDL::IO::ENVI, but that may definitely be useful
> in the long run.
>
>>   You can also just use the
>> PDL::IO::FlexRaw stuff but you'll have to figure out
>> the header stuff yourself.
>
> In the meantime, Craig's suggestion for FlexRaw worked splendidly. The
> header part was easy. I just created the header and, bingo! I had a
> nice, hot piddle to work with.
>
>
>>
>> Hint:  readenvi.pdl has comments too that may be useful
>> if you want to roll your own.  All of this is in the latest
>> PDL-2.4.7 pre-release on CPAN.  See the announcements
>> this list.
>>
>> --Chris
>
>
>
>
>
>
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 9.0.851 / Virus Database: 271.1.1/3078 - Release Date: 08/17/10 
> 14:35:00
>


_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to