home / github / issues

Menu
  • Search all tables
  • GraphQL API

issues: 856172272

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
856172272 MDU6SXNzdWU4NTYxNzIyNzI= 5144 Add chunks argument to {zeros/ones/empty}_like. 1386642 closed 0     5 2021-04-12T17:01:47Z 2023-10-25T03:18:05Z 2023-10-25T03:18:05Z CONTRIBUTOR      

Describe the solution you'd like

We have started using xarray objects as "schema" for initializing zarrs that will be written to using the region argument of to_zarr. For example,

output_schema.to_zarr(path, compute=False) for region in regions: output = func(input_data.isel(region)) output.to_zarr(path, region=region)

Currently, xarray's tools for computing the output_schema Dataset are a lacking since rechunking existing datasets can be slow. dask.array.zeros_like takes a chunks argument, can we add one here too?

Describe alternatives you've considered

.chunk

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

Links from other tables

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