home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 1230970216

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/6288#issuecomment-1230970216 https://api.github.com/repos/pydata/xarray/issues/6288 1230970216 IC_kwDOAMm_X85JXx1o 7037909 2022-08-29T23:26:58Z 2022-08-29T23:40:44Z NONE

i had the same problem (missing crs) but adding decode_coords='all' did not fix it. the difference in my case from the above minimal example might be i have several variables in the zarr group. the fix was to add the grid_mapping attribute to each variable:

z['group1']['var1'].attrs['grid_mapping'] = 'spatial_ref'

once i did this (and decode_coords='all') it worked.

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