issues: 864494256
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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
864494256 | MDU6SXNzdWU4NjQ0OTQyNTY= | 5205 | Clip function with minimum or maximum nan value | 21273359 | closed | 1 | 9 | 2021-04-22T03:06:24Z | 2021-04-22T17:34:59Z | 2021-04-22T17:34:58Z | NONE | Hi team,
I see that with 1-dim DataArray, we can clip with minimum or maximum nan value:
Result:
But with 2-dims DataArray, if one of two bounds is np.nan, we will receive nan value:
Result:
The clip function perform well with 2-dims as it done in 1-dims |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/5205/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
completed | 13221727 | issue |