loop

From: Mateus Dias Nunes <nunes.mateusdias_at_nyahnyahspammersnyahnyah>
Date: Thu Aug 15 2013 - 18:07:26 MDT

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
Received on Thu Aug 15 18:07:36 2013

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