home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 388099066

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/2113#issuecomment-388099066 https://api.github.com/repos/pydata/xarray/issues/2113 388099066 MDEyOklzc3VlQ29tbWVudDM4ODA5OTA2Ng== 1217238 2018-05-10T16:00:12Z 2018-05-10T16:00:12Z MEMBER

@raybellwaves thanks for the bug report!

Here's a slightly simplified version that shows the issue for dask: ``` import pandas as pd import xarray as xr import numpy as np

da_day_clim = xr.DataArray(np.arange(1, 367), coords=[np.arange(1, 367)], dims='dayofyear') print(da_day_clim.rolling(dayofyear=31, center=True).mean()) # works print(da_day_clim.chunk().rolling(dayofyear=31, center=True).mean()) # raises ValueError ```

The traceback is probably the place to start looking into this. I like to drop into a Python debugger (type %debug after the line that raised the error), navigate to different levels in the traceback with u/d, and then print out variables until I can identify which specific function/block of code seems to be doing the wrong thing.

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