home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 350079436

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/1763#issuecomment-350079436 https://api.github.com/repos/pydata/xarray/issues/1763 350079436 MDEyOklzc3VlQ29tbWVudDM1MDA3OTQzNg== 1217238 2017-12-07T20:05:57Z 2017-12-07T20:05:57Z MEMBER

I know the DataArray objects (foo1,foo2,foo3) already have the right coordinates associated with them before writing to netCDF, so maybe the logic in _encode_coordinates could be changed to utilize v.coords somehow?

DataArray objects get appropriate coordinates when indexed from a Dataset by using the following logic: https://github.com/pydata/xarray/blob/3a28b611e40f2a09c05f982242f638cc3f7d94bf/xarray/core/dataset.py#L785-L789

We could should duplicate the same logic for encoding coordinates on particular variables.

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