X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 27 Feb 2017 05:18 PM by  anon
FLAASH error with MASTER data
 5 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
27 Feb 2017 05:18 PM
    Hi, I'm trying to process MASTER multispectral data using FLAASH. I'm using the unknown multispectral sensor type and have a system response function file. I'm only trying to process the swir bands. The image came in calibrated radiance. When I run FLAASH on ENVI 5.2 I get the following error: Problem: The FLAASH program exited with the following errors: ACC error: modrd5: Nonfinite numbers in coefficient array coed. IDL error: ACC_MODRD5 ACC_KTAEROSOL ACC_HYPER2 ACC_ACC ENVI_ACC_EVENT ENVI_FLAASH_PROCESS_MANAGER IDLRTMAIN $MAIN$ Here is the template.txt that was created in the output directory: ; ;ENVI FLAASH PARAMETERS TEMPLATE (5.2) ;Written Mon Feb 27 18:55:57 2017 ; ; Project Parameters enviacc.prj.radiance_file = C:\Program Files\data\MASTER\orig2\MASTERL1B_0300701_09_20030827_1957_2002_V01_georef_def_34.6_vnir enviacc.prj.reflect_file = C:\Program Files\data\MASTER\flaash1\MASTERL1B_0300701_09_20030827_1957_2002_V01_georef_def_34.6_bil_vnir_flaash1 enviacc.prj.filter_func_file = C:\Program Files\data\MASTER\Aug_03_SRFs\Redone\master_srfs_vnir1-25_aug_03 enviacc.prj.filter_func_file_index = 0 enviacc.prj.water_band_choice = 1.13 enviacc.prj.red_channel = 5 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 = 21 enviacc.prj.kt_lower_channel = 5 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 = testflaashvnir_ enviacc.prj.modtran_directory = C:\Program Files\data\MASTER\flaash1\ ; ; MODTRAN Parameters enviacc.modtran.visvalue = 40.0000 enviacc.modtran.f_resolution = 15.0000 enviacc.modtran.day = 23 enviacc.modtran.month = 8 enviacc.modtran.year = 2003 enviacc.modtran.gmt = 20.0000 enviacc.modtran.latitude = 44.1488 enviacc.modtran.longitude = -121.7673 enviacc.modtran.sensor_altitude = 13.8500 enviacc.modtran.ground_elevation = 7.0000 enviacc.modtran.view_zenith_angle = 180.0000 enviacc.modtran.view_azimuth = 0.0000 enviacc.modtran.atmosphere_model = 6 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 = 738 enviacc.img.nlines = 1363 enviacc.img.data_type = 4 enviacc.img.margin1 = 0 enviacc.img.margin2 = 0 enviacc.img.nskip = 0 enviacc.img.pixel_size = 34.6000 enviacc.img.sensor_name = UNKNOWN-MSI ; ; 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 = 0 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 = micron enviacc.spc.lambda = [ 0.4590, 0.4990, 0.5390, 0.5790, 0.6550, 0.7110, 0.7510, 0.8010, 0.8670, 0.9440, 0.9800, 1.5990, 1.6560, 1.7120, 1.7680, 1.8210, 1.8750, 1.9290, 1.9770, 2.0820, 2.1650, 2.2160, 2.2660, 2.3280, 2.3980] enviacc.spc.fwhm = [ -1.000000, -1.000000, -1.000000, -1.000000, -1.000000, -1.000000, -1.000000, -1.000000, -1.000000, -1.000000, -1.000000, -1.000000, -1.000000, -1.000000, -1.000000, -1.000000, -1.000000, -1.000000, -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, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000]

    MariM



    Veteran Member


    Posts:2396
    Veteran Member


    --
    28 Feb 2017 05:33 AM
    I found a report where you can get this error in FLAASH if the filter function is reported in nanometers while the image wavelengths are defined in microns. Can you check your filter function to see how the wavelengths are defined? If it uses nm, then I would change the MASTER header units to nm also and see if it resolves the error.

    Deleted User



    New Member


    Posts:
    New Member


    --
    28 Feb 2017 06:12 AM
    Hi, The filter function and image wavelengths are both reported in microns.

    MariM



    Veteran Member


    Posts:2396
    Veteran Member


    --
    28 Feb 2017 07:19 AM
    Does your filter function file represent the exact same bands as your input file, in the same order as in your input file? I also noticed that the elevation in the area is set to 7km. Is this correct?

    Deleted User



    New Member


    Posts:
    New Member


    --
    01 Mar 2017 04:19 PM
    Hi, Yes, the filter function library file and and the input file have matching bands. I also double-checked the input file against the filter functions of ASTER and others to make sure mine looked similar. This area is mountainous and the elevation is approximately correct. I changed the elevation to 6 km and got the same error message, but no error appeared when I changed the elevation to 0 km and the program completed. Something is wrong with the output image though, as the spectra vary between +/- 3*10^4.

    MariM



    Veteran Member


    Posts:2396
    Veteran Member


    --
    02 Mar 2017 08:23 AM
    The output values indicate that the input is likely not in the expected radiance units if microW/(cm^2*sr*nm). Can you calcualte the statistics on the input data and let me know the min/max? If in the expected units, the values will range from about 2-35 or so in floating point. If they are in the 100s or 1000s, then you will need to use a scale factor to conver them to the appropriate units for input. Do you have access to a newer version of ENVI/FLAASH?
    You are not authorized to post a reply.