Missing value

From: Bao Qing <baoqing_at_nyahnyahspammersnyahnyah>
Date: Mon, 12 Dec 2005 16:35:21 -1000

Hi all,

I use NCL to do algebraic calculations. When one of the variables is missing value, the result will be missing too. But I really want to ignore the missing value, just get the real value.

For example,

a = (/1,2,3,4,-999/) ( a@_FillValue = -999 )
b = (/2,3,4/)
c = a(2:) + b

result: c = (/ 5,7, -999/)

Is there any way to let 'c = (/5,7,4/)' ?

 

Regards,

Qing BAO

2005-12-12

_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Dec 12 2005 - 19:35:21 MST

This archive was generated by hypermail 2.2.0 : Tue Dec 13 2005 - 09:37:24 MST