Run through az programs up to azgcorr. This creates .bil, .bil.hdr and .hdf files in the lev1 directory for a particular line. You can delete the .bil and .bil.hdr as these will be replaced later with CaliGeo versions of the files.
Run ENVI and open CaliGeo via ->Specim-> CaliGeo.
Raw image file – Select the appropriate .raw file in the eagle or hawk directories located in the project directory.
Calibration file – Select the appropriate .cal file from the eagle or hawk directories located in /users/rsg/arsf/calibration/2007
Dark data file – Same as raw image file.
Band configuration file – Select the appropriate .bnd file from the eagle or hawk directories in /users/rsg/arsf/calibration/specim_band_files. To find out which file to use you have to know what binning was used for the flight line in question. Open the .hdr file (with a text editor) for your line in the same directory as the .raw file Find the field called 'binning'; the first number contained within the brackets is the one you are interested in. Alternatively, cd to the directory and run the command 'grep binning *hdr'.
Unrectified intermediate file – Create an empty file in the project's lev1 directory with the same name as the .hdf file created by az software earlier, but with the extension .dat. Select the newly created file.
Hit 'advanced options'. Hit 'Flip spatial image'.
Hit 'Full radiometric correction' and answer 'No' to the dialog question.
When completed hit Basic Tools (on the ENVI menu bar) -> Convert Data (BSQ, BIL, BIP).
Select the file .dat file you created earlier and hit ok.
Select BIL as the Output interleave.
Choose the lev1 directory where your .dat file is located. Enter the output filename the same as your .dat file but with the extention .bil.
Run the az programs from axgcorr onwards which should create a lev3 file with the correct radiometric calibration.