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

Home » Public Forums » archive » Re: vn5.4 woes (today missing)
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
Re: vn5.4 woes (today missing) [message #23114] Thu, 04 January 2001 08:47 Go to next message
wmconnolley is currently offline  wmconnolley
Messages: 106
Registered: November 2000
Senior Member
David Fanning <davidf@dfanning.com> wrote:
> I thought all those date/time structures went away in IDL 5.2
> because they could not be made Y2K compatible. You must still
> be working on that data archive, William. :-)

Hmmf, this is in fact working on climate model data, which ran past
2300 well before y2k came. And it seems to work still, once the right routines
are copied into place.

-W.

--
William M Connolley | wmc@bas.ac.uk | http://www.nerc-bas.ac.uk/icd/wmc/
Climate Modeller, British Antarctic Survey | Disclaimer: I speak for myself
I'm a .signature virus! copy me into your .signature file & help me spread!
Re: vn5.4 woes (today missing) [message #23115 is a reply to message #23114] Thu, 04 January 2001 06:21 Go to previous messageGo to next message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
William Connolly (wmc@bas.ac.uk) writes:

> Hello folks. OK, I've finally tried 5.4 and I find that:
>
> today() is missing - it was there in 5.2
> idldt__define is (ditto)
>
> I've just copied over the 5.2 definitions so I'm OK. But why
> were they removed? Am I committing some gross blunder in continuing
> to use these routines? Are there new versions that are so much better
> that I should rewrite all my code to use them?
>
> Hoping for enlightenment,

I thought all those date/time structures went away in IDL 5.2
because they could not be made Y2K compatible. You must still
be working on that data archive, William. :-)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
Re: vn5.4 woes (today missing) [message #23170 is a reply to message #23114] Sat, 06 January 2001 13:16 Go to previous message
Mark Hadfield is currently offline  Mark Hadfield
Messages: 783
Registered: May 1995
Senior Member
<wmc@bas.ac.uk> wrote in message news:3a54a92e.0@news.nwl.ac.uk...
> David Fanning <davidf@dfanning.com> wrote:
>> I thought all those date/time structures went away in IDL 5.2
>> because they could not be made Y2K compatible. You must still
>> be working on that data archive, William. :-)
>
> Hmmf, this is in fact working on climate model data, which ran past
> 2300 well before y2k came. And it seems to work still, once the right
routines
> are copied into place.

The lack of Y2K conpatibility lay in the fact that ONE of the routines (I
forget the name) would accept 2-digit years and do something not very smart
with them. The routine also accepted 4-digit years so people prescient
enough to use them would never have noticed a problem.

Pulling the IDLDT stuff was a lawyer-driven panic.

---
Mark Hadfield
m.hadfield@niwa.cri.nz http://katipo.niwa.cri.nz/~hadfield/
National Institute for Water and Atmospheric Research
PO Box 14-901, Wellington, New Zealand
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Whoops!
Next Topic: Oddball Event Handling (Longer than it Ought to Be)

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

Current Time: Sun Oct 12 07:02:30 PDT 2025

Total time taken to generate the page: 0.41452 seconds