aazuspan/wxee

Temporal interpolation

Closed this issue · 0 comments

Add a method/methods to wxee.TimeSeries for temporal interpolation to allow filling in missing data, regridding, etc. Usage would look something like below, with different methods (or a kwarg option) for linear, cosine, cubic, maybe spline implementations. This will require writing some reliable tools for getting images surrounding a target date.

gridmet = ee.ImageCollection("IDAHO_EPSCOR/GRIDMET")
col = gridmet.filterDate("2020-01-01", "2020-01-03")
interp: ee.Image = col.wx.linearInterpolate(ee.Date("2020-01-01T18"))

Interpolation reference