Fixed a wrong input tmp array in stats
Exclude interface points for which the interpolated mean value is
NC_FILL_VALUE
Rename getfilter to getmask and create function in the main loop