I am creating a simple tool to extract the eigenvectors from a statistics file (*.sta) but want to include wavelength information. ENVI_GET_STATISTICS will provide the band numbers used, but not the wavelengths. If I open the *.sta file in a text editor, I can see the full filename (and path) that was used when calculating the statistics. Also, if you use "View Statistics File" in ENVI, the first piece of information in the textbox is the filename. Is anyone aware of a way to get this filename from a statistics file using an ENVI/IDL command? ENVI_GET_STATISTICS provides all of the numeric information, but not the filename. All of the ENVI commands I tried will only work on a data file, i.e. need a FID which is not available for *.sta files.
Thanks for any advice.
Mike
|