X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 23 Jun 2015 11:53 AM by  anon
FLAASH module is showing an error while processing VIIRS image
 8 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
23 Jun 2015 11:53 AM
    Hi, I am facing the following error while applying atmospheric correction to a VIIRS image. Error: ****************************************************************** Problem: The FLAASH program exited with the following errors: ACC error: modrd5: Nonfinite numbers in coefficient array coed. IDL error: OPENR: Error opening file. Unit:100 File: usr/local/exelis/envi52/classic/filt_func/npp_viirs.sli.hdr "No such file or directory" ACC_MODRD5 ACC_KTAEROSOL ACC_HYPER2 ACC_ACC ENVI_ACC_EVENT ENVI_FLAASH_PROCESS_MANAGER $MAIN$ ************************************************************* FLAASH input is the radiance file with wavelengths and FWHM in micrometers.

    MariM



    Veteran Member


    Posts:2396
    Veteran Member


    --
    24 Jun 2015 07:14 AM
    Can you post the template you used when processing in FLAASH? The template is created in the output directory you specify in the FLAASH dialog for output. I also noticed that you have an irregularly named file: OPENR: Error opening file. Unit:100 File: usr/local/exelis/envi52/classic/filt_func/npp_viirs.sli.hdr Can you try setting the Filter Function in the Multispectral Settings to use the npp_viirs.sli rather than the .hdr? The files should be named: npp_viirs.sli and npp_viirs.hdr

    Deleted User



    New Member


    Posts:
    New Member


    --
    25 Jun 2015 09:07 AM
    Yes, I checked in the templete file and "filtfunc" path is set for npp_viirs.sli. However, I do not know why the error window is showing different file name. Templete for flaash processing: ; ;ENVI FLAASH PARAMETERS TEMPLATE (5.2.1) ;Written Thu Jun 25 09:59:52 2015 ; ; Project Parameters enviacc.prj.radiance_file = /home/ishan/Desktop/apalachicola_imagery/viirs/mar24_desending/radiance_bil enviacc.prj.reflect_file = /home/ishan/Desktop/apalachicola_imagery/viirs/FLAASH_output enviacc.prj.filter_func_file = /usr/local/exelis/envi52/classic/filt_func/npp_viirs.sli enviacc.prj.filter_func_file_index = 0 enviacc.prj.water_band_choice = 1.13 enviacc.prj.red_channel = 5 enviacc.prj.green_channel = 4 enviacc.prj.blue_channel = 2 enviacc.prj.water_abs_channel = 0 enviacc.prj.water_ref_channel = 0 enviacc.prj.kt_upper_channel = 7 enviacc.prj.kt_lower_channel = 11 enviacc.prj.kt_cutoff = 0.0300 enviacc.prj.kt_ratio = 0.8000 enviacc.prj.cirrus_channel = 9 enviacc.prj.water_retrieval = 0 enviacc.prj.user_stem_name = flaash_ enviacc.prj.modtran_directory = /home/ishan/Desktop/apalachicola_imagery/viirs/flaash_dir/ ; ; MODTRAN Parameters enviacc.modtran.visvalue = 40.0000 enviacc.modtran.f_resolution = 15.0000 enviacc.modtran.day = 24 enviacc.modtran.month = 3 enviacc.modtran.year = 2015 enviacc.modtran.gmt = 18.8997 enviacc.modtran.latitude = 29.9329 enviacc.modtran.longitude = -84.4331 enviacc.modtran.sensor_altitude = 824.0000 enviacc.modtran.ground_elevation = 0.0000 enviacc.modtran.view_zenith_angle = 180.0000 enviacc.modtran.view_azimuth = 0.0000 enviacc.modtran.atmosphere_model = 2 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 = 163 enviacc.img.nlines = 99 enviacc.img.data_type = 4 enviacc.img.margin1 = 0 enviacc.img.margin2 = 0 enviacc.img.nskip = 0 enviacc.img.pixel_size = 750.0000 enviacc.img.sensor_name = NPP VIIRS ; ; Analysis Parameters enviacc.ana.aerosol_scaleht = 1.5000 enviacc.ana.use_adjacency = 0 enviacc.ana.output_scale = 10000.0000 enviacc.ana.polishing_res = 0 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 = micron enviacc.spc.lambda = [ 0.4120, 0.4450, 0.4880, 0.5550, 0.6720, 0.7460, 0.8650, 1.2400, 1.3780, 1.6100, 2.2500] enviacc.spc.fwhm = [ 0.020000, 0.018000, 0.020000, 0.020000, 0.020000, 0.015000, 0.039000, 0.020000, 0.015000, 0.060000, 0.050000] 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] Thank you for your time. Ishan

    MariM



    Veteran Member


    Posts:2396
    Veteran Member


    --
    25 Jun 2015 12:01 PM
    What VIIRS product are you using? Have you tried processing this file on another machine - on a Windows system? I tried processing a radiance cube with the viirs filter function and do not receive any errors. Could you post the header file (.hdr) of your viirs dataset? I could generate a dummy dataset to test.

    Deleted User



    New Member


    Posts:
    New Member


    --
    25 Jun 2015 01:18 PM
    I am using VIIRS-SDR (NOAA CLASS) product. Please refer the following link: "http://www.class.ncdc.noa...=30&submit.y=1" Generally, I use VIIRS data (L1A product or atmospherically corrected L2 product ) acquired from Ocean Color website (OBPG, NASA- Link: "http://oceancolor.gsfc.nasa.gov/cms/") and apply atmospheric correction using SeaDAS software. I would like to utilize FLAASH based atmospheric correction in the coastal waters. NOAA CLASS products are much easier to read in ENVI since Geo-location (latitude/longitude) information are attached to each band and geo-referencing is not a problem. Just for the reference, here is my procedure: 1) read in VIIRS_SDR file 2) Used "EDIT ENVI HEADER" to convert wavelength and FWHM units from Nanometer to Micrometer, 3) radiance file is multiplied by 0.1 to convert FLAASH compatible radiance units and converted the file to BIL format. 4) Then applied respective file paths and parameters to run FLAASH (This is the point where I am facing the error). I am using this product for the first time and on Linux Redhat. Ishan

    Deleted User



    New Member


    Posts:
    New Member


    --
    25 Jun 2015 01:45 PM
    Is there any way to attach a document to the post? I am trying to use document manager, however uploading option is off in my account. Here is the header info of radiometrically calibrated Radiance data (file of my procedure after step1- input file header). ENVI samples = 4061 lines = 3722 bands = 11 data type = 4 interleave = bsq file type = ENVI Standard header offset = 0 byte order = 0 map info = {Geographic Lat/Lon, 1.0000, 1.0000, -111.53555298, 50.51091766, 1.021576e-02, 6.576538e-03, WGS-84, units=Degrees} coordinate system string = {GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]]} default bands = {5,4,3} band names = { M1, M2, M3, M4, M5, M6, M7, M8, M9, M10, M11} wavelength = { 412.000000, 445.000000, 488.000000, 555.000000, 672.000000, 746.000000, 865.000000, 1240.000000, 1378.000000, 1610.000000, 2250.000000} fwhm = { 20.000000, 18.000000, 20.000000, 20.000000, 20.000000, 15.000000, 39.000000, 20.000000, 15.000000, 60.000000, 50.000000} wavelength units = Nanometers data ignore value = -9999.00000000 sensor type = NPP VIIRS product type = SDR acquisition time = 2015-03-24T18:57:37.41218626499192Z

    MariM



    Veteran Member


    Posts:2396
    Veteran Member


    --
    26 Jun 2015 09:45 AM
    Did you use 'FLAASH Settings' when running Radiometric Calibration? This data header is still in BSQ so FLAASH will not accept it. *Update* Sorry, I did not see your previous post. Let me see if I can find a similar dataset to process. I could reproduce the error using your header file and dummy data but I ran a different dataset using the VIIRS filter function and it worked fine. Have you tried just reading in your original dataset, convert the interleave and run FLAASH on this result using an input scale factor of 10?

    Deleted User



    New Member


    Posts:
    New Member


    --
    28 Jun 2015 12:10 PM
    I tried to use original radiance file (BIL) with input scale factor 10. However it gave me the same error. I do not why it is keep showing the same error that "npp_viirs.sli.hdr is not found" rather than searching "npp_viirs.sli". Ishan

    MariM



    Veteran Member


    Posts:2396
    Veteran Member


    --
    30 Jun 2015 12:27 PM
    I was able to reproduce this error with an 11-band VIIRS band in ENVI 5.2.1. I am not sure what is causing it but I was able to test it in ENVI 5.3 (not yet released but due around August 2015 time frame) and did not get the error. I would suggest using Quac for now.
    You are not authorized to post a reply.