X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 31 Mar 2004 10:40 AM by  anon
can't create a new file using cf_doit ?
 3 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
31 Mar 2004 10:40 AM
    I need to creat a three( or four) band image from different files, using one band from a specific file. However, the envi routin "cf_doit" seems only permits one to create a new file using bands from one single opened file. Does anyone know of any tricks to deal with this problem ? Thanks

    Deleted User



    New Member


    Posts:
    New Member


    --
    31 Mar 2004 10:40 AM
    Hi yang, I too have the same problem. Please let me know if you have solved the problem thankyou --vasu

    Deleted User



    New Member


    Posts:
    New Member


    --
    14 Jul 2009 09:25 PM
    Hi yang, Did anybody answer you question? I also have the problem. I even can not create a file using only 1 opened file. Can you help me?  

    MariM



    Veteran Member


    Posts:2396
    Veteran Member


    --
    20 Jul 2009 12:53 PM
    ENVI's CF_DOIT routines allows for you to pass an array of file IDs (FIDs) so you can pass file ids from different files too.  You would open each file in a loop, capture the FID in a new array and pass this array to CF_DOIT.  However, if the input data files are different dimensions, data types, projections, etc. you can't use this routine.  instead you would need to use ENVI_LAYER_STACKING_DOIT which can handle files of different dimensions, file types and projections.
    You are not authorized to post a reply.