home / github / issues

Menu
  • Search all tables
  • GraphQL API

issues: 1720924071

This data as json

id node_id number title user state locked assignee milestone comments created_at updated_at closed_at author_association active_lock_reason draft pull_request body reactions performed_via_github_app state_reason repo type
1720924071 I_kwDOAMm_X85mkzen 7866 Enable object_codec in zarr backend 37949241 open 0     3 2023-05-23T00:41:54Z 2023-06-16T01:44:15Z   NONE      

What is your issue?

The issue is that I am not able to define a custom object codec and use it for encoding particular variables in an xarray Dataset. I found a workaround that requires small changes to two files as follows.

Currently in the zarr backend of xarray, the allowed keys in the encoding dictionary are { "chunks", "compressor", "filters", "cache_metadata", "write_empty_chunks", } Would it be possible to add object_codec to enable the use of custom codecs on object datatypes (change in xarray/backends/zarr.py)? Also would require ensure_dtype_not_object to be removed from conventions.py and placed in the backends as the TODO there suggests.

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/7866/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    13221727 issue

Links from other tables

  • 3 rows from issues_id in issues_labels
  • 2 rows from issue in issue_comments
Powered by Datasette · Queries took 0.825ms · About: xarray-datasette