X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 30 Nov 2021 07:45 AM by  Enayat Aria
IDL bug: reading an ENVI file created by Python
 0 Replies
Sort:
You are not authorized to post a reply.
Author Messages

Enayat Aria



New Member


Posts:
New Member


--
30 Nov 2021 07:45 AM
    I have created several classification maps by Python coding and saved them as envi files. I want to assess the classification map and produce confusion matrices. Since I already have an IDL code using ENVI functions for classification assessments, I tried to open the ENVI files in IDL using envi_open_file but it sends r_fid=-1 and can not open them.
    The files can be directly opened by ENVI and there is no problem.

    When I have saved the file in ENVI, (using 'save as') as a standard envi file. Then I could read the file by envi_open_file in IDL. There is not much difference in the header files. when I saved them as the standard envi file.

    I am wondering why the envi files created by Python can not be read in IDL. Please let me know if there is a solution.

    Aria


    You are not authorized to post a reply.