home / github / issues

Menu
  • GraphQL API
  • Search all tables

issues: 201021909

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
201021909 MDU6SXNzdWUyMDEwMjE5MDk= 1211 __repr__ of 2D coordinates 10050469 closed 0     2 2017-01-16T13:41:30Z 2017-01-17T11:37:12Z 2017-01-17T11:37:12Z MEMBER      

This is a minor issue (sorry to be so picky about the repr ;) )

Small 2D coordinates are represented in a weird way:

```python In [1]: import xarray as xr

In [2]: a = np.array([[1.1, 2.2, 3.3], [4.4, 5.5, 6.6]])

In [3]: da = xr.DataArray(a, dims=['y', 'x'], coords={'xy':(['y', 'x'], a)})

In [4]: da Out[4]: <xarray.DataArray (y: 2, x: 3)> array([[ 1.1, 2.2, 3.3], [ 4.4, 5.5, 6.6]]) Coordinates: xy (y, x) float64 1.1 2.2 3.3 4.4 5.5 6.6 o y (y) - o x (x) - ```

This line here:

Coordinates: xy (y, x) float64 1.1 2.2 3.3 4.4 5.5 6.6 Is a bit confusing as it flattens the coordinates. It's not a big deal though, just something to keep in mind maybe.

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/1211/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

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