home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 130903866

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/527#issuecomment-130903866 https://api.github.com/repos/pydata/xarray/issues/527 130903866 MDEyOklzc3VlQ29tbWVudDEzMDkwMzg2Ng== 5356122 2015-08-14T00:47:54Z 2015-08-14T00:47:54Z MEMBER

Here's what a 4d array looks like.

``` In [26]: t4d = xray.concat([t2, t2 + 50], pd.Index(['normal', 'hot'], name='fourth_dim'))

This is a 4d array

In [27]: t4d.coords Out[27]: Coordinates: * lat (lat) float32 75.0 72.5 70.0 67.5 65.0 62.5 60.0 57.5 55.0 ... * lon (lon) float32 200.0 202.5 205.0 207.5 210.0 212.5 215.0 ... * time (time) datetime64[ns] 2013-01-01 2013-03-04T12:00:00 * fourth_dim (fourth_dim) object 'normal' 'hot'

In [28]: g = xray.plot.FacetGrid(t4d, col='time', row='fourth_dim')

In [29]: g.map_dataarray(xray.plot.imshow, 'lon', 'lat') Out[29]: <xray.plot.facetgrid.FacetGrid at 0x10f5aad90> ```

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