home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 149664980

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/634#issuecomment-149664980 https://api.github.com/repos/pydata/xarray/issues/634 149664980 MDEyOklzc3VlQ29tbWVudDE0OTY2NDk4MA== 6200806 2015-10-20T18:49:08Z 2015-10-20T18:49:08Z CONTRIBUTOR

Cool, thanks. Not familiar enough w/ the xray source code at this time to contribute directly to the refactor, but for the time being here's a simple 2-liner workaround:

python dlon = arr['lon'].diff('lon') dlon.values = np.diff(arr['lon'])

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