modify interpolation to handle noDataValue