home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 1369732703

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/7408#issuecomment-1369732703 https://api.github.com/repos/pydata/xarray/issues/7408 1369732703 IC_kwDOAMm_X85RpHZf 14808389 2023-01-03T12:51:34Z 2023-01-03T12:51:34Z MEMBER

see the mode parameter of to_zarr

The default mode is “a” if append_dim is set. Otherwise, it is “r+” if region is set and w- otherwise.

If you pass mode="w", you should be able to write to disk even if the zarr file already exists.

However, since the common path means that tests are never truly isolated, I wonder if it would be better to create one temporary directory per test (using pytest's tmp_path fixture, for example) and write the dataset there?

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