nctoolkit.DataSet.fill_na

DataSet.fill_na(self, n=1)

Fill missing values with a distance-weighted average. This carries out infilling for each time step and vertical level. :param n: Number of nearest neighbours to use. Defaults to 1. To :type n: int