You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
xarray interp with method="cubic" fails for time/lon/lat interpolation #11342
nd cubic builds a spline over the whole grid even for one point, linear only touches the cells around it. so it scales with the array not with how many points you ask for.
@mnergizci if your tec is a month of 15 min maps thats ~2880 steps, 10x the above. that one got oom killed here (exit 137), so it looks like a hang but its memory.
workaround, cubic on time only then linear on lat lon, 0.04s
Activity
headtr1ck commentedon May 19, 2026
Can you please post a minimal complete code example that we can test? Thanks!
ghostiee-11 commentedon Aug 10, 2026
mcve
dont think its xarray though. same call straight to scipy costs the same, 3.69s and 2.2 GB
nd cubic builds a spline over the whole grid even for one point, linear only touches the cells around it. so it scales with the array not with how many points you ask for.
@mnergizci if your tec is a month of 15 min maps thats ~2880 steps, 10x the above. that one got oom killed here (exit 137), so it looks like a hang but its memory.
workaround, cubic on time only then linear on lat lon, 0.04s
scipy 1.18.0, xarray 2026.7.1.dev24