home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 349738624

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/pull/1528#issuecomment-349738624 https://api.github.com/repos/pydata/xarray/issues/1528 349738624 MDEyOklzc3VlQ29tbWVudDM0OTczODYyNA== 2443309 2017-12-06T18:54:41Z 2017-12-06T18:54:56Z MEMBER

@rabernat - in trying out your branch, I've run into this error (mentioned by @mrocklin in pangeo-data/pangeo#19):

```Python-traceback ... ~/anaconda/envs/pangeo-dev/lib/python3.6/site-packages/xarray-0.10.0_79_g7b50320-py3.6.egg/xarray/backends/zarr.py in _extract_zarr_variable_encoding(variable, raise_on_invalid) 228 229 chunks = _determine_zarr_chunks(encoding.get('chunks'), variable.chunks, --> 230 variable.ndim) 231 encoding['chunks'] = chunks 232 return encoding

~/anaconda/envs/pangeo-dev/lib/python3.6/site-packages/xarray-0.10.0_79_g7b50320-py3.6.egg/xarray/backends/zarr.py in _determine_zarr_chunks(enc_chunks, var_chunks, ndim) 134 "Zarr requires uniform chunk sizes excpet for final chunk." 135 " Variable %r has incompatible chunks. Consider " --> 136 "rechunking using chunk()." % var_chunks) 137 # last chunk is allowed to be smaller 138 last_var_chunk = all_var_chunks[-1]

TypeError: not all arguments converted during string formatting ```

As far as I can tell, reworking my chunk sizes to divide evenly into the dataset dimensions has corrected the problem.

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