home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 1272553921

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/7146#issuecomment-1272553921 https://api.github.com/repos/pydata/xarray/issues/7146 1272553921 IC_kwDOAMm_X85L2aHB 11075246 2022-10-09T14:27:06Z 2022-10-09T14:27:06Z NONE

datatype seems to be not important. But the two variables are required to get a segfault. The following with just floats produces a segfault ``` import numpy as np import xarray as xr

N_TIMES=48 ds = xr.Dataset({"time": ("T", np.zeros((N_TIMES))), 'd1': (["T", "x", "y"], np.zeros((N_TIMES, 201,201)))}) ds.to_netcdf(path="/my_s3_fs/test_netcdf.nc", format="NETCDF4", mode="w") ```

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