X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 15 Feb 2015 12:44 AM by  anon
[start:final:step] bug
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
15 Feb 2015 12:44 AM
    hi. here is example code CDF_EPOCH, ts, 2008, 1, 1, 0, 0, 0, 0, /compute CDF_EPOCH, te, 2009, 1, 1, 0, 0, 0, 0, /compute step = 5*60d*1d3 res = [ts:te:step] plot, res,/ys not monotonic increase Similarly CDF_TT2000, ts, 2008, 1, 1, 0, 0, 0, 0, 0, 0, /compute CDF_TT2000, te, 2009, 1, 1, 0, 0, 0, 0, 0, 0, /compute step = 300000000000LL res = [ts:te:step] plot, res,/ys thanks idl 8.3 on ubuntu 12.04

    Deleted User



    New Member


    Posts:81
    New Member


    --
    18 Feb 2015 09:26 PM
    This problem in IDL 8.3 was corrected in IDL 8.4. To work around this issue in IDL 8.3, prior to creating the large array, use the CPU procedure to force IDL threadpool routines to use only one thread: CPU, TPOOL_NTHREADS=1 You can change the setting back to the default value by issuing the command: CPU, TPOOL_NTHREADS=0 For more information about the CPU procedure, see: http://www.exelisvis.com/docs/CPU.html I hope this will be helpful.
    You are not authorized to post a reply.