Hi there. I've been working with ENI for a couple weeks now and just recently FLAASH. I'm trying to make some corrections for some landsat datasets. I've read up on FLAASH and after tinkering with some of the parameters, it seems pretty straight forward. Unfortunately, I'm running into some errors. While the program is running, I keep getting the same warning about every 30 seconds:
ENVI Warning
Problems were found with the following lines to the FLAASH input file:
E:\hank's_stuff\42_30\2002\aug_10\FLAASH\tile_template.txt
eniacc.prj.radiance_file =
E:\hank's_stuff\42_30\2002\aug_10\BIP\radiance_layers
enviacc.prj.modtran_directory =
E:\hank's_stuff\42_30\2002\aug_10\FLAASH\
After clicking "OK", I notice that my output reflectance file name has been changed from
E:\hank's_stuff\42_30\2002\aug_10\FLAASH\reflectance_values
to
E:\hank's_stuff\42_30\2002\aug_10\FLAASH\tmp
After a while (~50%) the Rootname is changed from "FLAASH" to "tile#" where # starts at 0 and increases by one every time the warning occurs. Followed by that warning is another warning that askes me if I want to overwrite the "tmp" reflectance file that it decided to change to in the first place. If I allow it to overwrite and continue, I have tp keep overwriting the "tmp" file until I'm 100% done. Then I receive the following error:
mosaic_error: An error has occured during processing
Error: "Variable is undefined: INTERLEAVE." The result may be invalid.
The only files that ed up being created after all of this is just the _journal and _templates. I suspect my input radiance image is not correct, but I don't know what the correct thing is. I simply made a layer stack of a set of bands converted to radiance and converted the entire layer to BIP format. I also had to edit the envi header file where I changed the band names and wavelength values. Other than that it seems like I might be making some obvious mistake about my input/output files or paths. Here's my template file:
;
;ENVI FLAASH PARAMETERS TEMPLATE (4.8)
;Written Tue Jul 19 11:12:03 2011
;
; Project Parameters
enviacc.prj.radiance_file = E:\hank's_stuff\42_30\2002\aug_10\BIP\radiance_layers
enviacc.prj.reflect_file = E:\hank's_stuff\42_30\2002\aug_10\FLAASH\reflectance
enviacc.prj.filter_func_file = C:\Program Files (x86)\ITT\IDL\IDL80\products\envi48\filt_func\tm.sli
enviacc.prj.filter_func_file_index = 0
enviacc.prj.water_band_choice = 1.13
enviacc.prj.red_channel = 5
enviacc.prj.green_channel = 6
enviacc.prj.blue_channel = 0
enviacc.prj.water_abs_channel = 0
enviacc.prj.water_ref_channel = 0
enviacc.prj.kt_upper_channel = 1
enviacc.prj.kt_lower_channel = 5
enviacc.prj.kt_cutoff = 0.1000
enviacc.prj.kt_ratio = 0.4500
enviacc.prj.cirrus_channel = 0
enviacc.prj.water_retrieval = 0
enviacc.prj.user_stem_name = test_
enviacc.prj.modtran_directory = E:\hank's_stuff\42_30\2002\aug_10\FLAASH\
;
; MODTRAN Parameters
enviacc.modtran.visvalue = 100.0000
enviacc.modtran.f_resolution = 15.0000
enviacc.modtran.day = 10
enviacc.modtran.month = 8
enviacc.modtran.year = 2002
enviacc.modtran.gmt = 18.1192
enviacc.modtran.latitude = 43.2000
enviacc.modtran.longitude = -117.3021
enviacc.modtran.sensor_altitude = 705.0000
enviacc.modtran.ground_elevation = 1.0000
enviacc.modtran.view_zenith_angle = 180.0000
enviacc.modtran.view_azimuth = 0.0000
enviacc.modtran.atmosphere_model = 2
enviacc.modtran.aerosol_model = 6
enviacc.modtran.multiscatter_model = 2
enviacc.modtran.disort_streams = 8
enviacc.modtran.co2mix = 390.0000
enviacc.modtran.water_column_multiplier = 1.0000
;
; Image Parameters
enviacc.img.nspatial = 7991
enviacc.img.nlines = 7241
enviacc.img.data_type = 4
enviacc.img.margin1 = 0
enviacc.img.margin2 = 0
enviacc.img.nskip = 0
enviacc.img.pixel_size = 30.0000
enviacc.img.sensor_name = Landsat TM5
;
; Analysis Parameters
enviacc.ana.aerosol_scaleht = 1.5000
enviacc.ana.use_adjacency = 1
enviacc.ana.output_scale = 10000.0000
enviacc.ana.polishing_res = 0
enviacc.ana.aerosol_retrieval = 1
enviacc.ana.calc_wl_correction = 0
enviacc.ana.reuse_modtran_calcs = 0
enviacc.ana.use_square_slit_function = 0
enviacc.ana.convolution_method = fft
enviacc.ana.use_tiling = 1
enviacc.ana.tile_size = 100.0000
;
; Spectral Parameters
enviacc.spc.wavelength_units = micron
enviacc.spc.lambda = [
2.2250, 11.4500, 1.6750, 0.8400, 0.6550, 0.5700, 0.4850]
enviacc.spc.fwhm = [
-1.000000, -1.000000, -1.000000, -1.000000, -1.000000, -1.000000, -1.000000]
enviacc.img.p_input_scale = [
1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000]
|