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

Home » Public Forums » archive » Re: IDL FOR Loop variable increments
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: IDL FOR Loop variable increments [message #62599 is a reply to message #62593] Fri, 19 September 2008 09:53 Go to previous messageGo to previous message
MarioIncandenza is currently offline  MarioIncandenza
Messages: 231
Registered: February 2005
Senior Member
Raghu,

Not knowing the makeup of NDVI, NDVISLICE, and MASK in your example,
it's very difficult to determine what you're up to here, but it
strongly looks to me like some higher-order functions are in order
here. You are aware that IDL can give you an array MAX(VAR,DIM=N) or
MIN, TOTAL, or can do any boolean comparison you choose across an
entire array?

As I said, I don't really know what the outcome of your code should
be, but even in this economy, I'll bet $5 you can do it with a much
smaller, more comprehensible set of array operations.

--Edward H.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: how to countor on YZ-surface
Next Topic: Getting array indices

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

Current Time: Fri Oct 10 12:39:34 PDT 2025

Total time taken to generate the page: 0.48088 seconds