We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8110b55 commit c7c77e3Copy full SHA for c7c77e3
earthdaily/accessor/__init__.py
@@ -265,7 +265,6 @@ def sel_nearest_dates(
265
src_time = self._obj.sel(time=target.time.dt.date, method=method).time.dt.date
266
target_time = target.time.dt.date
267
pos = np.abs(src_time.data - target_time.data)
268
- pos_delta = [delta.days for delta in pos]
269
pos = [
270
src_time.isel(time=i).time.values
271
for i, j in enumerate(pos)
0 commit comments