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).
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 -- Puneet Kishor http://www.punkish.org Carbon Model http://carbonmodel.org Charter Member, Open Source Geospatial Foundation http://www.osgeo.org Science Commons Fellow, http://sciencecommons.org/about/whoweare/kishor Nelson Institute, UW-Madison http://www.nelson.wisc.edu ----------------------------------------------------------------------- Assertions are politics; backing up assertions with evidence is science ======================================================================= _______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
