X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 14 Jun 2018 10:05 AM by  MariM
ENVI 5.5: How to add a new spectral library
 3 Replies
Sort:
You are not authorized to post a reply.
Author Messages

Ludovic Legros



New Member


Posts:29
New Member


--
14 Jun 2018 07:53 AM
    Hello,

    I would like to use a spectrum I downloaded, but I didn't succeeded to load it in ENVI.
    I have a .txt files like this one:

    S07WV3 Record=4157: Montmorillonite-Na CU93-52A BECKc AREF
    1.9322328e-001
    2.5150448e-001
    3.4166631e-001
    4.2895776e-001
    4.5956072e-001
    4.8911583e-001
    5.0407648e-001
    5.0435984e-001
    5.2898306e-001
    5.2644795e-001
    5.3021705e-001
    5.2787507e-001
    4.7677675e-001
    4.5206088e-001
    4.5573318e-001
    4.3987176e-001

    Can you help me figure this out ?

    Thank you !



    MariM



    Veteran Member


    Posts:2396
    Veteran Member


    --
    14 Jun 2018 08:52 AM
    You will use the Spectral Library builder:
    http://www.harrisgeospati...raries.html#Spectral

    The text file you import should have wavelengths in one column and the spectral response value in the next column. In your example, it looks like it is only the spectral response. Does your source for this data also have the wavelength information for the spectrum?

    Ludovic Legros



    New Member


    Posts:29
    New Member


    --
    14 Jun 2018 09:29 AM
    Yes, there is another .txt file with the wavelengths.

    MariM



    Veteran Member


    Posts:2396
    Veteran Member


    --
    14 Jun 2018 10:05 AM
    You will need to combine these together. I would use something like Excel and import the wavelengths in the first column, then the spectrum values in the second column. Then save as a text file and import this to ENVI using the Spectral Library Builder.
    You are not authorized to post a reply.