home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 473331876

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/issues/2811#issuecomment-473331876 https://api.github.com/repos/pydata/xarray/issues/2811 473331876 MDEyOklzc3VlQ29tbWVudDQ3MzMzMTg3Ng== 1217238 2019-03-15T15:31:23Z 2019-03-15T15:31:23Z MEMBER

I was assuming something along that lines. But in my variable test the 'c' dim is first. And it is written correctly, if there are no coordinates in that dataset (test_dim0). If there are coordinates (test_dims2) the dimensions are written in wrong order. So there is something working in one config and not in the other.

The order of dimensions in the netCDF file matches the order of their appearance on variables in the netCDF files. In your first file, it's (c, b) on variable test. In the second file, it's b on variable b and c from variable test.

My use case is, that the dimensions should appear in the same order as in the source files.

Sorry, xarray is not going to satisfy this use. If you want this guarantee in all cases, you should pick a different tool.

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