[ncl-talk] missing value and if condition

Anahita Amiri Farahani aamir003 at ucr.edu
Tue May 7 14:43:09 MDT 2019


Hi all,

I am trying to use if condition in ncl for my case but apparently ncl is
really slow when the loops are large, do you have any suggestions to modify
this code:

do i=0,419
do j=0,95
do k=0,143

if (ismissing(RH_1(i,j,k))) then

print("Your data is missing. Cannot create plot.")

else

print("You can plot.")

end if
end do
end do
end do

Thanks,
Ana
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190507/9f0cef5d/attachment.html>


More information about the ncl-talk mailing list