home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 228703831

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/pull/814#issuecomment-228703831 https://api.github.com/repos/pydata/xarray/issues/814 228703831 MDEyOklzc3VlQ29tbWVudDIyODcwMzgzMQ== 810663 2016-06-27T10:00:54Z 2016-06-27T10:00:54Z NONE

@pelson @rhattersley any tips on handling the edge cases of cubes with some, but not all missing dim_coords?

I might consider something like (untested):

for dim in xrange(cube.ndim): try: dim_coord = cube.coord(dim_coords=True, dimensions=(dim,)) except iris.exceptions.CoordinateNotFoundError: index_coord = range(cube.shape[dim])

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