X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 19 Jan 2017 05:38 PM by  anon
FLAASH error modrd5 on worldview2
 3 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:6
New Member


--
19 Jan 2017 05:38 PM
    I get an error when I run FLAASH (envi5.3) on a worldview2 image. The error message in the journal file is ACC error... IDL error: -267 READU: End of file encountered. Unit: 102 File: /tmp/acc_modroot.fla in context: modrd5:reading archive file header calls: ACC_MODRD5 ACC_HYPER2 ACC_ACC ENVI_ACC_EVENT ENVI_FLAASH_PROCESS_MANAGER $MAIN$ The file acc_modroot.fla is empty. I read an old forum post about this error mesage and tried the suggestions, but it still faceplants.

    MariM



    Veteran Member


    Posts:2396
    Veteran Member


    --
    20 Jan 2017 01:21 PM
    The READU error is pretty generic. I have a few questions: - did you calibrate the WV-2 data to radiance using the Radiometric Calibration tool with 'FLAASH Settings' prior to input to FLAASH? - can you post the template.txt that is created in the output directory you specified in FLAASH?

    Deleted User



    New Member


    Posts:6
    New Member


    --
    20 Jan 2017 02:48 PM
    Thanks for the reply. The radiance were calibrated to uW/cm^2/nm/str and output as float. the template is ; ;ENVI FLAASH PARAMETERS TEMPLATE (5.3) ;Written Fri Jan 20 13:29:04 2017 ; ; Project Parameters enviacc.prj.radiance_file = /tmp/radianceEastMoorea_BIP enviacc.prj.reflect_file = /tmp/reflectranceEastMoorea enviacc.prj.filter_func_file = /home/itt/envi53/classic/filt_func/worldview2.sli enviacc.prj.filter_func_file_index = 1 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 = 0 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 = flaashEastMoorea_ enviacc.prj.modtran_directory = /tmp/ ; ; MODTRAN Parameters enviacc.modtran.visvalue = 40.0000 enviacc.modtran.f_resolution = 15.0000 enviacc.modtran.day = 19 enviacc.modtran.month = 6 enviacc.modtran.year = 2016 enviacc.modtran.gmt = 20.5825 enviacc.modtran.latitude = -17.5368 enviacc.modtran.longitude = -149.7876 enviacc.modtran.sensor_altitude = 770.0000 enviacc.modtran.ground_elevation = 0.0000 enviacc.modtran.view_zenith_angle = 180.0000 enviacc.modtran.view_azimuth = 0.0000 enviacc.modtran.atmosphere_model = 1 enviacc.modtran.aerosol_model = 4 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 = 4189 enviacc.img.nlines = 7986 enviacc.img.data_type = 4 enviacc.img.margin1 = 0 enviacc.img.margin2 = 0 enviacc.img.nskip = 0 enviacc.img.pixel_size = 2.0000 enviacc.img.sensor_name = WorldView-2 ; ; 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 = 2 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 = [ 425.0000, 480.0000, 545.0000, 605.0000, 660.0000, 725.0000, 832.0000, 950.0000] enviacc.spc.fwhm = [ -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] The Aerosol Model is set to Maritime, and Aerosol Retrievel was set to None. When 2-Band Over Water was set, the error messages was "ACC error: ktaerosol:determine blue/red test usage IDL error: Variable is undefined: REFCUT

    Deleted User



    New Member


    Posts:6
    New Member


    --
    20 Jan 2017 04:27 PM
    Ok using "Radiometric Calibration tool with 'FLAASH Settings'" worked. Before I used classic Basic Tools/Preprocessing/Calibration Utilities/WorldView Radiance. Units were uW/cm^2/nm/str, so a scale factor of 1 for all bands bands, which I thought was all good. Thanks for your help.
    You are not authorized to post a reply.