home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 1272541759

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-1272541759 https://api.github.com/repos/pydata/xarray/issues/7146 1272541759 IC_kwDOAMm_X85L2XI_ 11075246 2022-10-09T13:21:22Z 2022-10-09T13:21:40Z NONE

The first one results in a segfault: ```python import numpy as np import xarray as xr import pandas as pd

N_TIMES = 48 time_vals = pd.date_range("2022-10-06", freq="20 min", periods=N_TIMES) ds = xr.Dataset({"time": ("T", time_vals), 'd1': (["T", "x", "y"], np.zeros((len(time_vals), 201,201)))}) ds.to_netcdf(path="/my_s3_fs/test_netcdf.nc", format="NETCDF4", mode="w") ``` Not sure how to add the 3D var to the second dataset.

{
    "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 0.552ms · About: xarray-datasette