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

Home » Public Forums » archive » Re: Difficulty with N_ELEMENTS command
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: Difficulty with N_ELEMENTS command [message #79233 is a reply to message #79224] Thu, 09 February 2012 20:32 Go to previous messageGo to previous message
Andrew King is currently offline  Andrew King
Messages: 2
Registered: February 2012
Junior Member
On Feb 10, 3:28 pm, Gianguido Cianci <gianguido.cia...@gmail.com>
wrote:
> You could also try "the IDL" way:
>
> s=size(precip_day, /dim)
> smoothed2=rebin(smoothed, s, /sample)
>
> test=precip_day gt smoothed2
> exceed_freq=total(test, 1)
>
> Look mum! No loops!!
>
> G

Works perfectly now. Thanks very much.

Andrew
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: confidence level
Next Topic: Re: Writing 6sv (radiative transfer model) input files or reading output files

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

Current Time: Wed Oct 08 19:57:43 PDT 2025

Total time taken to generate the page: 0.00507 seconds