home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 602132164

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/3643#issuecomment-602132164 https://api.github.com/repos/pydata/xarray/issues/3643 602132164 MDEyOklzc3VlQ29tbWVudDYwMjEzMjE2NA== 14808389 2020-03-22T01:24:09Z 2020-03-22T14:29:58Z MEMBER

A few updates on the progress here:

The implementation of interpolate_na uses apply_ufunc with vectorize=True which in turn uses numpy.vectorize. numpy.vectorize is explicitly mentioned as deferred in NEP18 (i.e. not supported). I guess we can't support interpolate_na unless someone knows a way around that? Passing vectorize=False to apply_ufunc does make it work, though.

The failure of test_bivariate_ufunc is due to the way pint infers units, but whether or not that should matter was discussed in #3706 (but we didn't really reach a consensus there, I think?).

interp does work up until it calls scipy.interpolate.interp1d, which seems to strip the units?

reindex works for data, ~but the tests need a rewrite so they also test coords / dims with units (the same for the interp tests)~.

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