X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 19 May 2017 07:17 AM by  Katie Corcoran
FLAASH Error while Processing GeoEye-1 Image
 4 Replies
Sort:
You are not authorized to post a reply.
Author Messages

Katie Corcoran



New Member


Posts:2
New Member


--
16 May 2017 02:35 PM
    While running FLAASH on a 4-band GeoEye-1 image, I receive the following error:

    "Problem: The FLAASH program exited with the following errors:
    ACC error: avrd:
    IDL error:
    Illegal subscript range: FIMAGE.

    ACC_AVRD <( 9)>
    ACC_HYPER2 <( 524)>
    ACC_ACC <( 191)>
    ENVI_ACC_EVENT <(3179)>
    ENVI_FLAASH_PROCESS_MANAGER <( 581)>
    $MAIN$ <( 0)>"

    FLAASH is running properly on 8-band WorldView-2 images.

    What might be causing this error?

    MariM



    Veteran Member


    Posts:2396
    Veteran Member


    --
    17 May 2017 09:25 AM
    Can you post the contents of the template.txt located in the output directory specified in your FLAASH dialog after you run the process and it fails? This might give a clue to the error.

    Katie Corcoran



    New Member


    Posts:2
    New Member


    --
    17 May 2017 11:16 AM
    ;
    ;ENVI FLAASH PARAMETERS TEMPLATE (5.3.1)
    ;Written Fri May 05 10:29:04 2017
    ;
    ; Project Parameters
    enviacc.prj.radiance_file = S:\Data_Products\2_Radiometric_Calibration\Chad_AbouNdouro\20151102_091921_M_AbouNdouro_DN_Rad_BIL.dat
    enviacc.prj.reflect_file = S:\Data_Products\3_Atmospheric_Correction\FLAASH\Chad_AbouNdouro\20151102_091921_M_AbouNdouro_DN_Rad_BIL_FLAASH.dat
    enviacc.prj.filter_func_file = C:\Program Files\Exelis\ENVI53\classic\filt_func\geoeye1.sli
    enviacc.prj.filter_func_file_index = 1
    enviacc.prj.water_band_choice = 1.13
    enviacc.prj.red_channel = 4
    enviacc.prj.green_channel = 3
    enviacc.prj.blue_channel = 1
    enviacc.prj.water_abs_channel = 0
    enviacc.prj.water_ref_channel = 0
    enviacc.prj.kt_upper_channel = 0
    enviacc.prj.kt_lower_channel = 0
    enviacc.prj.kt_cutoff = 0.0800
    enviacc.prj.kt_ratio = 0.5000
    enviacc.prj.cirrus_channel = 0
    enviacc.prj.water_retrieval = 0
    enviacc.prj.user_stem_name = _flaash_
    enviacc.prj.modtran_directory = C:\Users\kcq\Desktop\FLAASH\
    ;
    ; MODTRAN Parameters
    enviacc.modtran.visvalue = 40.0000
    enviacc.modtran.f_resolution = 15.0000
    enviacc.modtran.day = 2
    enviacc.modtran.month = 11
    enviacc.modtran.year = 2015
    enviacc.modtran.gmt = 9.3225
    enviacc.modtran.latitude = 13.3276
    enviacc.modtran.longitude = 19.9323
    enviacc.modtran.sensor_altitude = 684.0000
    enviacc.modtran.ground_elevation = 0.4040
    enviacc.modtran.view_zenith_angle = 161.7000
    enviacc.modtran.view_azimuth = -168.0000
    enviacc.modtran.atmosphere_model = 1
    enviacc.modtran.aerosol_model = 1
    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 = 8110
    enviacc.img.nlines = 7808
    enviacc.img.data_type = 12
    enviacc.img.margin1 = 0
    enviacc.img.margin2 = 0
    enviacc.img.nskip = 0
    enviacc.img.pixel_size = 2.0400
    enviacc.img.sensor_name = GeoEye-1
    ;
    ; Analysis Parameters
    enviacc.ana.aerosol_scaleht = 1.5000
    enviacc.ana.use_adjacency = 1
    enviacc.ana.output_scale = 10000.0000
    enviacc.ana.output_diagnostic_files = 0
    enviacc.ana.auto_save_template = 1
    enviacc.ana.polishing_res = 9
    enviacc.ana.aerosol_retrieval = 0
    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
    ;
    ; GParameters Parameters
    enviacc.gparameters.gfact = 0
    enviacc.gparameters.gval = 0.0000
    enviacc.gparameters.use_lr_method = 0
    enviacc.gparameters.multikernel = 1
    enviacc.gparameters.autoroi = auto
    enviacc.gparameters.selarg = a
    ;
    ; Spectral Parameters
    enviacc.spc.wavelength_units = nanometer
    enviacc.spc.lambda = [
    427.0000, 478.5000, 546.0000, 608.0000]
    enviacc.spc.fwhm = [
    -1.000000, -1.000000, -1.000000, -1.000000]
    enviacc.img.p_input_scale = [
    1000.0000, 1000.0000, 1000.0000, 1000.0000]

    MariM



    Veteran Member


    Posts:2396
    Veteran Member


    --
    18 May 2017 01:06 PM
    One difference I see in your template and my data cube is that the wavelengths are different. Here are mine for Geoeye-1 data:
    480.0000, 545.0000, 672.5000, 850.0000

    and also the fwhm are not defined (yours are set to -1). My data have the fwhm defined when I open the original file as:
    fwhm = {58.400000, 64.600000, 31.600000, 101.200000}

    Where did you get the wavelength values for your data? it might be that they do not match the filter function (spectral response file).

    I also notice that you are using a scale factor and the input is integers. Nothing wrong with that but if you have the original data, you might try opening this data and using the Radiometric Calibration tool with 'FLAASH Settings'. This will output the radiance cube already in the expected units and you can use a scale factor of 1.

    Katie Corcoran



    New Member


    Posts:2
    New Member


    --
    19 May 2017 07:17 AM
    Thank you, Mari. You are correct, the wavelengths didn't match the filter function. I edited the header file and re-ran FLAASH, which worked.
    You are not authorized to post a reply.