TIMEGEN bug (not the pre-6.4 bug that Fanning describes) [message #76912] |
Sat, 16 July 2011 21:22  |
MarioIncandenza
Messages: 231 Registered: February 2005
|
Senior Member |
|
|
TIMEGEN manpage says this:
"Note: If subintervals are provided by MONTHS, DAYS, HOURS, MINUTES,
or SECONDS, then the first element may not be equal to the START time.
In this case the first element in the returned array will be greater
than or equal to START."
This is not so:
IDL>
print,timegen(2,start=julday(7,1,2008,0,0,0),months=[1,7],un its='year'),format='(C())'
Tue Jan 01 00:00:00 2008
Tue Jul 01 00:00:00 2008
|
|
|
Re: TIMEGEN bug (not the pre-6.4 bug that Fanning describes) [message #77003 is a reply to message #76912] |
Mon, 18 July 2011 11:56   |
penteado
Messages: 866 Registered: February 2018
|
Senior Member Administrator |
|
|
On Jul 18, 3:53 pm, Paulo Penteado <pp.pente...@gmail.com> wrote:
> On Jul 17, 1:22 am, Ed Hyer <ejh...@gmail.com> wrote:
>
>> TIMEGEN manpage says this:
>> "Note: If subintervals are provided by MONTHS, DAYS, HOURS, MINUTES,
>> or SECONDS, then the first element may not be equal to the START time.
>> In this case the first element in the returned array will be greater
>> than or equal to START."
>
>> This is not so:
>> IDL>
>> print,timegen(2,start=julday(7,1,2008,0,0,0),months=[1,7],un its='year'),for mat='(C())'
>> Tue Jan 01 00:00:00 2008
>> Tue Jul 01 00:00:00 2008
>
> I think I am missing something, because I do not see the problem.
Never mind, I just woke up and saw it, and got the same result here
(IDL 8.0.1).
|
|
|
Re: TIMEGEN bug (not the pre-6.4 bug that Fanning describes) [message #77005 is a reply to message #76912] |
Mon, 18 July 2011 11:53   |
penteado
Messages: 866 Registered: February 2018
|
Senior Member Administrator |
|
|
On Jul 17, 1:22 am, Ed Hyer <ejh...@gmail.com> wrote:
> TIMEGEN manpage says this:
> "Note: If subintervals are provided by MONTHS, DAYS, HOURS, MINUTES,
> or SECONDS, then the first element may not be equal to the START time.
> In this case the first element in the returned array will be greater
> than or equal to START."
>
> This is not so:
> IDL>
> print,timegen(2,start=julday(7,1,2008,0,0,0),months=[1,7],un its='year'),for mat='(C())'
> Tue Jan 01 00:00:00 2008
> Tue Jul 01 00:00:00 2008
I think I am missing something, because I do not see the problem.
|
|
|
Re: TIMEGEN bug (not the pre-6.4 bug that Fanning describes) [message #77034 is a reply to message #76912] |
Mon, 25 July 2011 13:57  |
Haje Korth
Messages: 651 Registered: May 1997
|
Senior Member |
|
|
This 8.2 release is becoming more and more appealing. Do we have a
release time frame yet? Also, will it included improved
documentation? :-)
On Jul 25, 1:55 pm, Chris Torrence <gorth...@gmail.com> wrote:
> Hi all,
>
> This was indeed a bug. It has now been fixed for IDL 8.2. Thanks for reporting it!
>
> -Chris
> ITTVIS
|
|
|
|