home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 240233948

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/970#issuecomment-240233948 https://api.github.com/repos/pydata/xarray/issues/970 240233948 MDEyOklzc3VlQ29tbWVudDI0MDIzMzk0OA== 2443309 2016-08-16T20:49:29Z 2016-08-16T20:49:29Z MEMBER

@NicWayand -

I would think that you could define your own function:

``` Python def preprocess(x): x.load()

x['time'] += 100

return x

```

Then you could use that in your lambda function:

Python ds = xr.open_mfdataset(files, concat_dim='time', engine='pynio', preprocess=lambda x: preprocess(x))

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