home / github / issues

Menu
  • GraphQL API
  • Search all tables

issues: 1183777627

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
1183777627 I_kwDOAMm_X85GjwNb 6423 interpolation of xarray do not preserve attributes 32069530 open 0     1 2022-03-28T17:47:33Z 2022-05-21T20:31:40Z   NONE      

What is your issue?

Hi all, Interpolation over an xarray variable do not preserve its attributes: Here is a minimal example x=np.arange(100) x=xr.DataArray(x, dims='x', coords={'x':x}) t=np.arange(40,60,0.5) t=xr.DataArray(t, dims='t', coords={'t':t}, attrs={'units':'s'}) result = x.interp(x=t) t coordinate in result do not have the t unit anymore

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/6423/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    13221727 issue

Links from other tables

  • 0 rows from issues_id in issues_labels
  • 1 row from issue in issue_comments
Powered by Datasette · Queries took 0.825ms · About: xarray-datasette