[Thread Prev][Thread Next][Index]
Re: [ferret_users] average the positive and negative value seperately
Hi Changshui,
A simple way is to set them to two variables, i.e.,
let aa_pos = if aa ge 0 then aa else (-1e34)!or your missing value
let aa_neg = if aa lt 0 then aa else (-1e34)
Then you can do whatever average.
Cheers,
Tony
On Mon, 2010-08-16 at 09:30 +0800, Changshui Xia wrote:
> Dear All,
> I have a variable in nc file which has positive and negative values,
> how can i average the positive and negative value seperately using
> ferret?
> thank you.
>
> Changshui
[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce /
NOAA /
OAR /
PMEL /
TMAP
Privacy Policy | Disclaimer | Accessibility Statement