X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 06 Sep 2007 07:07 AM by  anon
Adding wavelength data to Landsat GeoTIFFs
 3 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
06 Sep 2007 07:07 AM
    I'm importing loads of Landsat ETM+ data as GeoTIFFs. I'm doing PAN sharpening of these, which means depending on the method I use the bands all need to have wavelengths and FWHM assigned. This is easy to do manually, but is impractical when doing it with large volumes of data. Is there a way to automate this? Is there a way to tell ENVI you're using Landsat ETM+ Band 1 and it assigns the correct values??

    MariM



    Veteran Member


    Posts:2396
    Veteran Member


    --
    06 Sep 2007 07:07 AM
    You can do this programmatically via ENVI_ASSIGN_HEADER_VALUE which would be the most efficient if you are doing this for many files. Alternately, if you have a predefined wavelength and FWHM in an ascii file (as columns), you can import this information to the header via the Edit ENVI Header ->Edit Attributes ->Wavelengths. Unfortunately, Geotiffs don't store information such as wavelengths in their structure so there is no way for ENVI to know exactly which band you are importing.

    Deleted User



    New Member


    Posts:
    New Member


    --
    04 Dec 2013 04:12 AM
    I was just wondering, has this been automated since my last post in 2007?! Although there is no means to store wavelength info in GeoTIFF format, all our GeoTIFFs are immediately Layer Stacked and saved in ENVI format for spectral analysis. It is at this point that we wish to quickly and efficiently add the spectral info to the bands, and without using IDL. We have hundreds to process! Thanks again Andy

    MariM



    Veteran Member


    Posts:2396
    Veteran Member


    --
    05 Dec 2013 06:15 AM
    Hi Andy, ENVI now reads the metadata file (MTL) that is distributed with the GeoTIFFs and assigns wavelengths to the datasets. In addition, it reads much of the metadata required for calibration. Do you have access to a newer version of ENVI?
    You are not authorized to post a reply.