home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 205207053

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-205207053 https://api.github.com/repos/pydata/xarray/issues/814 205207053 MDEyOklzc3VlQ29tbWVudDIwNTIwNzA1Mw== 6215361 2016-04-04T09:17:20Z 2016-04-04T09:17:20Z NONE

Latest commit fixes bug if the Iris cube does not have any dimension coordinates. What do people think about keeping or dropping the automatic dimension coordinates that xarray creates? And if dropping should be done should all coordinates named dim{x} be dropped? Or are we happy with just leaving them there?

For example at the moment:

``` python

print(cube) sea_water_potential_temperature / (degC) (-- : 148; -- : 180) Auxiliary coordinates: latitude x x longitude x x Scalar coordinates: depth: 4.99994 m, bound=(0.0, 10.0) m time: 1-01-01 12:00:00 Attributes: Conventions: CF-1.5 Cell methods: mean: time_counter print(xarray.DataArray.from_iris(cube).to_iris()) sea_water_potential_temperature / (degC) (dim0: 148; dim1: 180) Dimension coordinates: dim0 x - dim1 - x Auxiliary coordinates: latitude x x longitude x x Scalar coordinates: depth: 4.99993801117 m time: 1-01-01 12:00:00 Attributes: Conventions: CF-1.5

```

{
    "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 239.692ms · About: xarray-datasette