home / github / issues

Menu
  • GraphQL API
  • Search all tables

issues: 46756098

This data as json

id node_id number title user state locked assignee milestone comments created_at updated_at closed_at author_association active_lock_reason draft pull_request body reactions performed_via_github_app state_reason repo type
46756098 MDU6SXNzdWU0Njc1NjA5OA== 266 Easy iteration over slices of a DataArray 358378 closed 0   741199 2 2014-10-24T16:20:51Z 2019-01-15T20:09:35Z 2019-01-15T20:09:34Z CONTRIBUTOR      

The DataArray object would benefit from functionality similar to iris.cube.Cube.slices. Given an array

```

Out23: Coordinates: * sza (sza) float64 0.0 36.87 53.13 60.0 72.54 75.52 81.37 87.13 88.28 * vza (vza) float64 0.0 72.54 * raa (raa) float64 0.0 60.0 90.0 120.0 180.0 * wl (wl) float64 360.0 380.0 400.0 420.0 440.0 ```

it would be nice to be able to do

for sl in data.slices(["raa", "wl"]): # do magic with a DataArray of coordinates (sza, vza)

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/266/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed 13221727 issue

Links from other tables

  • 1 row from issues_id in issues_labels
  • 2 rows from issue in issue_comments
Powered by Datasette · Queries took 0.522ms · About: xarray-datasette