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

Home » Public Forums » archive » Re: loop for 365 days with 18 days interval
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: loop for 365 days with 18 days interval [message #63784] Thu, 20 November 2008 00:56 Go to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
Jeremy Bailin schrieb:
> On Nov 19, 10:50 pm, Elkunn <Wasit.Weat...@gmail.com> wrote:
>> On Nov 19, 9:49 pm, Elkunn <Wasit.Weat...@gmail.com> wrote:
>>
>>> Hello,
>>> I want to loop for 16 days as a group through the whole year. In other
>>> words, my first loop should stop when the number of the days reaches
>>> 16, do processing, then count from 17th day to the day when the number
>>> of days reaches 16, then do the processing again.
>>> How can loop for this, each time read 16 images?
>>> Thanks
>>> Elkunn
>> sorry, should be 16 days. not 18.
>
> I suppose it depends what you mean by "do processing". If it needs to
> be in a for loop, then something like this should work:
>
> for i=0l,364 do begin
> ... do whatever is required to read in image i ...
> if i mod 16 ne 0 then continue
> ... do processing on image i ...
> endfor

read about stride

some days ago there was a similiar request to this group. (array of
Julian Days)

cheers
Reimar
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: A Simple IDL Manifesto
Next Topic: dependency tree / call graph in idl (cscope for idl)?

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

Current Time: Wed Oct 08 17:42:10 PDT 2025

Total time taken to generate the page: 0.00420 seconds