home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 1492399834

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions performed_via_github_app issue
https://github.com/pydata/xarray/issues/4637#issuecomment-1492399834 https://api.github.com/repos/pydata/xarray/issues/4637 1492399834 IC_kwDOAMm_X85Y9Dba 35968931 2023-03-31T18:10:24Z 2023-03-31T18:10:24Z MEMBER

@alrho007 the code for this method on DataArray is in here

https://github.com/pydata/xarray/blob/850156cf80fe8791d45bcaff2da579cffc0cfc35/xarray/core/dataarray.py#L3303

which calls the implementation defined in xarray.core.missing

https://github.com/pydata/xarray/blob/1c81162755457b3f4dc1f551f0321c75ec9daf6c/xarray/core/missing.py#L308

I would start by trying to understand that code (looking at where things are imported to make it work), and then create a small test case example with a monotonically decreasing index that causes a problem. Then try to work out exactly which step in the code causes the issue, and whether it can be generalized to fix the issue.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  754789691
Powered by Datasette · Queries took 162.005ms · About: xarray-datasette