xarray.core.resample.DataArrayResample.ffill¶
-
DataArrayResample.
ffill
(tolerance=None)¶ Forward fill new values at up-sampled frequency.
- Parameters
tolerance (optional) – Maximum distance between original and new labels to limit the up-sampling method. Up-sampled data with indices that satisfy the equation
abs(index[indexer] - target) <= tolerance
are filled by new values. Data with indices that are outside the given tolerance are filled withNaN
s