home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 819120258

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/pull/5153#issuecomment-819120258 https://api.github.com/repos/pydata/xarray/issues/5153 819120258 MDEyOklzc3VlQ29tbWVudDgxOTEyMDI1OA== 3958036 2021-04-13T23:43:12Z 2021-04-13T23:43:12Z CONTRIBUTOR

There's a cumtrapz in https://github.com/fujiisoup/xr-scipy/blob/master/xrscipy/integrate.py. Does that help?

I did a quick check and it seems like applying scipy.integrate.cumtrapz to a dask array returns a numpy array, whereas the duck_array_ops.cumulative_trapezoid that I copied from duck_array_ops.trapz does return a dask array (so I assume it must not force a compute?). Maybe @fujiisoup has thoughts though?

BTW the test failures are in test_cftimeindex.py so I assume they're unrelated to these changes.

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