Closed
Description
What is your issue?
According to the documentation for xarray.Dataset.interpolate_na
, additional keywords are passed on to numpy.interp
when method="linear"
. In one of the examples one such additional keyword is fill_value
(="extrapolate"
).
But according the the linked documentation for numpy.interp
, that function only takes left
, right
and period
as keyword arguments.
The given example does work though... Does it really use numpy.interp
or does it perhaps use scipy.interpolate.interp1d
, which does have a keyword called fill_value
?