xarray interp with method="cubic" fails for time/lon/lat interpolation
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 4.2k
- Forks
- 1.4k
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 14
Description
Hi, I am trying to interpolate a TEC DataArray using xarray:
tec_val0 = float(
tecxr.interp(time=pretime, lon=lon0, lat=lat, method="cubic")
)
This work with 'method="linear"' but it never ends when I use 'method="cubic"'?
I am a bit confused as it was alright; just for couple of months ago
Is anyone experience same problem or any update?
Cheers,
MN
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the shown xarray DataArray interpolation with method="linear" and method="cubic", recording the xarray and dependency versions and checking where the cubic call stalls. Compare the interpolation path with recent changes, then define done as identifying the regression or cause and adding a regression test that distinguishes the two methods.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 42/100