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). You can also just use the
PDL::IO::FlexRaw stuff but you'll have to figure out
the header stuff yourself.
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
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl