This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def interpolate_(dataarray, intdates): | |
""" | |
Interpolate time series in a data array for the specified dates. Tries to | |
parallelize using dask. | |
Args: | |
dataarray (xarray.DataArray): data array (time,y,x) with time series | |
intdates (np.ndarray(np.datetime64)): array of dates to interpolate | |