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

Home » Public Forums » archive » array of Julian Days
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
array of Julian Days [message #63557] Tue, 11 November 2008 13:18 Go to previous message
Wasit.Weather is currently offline  Wasit.Weather
Messages: 62
Registered: February 2008
Member
Hello,
I wanted to generate an array of Jdays of the year, and extract some
of them according to 8 days of increment. However the following code I
could think of does not work.

Any help is appreciated.

Jdays = Lindgen (366)
Start_day= 265
End_day = 361

Daystep = 265
; collect the days
WHILE Daystep LE 361and Daystep GT 265 Do Begin
arr = Where (Jdays LE Daystep+8 and Jdays GT Daystep, count)
Days = JDays[arr]
EndWhile

What is wrong with it? How can I get the job done?

Thanks
[Message index]
 
Read Message
Read Message
Previous Topic: Re: Is there an easy way to write and read (large) structure?
Next Topic: type conversion string -> float

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

Current Time: Sat Oct 11 10:07:19 PDT 2025

Total time taken to generate the page: 0.63849 seconds