home / github / issues

Menu
  • GraphQL API
  • Search all tables

issues: 1651808718

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
1651808718 I_kwDOAMm_X85idJnO 7710 Update a region of a zarr dataset 129736005 closed 0     1 2023-04-03T10:42:00Z 2023-04-03T15:52:27Z 2023-04-03T15:52:27Z NONE      

What is your issue?

to use the "xarray.Dataset.sel()" method to select the region of interest, then write the selected subset to the zarr store using "to_zarr()".

ds_existing = xr.open_zarr(path) ds_new = xr.Dataset(...) # come up with some new data for a subset region of the existing zarr ds_region = ds_existing.sel(time=slice(ds_new.time[0], ds_new.time[-1])) ds_region.update(ds_new) # update ds_region with new data ds_region.to_zarr(path)

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/7710/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

  • 1 row from issues_id in issues_labels
  • 1 row from issue in issue_comments
Powered by Datasette · Queries took 0.785ms · About: xarray-datasette