NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
<html><div style='background-color:'><DIV>Hello, All:</DIV> <DIV> </DIV> <DIV>In method "public Field resample(Set set, int sampling_mode, int error_mode)" of FlatField.java, the line 3450 is: ((SimpleSet) DomainSet).valueToInterp(vals, indices, coefs);</DIV> <DIV>But in SimpleSet.java, valueToInterp is an abstract method. Where can I find the actual code of this method? I want to know how VisAD actually does the interpolation using NEAREST_NEIGHBOR and WEIGHTED_AVERAGE, and how to calculate the values of weighted average and nearest neighbor for the data.</DIV> <DIV> </DIV> <DIV>Thanks a lot.</DIV> <DIV> </DIV> <DIV>Gaoming </DIV></div><br clear=all><hr>Get your FREE download of MSN Explorer at <a href='http://go.msn.com/bql/hmtag_itl_EN.asp'>http://explorer.msn.com</a><br></html>
visad
archives: