Re: loop

From: Guilherme Martins <jgmsantos_at_nyahnyahspammersnyahnyah>
Date: Thu Aug 15 2013 - 19:00:24 MDT

Try the where function

Guilherme

Enviado via iPhone

Em 15/08/2013, às 09:07 PM, Mateus Dias Nunes <nunes.mateusdias@gmail.com> escreveu:

>
> Hello,
> I have a problem to perform a loop in the calculation I'm doing. I know it is more a matter of logic programming to ncl.
>
> need to put a conditional filter to plot only the results: x <= 5
>
> below is the loop.
>
>
> d = fspan(0,n_files-1,366)
>
> do n=0,n_files-1
>
>
> d(n)=(max(so2TRL(n,1,{-24.30:-22.30},{-44.35:-42.35}))) ;{-24.30:-22.30},{-44.35:-42.35} para 1.0 DEG
>
> end do
>
>
>
> y1 = d(:)
>
> data = new((/1,dimsizes(y1)/),float)
> data(0,:) = y1(:)
>
> thanks.
> _________________________________________
> MATEUS DIAS NUNES
> UNIVERSIDADE FEDERAL DE PELOTAS - UFPEL
> FACULDADE DE METEOROLOGIA
> TELEFONE: (53) 81125154
> _________________________________________
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Aug 15 19:00:40 2013

This archive was generated by hypermail 2.1.8 : Wed Aug 21 2013 - 13:54:15 MDT