date conversion [message #64158] |
Wed, 03 December 2008 05:47  |
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  |
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
|
|
|