[Thread Prev][Thread Next][Index]
[ferret_users] Fill nearest
Hi all,
I come back on this question because I have received no explanation
to this simple example trying to explain a FNR transform.
yes? let A={4,-1E+34,6}
yes? def axis/x myx1={1,2,5}
yes? let B=A[gx=myx1@asn]
yes? let C=B[x=@FNR]
yes? list B, C
X: 0.5 to 6.5
Column 1: B is A[GX=MYX1@ASN]
Column 2: C is B[X=@FNR]
B C
1 / 1: 4.000 4.000
2 / 2: .... 5.000
5 / 3: 6.000 6.000
In my understanding, C should be 4,6,6 instead of 4,5,6.
I think this is a bug and I suspect that FNR and FLN act the same way.
Can this be confirmed ?
It would also be logic that FNR always gives a nearest value,
even when points are equally spaced around the missing point.
Tested with ferret v6.61
Patrick
[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce /
NOAA /
OAR /
PMEL /
TMAP
Privacy Policy | Disclaimer | Accessibility Statement