I don't think you can use r.in.bin because there is no option to specify the number of bands and how those bands are interleaved. In the past I've used Multispec and Matlab to read the data but you might be able to manipulate GDAL to read it. If you can create a header file for a generic binary file that will provide GDAL with the number of rows, columns, byte order, #channels, # of bytes/sample and the interleave method then you can tell GDAL how to read it. Unfortunately I can't hit the GDAL website right now so I can't tell if any of the generic binary formats allow for all those definitions.

Cheers,

Mike

PS. Also note that none of the tiles provided in the "free" area have been geometrically rectified and some have severe distortions due to aircraft dynamics.

On 5-Jul-09, at 3:49 PM, Dylan Beaudette wrote:

Hi,

I have been searching mailing lists for a while, and have not been
able to discover any approaches for working with AVIRIS data in GRASS.
Does anyone on the list know how to either convert or extract data as
delivered in the "free data" section [1] of the AVIRIS home page? I
have tried working with the "radiance" data, which when uncompressed
comes with several .img files-- however my copy of GDAL does not know
what to make of it. It looks like it may be possible [2] to import the
data using r.in.bin... I was not able to get this working.



1. http://aviris.jpl.nasa.gov/html/aviris.freedata.html
2. http://n2.nabble.com/AVIRIS---grass-td1864545.html

Thanks!

Dylan
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to