missing value in array operating

From: Zhifeng Yang <yangzf01_at_nyahnyahspammersnyahnyah>
Date: Wed Mar 13 2013 - 08:15:48 MDT

Hi all

I have the following problem when I try to add two arrays, both including
missing value.

For example,
a = ((/3/), float, -9999.0)
b = ((/3/), float, -9999.0)
a = (/-9999.0, 0, 2/)
b = (/1, -9999.0, 3/)
c = a + b

Finally I get c = (/-9999.0, -9999.0, 5/). however what I supposed should
be (/1, 0, 5/)

So how can I set up to ignore missing value and get the results that I want.

Thank you
Bruce

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Mar 13 06:16:00 2013

This archive was generated by hypermail 2.1.8 : Wed Mar 13 2013 - 14:19:38 MDT