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 #79222] Sun, 12 February 2012 11:21 Go to previous message
Yngvar Larsen is currently offline  Yngvar Larsen
Messages: 134
Registered: January 2010
Senior Member
On Feb 12, 8:14 pm, Yngvar Larsen <larsen.yng...@gmail.com> wrote:

> A one-liner soulution (mostly because it fun :) could be
>
> exceed_freq = total(precip_day gt
> transpose(smoothed[*,lindgen(nyears)]), 2)
>
> or
>
> exceed_freq = total(transpose(precip_day) gt
> smoothed[*,lindgen(nyears)], 1)
>
> --
> Yngvar

Ironically, Google Groups decided that my one-liners really should be
two-liners :)

--
Yngvar
[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 15:34:22 PDT 2025

Total time taken to generate the page: 0.00601 seconds