Subtract arrays having different FillValues

From: Abhik Santra <abhiksantra_at_nyahnyahspammersnyahnyah>
Date: Tue May 14 2013 - 13:47:58 MDT

Dear NCL-users,

I want to subtract one array (x0) from another (x), both having same dimensions (lat,lon) but different FillValues.
So, I use assignFillValue(x0,x)
and then x(:,:) = (/ x(:,:) - x0(:,:) /)

But afterward when I am plotting the variable x(:,:), it shows unrealistic high values at those places where x0 contains missing value.
How can I solve this problem?
Is there any another way to subtract the arrays with FillValues?

Thanks in advance.

Best wishes,
Abhik
___________________________________________

Abhik Santra
CSIR Research Fellow,
Indian Institute of Tropical Meteorology,
Pune - 411008.
India
___________________________________________
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue May 14 14:02:57 2013

This archive was generated by hypermail 2.1.8 : Wed May 15 2013 - 10:19:28 MDT