issues: 798676024
This data as json
id | node_id | number | title | user | state | locked | assignee | milestone | comments | created_at | updated_at | closed_at | author_association | active_lock_reason | draft | pull_request | body | reactions | performed_via_github_app | state_reason | repo | type |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
798676024 | MDU6SXNzdWU3OTg2NzYwMjQ= | 4854 | `bounds_error=True` ignored in 1D interpolation | 2405019 | closed | 0 | 0 | 2021-02-01T20:17:34Z | 2021-02-10T21:42:06Z | 2021-02-10T21:42:06Z | CONTRIBUTOR | What happened: Attempted to interpolate outside coordinate range while passing What you expected to happen: I expected a Minimal Complete Verifiable Example: ```python import xarray as xr import numpy as np da = xr.DataArray( np.sin(0.3 * np.arange(12).reshape(4, 3)), [("time", np.arange(4)), ("space", [0.1, 0.2, 0.3])], ) this should return nans, as the default is to fill with nansda.interp(time=3.5)
this should raise ValueError, but
|
{ "url": "https://api.github.com/repos/pydata/xarray/issues/4854/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
completed | 13221727 | issue |