== Convert Data Type of BIL files to Float == We've heard from some users certain programs (e.g., ENVI FLAASH) require the data type of input files to be 32-bit Float, rather than 16-bit Unsigned Integer (which is what we currently deliver). '''ENVI''' 1. From 'Basic Tools' Select 'Band Math 1. Input the following expression {{{ float(b1) }}} 1. Select 'Map Variable to Input File' and select the BIL file 1. Note this will change the interleave to BSQ, you can change back to BIL using 'Convert Data' from 'Basic Tools'. '''GDAL''' You can also change the data type using the [http://www.gdal.org/gdal_translate.html gdal_translate] command, included with GDAL. {{{ gdal_translate -of ENVI -ot Float32 -co "INTERLEAVE=BIL" f083011b.bil f083011b_float.bil }}} [wiki:FAQ Back to FAQ]