[ncl-talk] Sub: Loop help

Kevin Hallock hallock at ucar.edu
Fri Nov 3 14:01:14 MDT 2017


Hi Dz,

Could you please provide more detail about how the numbers are wrong?

Also, do you have a complete script you could share? That might help us identify any possible issues.

Thanks,
Kevin

> On Nov 3, 2017, at 1:37 PM, dale zuri <dalezuri at gmail.com> wrote:
> 
> Hi NCL users,
> 
> Could someone help me to fix this bug? This loop gives me wrong numbers. Please help me to handle this.
> do i=1,11
> j=i+1
> mas=where(mas.ge.i .and. mas.lt.j,1,mas at _FillValue)
> end do
> Thanks
> Dz
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk



More information about the ncl-talk mailing list