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

Home » Public Forums » archive » date conversion
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
date conversion [message #64158] Wed, 03 December 2008 05:47 Go to next message
oligie60 is currently offline  oligie60
Messages: 1
Registered: December 2008
Junior Member
Could anyone help me out. I have about 70 different files with a line
containing date(Month and year) in each file. I want to pick the date
from each of the file and plot it against 5 columns in each of the 70
files. I tried to use julday(month(i), day(i), year(i)) but anytime i
tried to call it, it comes out with the following error message "There
is no year zero in the civil calendar"
I shall be most grateful to get an immediate assistance
Thanks
Isreal
Re: date conversion [message #64199 is a reply to message #64158] Sat, 06 December 2008 21:05 Go to previous message
R.G. Stockwell is currently offline  R.G. Stockwell
Messages: 363
Registered: July 1999
Senior Member
<oligie60@googlemail.com> wrote in message
news:4e85286b-4094-4145-99c1-ba28d7d05ba6@h20g2000yqn.google groups.com...
> Could anyone help me out. I have about 70 different files with a line
> containing date(Month and year) in each file. I want to pick the date
> from each of the file and plot it against 5 columns in each of the 70
> files. I tried to use julday(month(i), day(i), year(i)) but anytime i
> tried to call it, it comes out with the following error message "There
> is no year zero in the civil calendar"
> I shall be most grateful to get an immediate assistance
> Thanks
> Isreal

when you call
IDL> julday(month(i), day(i), year(i))

your value for year(i) is zero.

so your error is happening before the julday call.
(perhaps your year array wasn't fully populated, and you
have default zero values or something like that)

cheers,
bob
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: map_set and clip
Next Topic: interpolation for resizing

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

Current Time: Wed Oct 08 13:43:32 PDT 2025

Total time taken to generate the page: 0.00653 seconds