Hi dear all,
My data includes lots of missing values, I just want to know how to ignore
these values in the following if judgements. My code is like:
74 do lev = 0,35
75 do i = 0,11
76 if
(.not.all(ismissing(conc)).and.conc(lev,i,istations).lt.150.and.conc(lev+1,i,istations).gt.150)
then
77 sonde_h(i,istations) = (plev_sonde(lev) +
plev_sonde(lev+1))/2.
78 end if
79 end do
80 end do
The error information is:
fatal:The result of the conditional expression yields a missing value. NCL
can not determine branch, see ismissing function
fatal:["Execute.c":7556]:Execute: Error occurred at or near line 78 in file
testmissing.ncl
Thank you!
Hongyan
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Dec 6 15:08:13 2012
This archive was generated by hypermail 2.1.8 : Fri Dec 07 2012 - 13:30:06 MST