home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 364465016

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/1854#issuecomment-364465016 https://api.github.com/repos/pydata/xarray/issues/1854 364465016 MDEyOklzc3VlQ29tbWVudDM2NDQ2NTAxNg== 1197350 2018-02-09T15:26:40Z 2018-02-09T15:26:40Z MEMBER

The way this should work is that the selection of a single point should happen before the data is concatenated. It is up to dask to properly "fuse" these two operations. It seems like that is failing for some reason.

As a temporary workaround, you could preprocess the data to only select the specific point before concatenating. python def select_point(ds): return ds.sel(latitude=10, longitude=10) ds = xr.open_mfdataset('*.nc', preprocesses=select_point)

But you shouldn't have to do this to get good performance here.

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