comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » TIMEGEN bug (not the pre-6.4 bug that Fanning describes)
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
TIMEGEN bug (not the pre-6.4 bug that Fanning describes) [message #76912] Sat, 16 July 2011 21:22 Go to next message
MarioIncandenza is currently offline  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 Go to previous messageGo to next message
penteado is currently offline  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 Go to previous messageGo to next message
penteado is currently offline  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 Go to previous message
Haje Korth is currently offline  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
Re: TIMEGEN bug (not the pre-6.4 bug that Fanning describes) [message #77037 is a reply to message #77003] Mon, 25 July 2011 10:55 Go to previous message
chris_torrence@NOSPAM is currently offline  chris_torrence@NOSPAM
Messages: 528
Registered: March 2007
Senior Member
Hi all,

This was indeed a bug. It has now been fixed for IDL 8.2. Thanks for reporting it!

-Chris
ITTVIS
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: CONTOUR problem
Next Topic: Geodetic functions library GeoDLL 32 Bit and 64 Bit

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:14:44 PDT 2025

Total time taken to generate the page: 0.00634 seconds