home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 1069596655

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/4470#issuecomment-1069596655 https://api.github.com/repos/pydata/xarray/issues/4470 1069596655 IC_kwDOAMm_X84_wL_v 72196131 2022-03-16T20:31:38Z 2022-03-16T20:31:38Z CONTRIBUTOR

e.g. for a Uniform Grid

python data = result['density'].reshape(result.dimensions[2],result.dimensions[1],result.dimensions[0]) XC = [result.bounds[0]+200*i for i in range(result.dimensions[0])] YC = [result.bounds[2]+200*i for i in range(result.dimensions[1])] ZC = [result.bounds[4]+200*i for i in range(result.dimensions[2])] da = xr.DataArray(data=data, dims=["z", "y","x"], coords={"z": ZC, "y": YC, "x": XC})

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