na_interp {heatwaveR} | R Documentation |
An internal function that helps to create a time series that will
then be used by clim_calc
within ts2clm
to produce a climatology as desired by the user.
na_interp(doy = doy, x = ts_x, y = ts_y, maxPadLength)
doy |
Date-of-year as per |
x |
Date as per |
y |
Measurement variable as per |
maxPadLength |
Specifies the maximum length of days over which to
interpolate (pad) missing data (specified as |
The function returns the data (a data.table) in a long format.
Smit, A. J.