home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 1371540921

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/7403#issuecomment-1371540921 https://api.github.com/repos/pydata/xarray/issues/7403 1371540921 IC_kwDOAMm_X85RwA25 2443309 2023-01-04T23:24:46Z 2023-01-04T23:24:46Z MEMBER

I think the above example can be reduced to just:

python ds = xr.Dataset() ds.to_zarr('test.zarr') ds.to_zarr('test.zarr')

An interesting data point here is that to_netcdf defaults to w mode. And this works fine:

python ds = xr.Dataset() ds.to_netcdf('test.nc') ds.to_netcdf('test.nc')

Personally, I'll make the argument that we should switch (carefully) from -w to w for the default case.

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