home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 351106809

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/1770#issuecomment-351106809 https://api.github.com/repos/pydata/xarray/issues/1770 351106809 MDEyOklzc3VlQ29tbWVudDM1MTEwNjgwOQ== 306380 2017-12-12T16:33:00Z 2017-12-12T16:33:00Z MEMBER

https://github.com/dask/gcsfs/pull/49

```python import gcsfs fs = gcsfs.GCSFileSystem(project='pangeo-181919') gcsmap = gcsfs.mapping.GCSMap('pangeo-data/test997', gcs=fs, check=True, create=True)

import dask.array as dsa shape = (30, 50, 1080, 2160) chunkshape = (1, 1, 1080, 2160) ar = dsa.random.random(shape, chunks=chunkshape)

import zarr za = zarr.create(ar.shape, chunks=chunkshape, dtype=ar.dtype, store=gcsmap)

In [2]: import cloudpickle In [3]: %time len(cloudpickle.dumps(gcsmap)) CPU times: user 0 ns, sys: 0 ns, total: 0 ns Wall time: 560 µs Out[3]: 213 ```

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