X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 08 Aug 2011 09:59 AM by  anon
tiling and 'math_doit'
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
08 Aug 2011 09:59 AM
    Hi folks - I need to write some custom band math functions that get called from an ENVI/IDL script. I am using 'math_doit' to make the calls. I'm running into memory problems, though. Isn't it the case that math_doit automatically uses tiling, or do I not understand correctly? If I need to do the tiling 'by hand', can someone please point me towards a good reference to learn how to do so within a script. Thank you!

    MariM



    Veteran Member


    Posts:2396
    Veteran Member


    --
    09 Aug 2011 08:28 AM
    MATH_DOIT does tile the data. It must be something in your equation or the way it is implemented that is requesting a lot of RAM. You would not really need to use the ENVI tiling routines if using MATH_DOIT, but it can often be more efficient to just write the equations in straight IDL and use the ENVI tiling routines to handle the files. Information on tiling can be found in the ENVI help under Using Processing Routines and Tiling.
    You are not authorized to post a reply.