home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 432998937

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/2504#issuecomment-432998937 https://api.github.com/repos/pydata/xarray/issues/2504 432998937 MDEyOklzc3VlQ29tbWVudDQzMjk5ODkzNw== 11750960 2018-10-25T10:27:49Z 2018-10-25T10:27:49Z CONTRIBUTOR

ds = xr.open_dataset(grid_dir_nc+'Depth.nc', chunks={'face':1}, engine='h5netcdf') % time print(ds.Depth.mean().values) leads to: CPU times: user 824 ms, sys: 50.4 ms, total: 875 ms Wall time: 11.3 s and ds = xr.open_dataset(grid_dir_nc+'Depth.nc', chunks={'face':1}).load() % time print(ds.Depth.mean().values) to CPU times: user 61.9 ms, sys: 22.4 ms, total: 84.3 ms Wall time: 76.2 ms much better ... thanks a lot for these two solutions.

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