Re: Fun with CDF_ENCODE_EPOCH [message #10922] |
Wed, 04 February 1998 00:00 |
Kevin Ivory
Messages: 71 Registered: January 1997
|
Member |
|
|
Brian Jackel wrote:
> I've found a bomb in CDF_ENCODE_EPOCH, and was wondering
> if any brave souls would like to try reproducing it on
> other plaforms. I'm running on an SGI Indy, IDL version
> { mipseb IRIX unix 5.0.2 Aug 19 1997}.
>
> If you follow along with the on-line documentation, it
> suggests the following sequence, where EPOCH=0 could
> also be 1,2 or 3 for different forms of output.
>
> epoch_string = '04-Dec-1995 20:19:18.176'
> epoch = CDF_PARSE_EPOCH(epoch_string)
> encode0 = CDF_ENCODE_EPOCH(epoch, EPOCH=0)
>
> Note that EPOCH=0 is the "standard type". However,
> the following command
>
> encode1 = CDF_ENCODE_EPOCH(epoch)
>
> causes the IDLDE to hang, then core dump. There is
> the obvious workaround (always set EPOCH=0), but I
> was wondering whether this was a platform specific
> thing.
Doesn't seem to be platform-specific. The same happens with
IDL Version 5.0.3 (x86 Linux 2.0.33) using IDLDE or
command line IDL.
Best regards
Kevin
--
Kevin Ivory Tel: +49 5556 979 434
Max-Planck-Institut fuer Aeronomie Fax: +49 5556 979 240
Max-Planck-Str. 2 mailto:Kevin.Ivory@linmpi.mpg.de
D-37191 Katlenburg-Lindau, GERMANY http://www.gwdg.de/~kivory2/
|
|
|