[Thread Prev][Thread Next][Index]
[ferret_users] Re: conditional missing_value filler
- To: ferret_users@xxxxxxxx
- Subject: [ferret_users] Re: conditional missing_value filler
- From: David Wang <climater@xxxxxxxxx>
- Date: Thu, 13 Apr 2006 14:44:56 -0400
- In-reply-to: <443E9A01.1080904@ldeo.columbia.edu>
- References: <443E9A01.1080904@ldeo.columbia.edu>
- Sender: owner-ferret_users@xxxxxxxxxxxxx
- User-agent: Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929)
btw, i meant horizontal (the xy plane) neighboring grid points. - dw
David Wang wrote:
hello ferreters,
i'm wondering if anyone has tricks on this:
i have a 3-dimensional temperature variable. i want to do the
following manipulations:
if three or all of four neighbouring grid points of a nan (i.e.,
flagged as invalid) grid point are not nan, fill the grid point w/ the
average value of its non-nan neighbouring grid points;
similarly, if three or all of four neighbouring grid points of a
non-nan grid point are nan, substitute its value w/ nan.
thank you very much,
- d.
[Thread Prev][Thread Next][Index]
Dept of Commerce /
NOAA /
OAR /
PMEL /
TMAP
Contact Us | Privacy Policy | Disclaimer | Accessibility Statement