home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 346116095

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/1732#issuecomment-346116095 https://api.github.com/repos/pydata/xarray/issues/1732 346116095 MDEyOklzc3VlQ29tbWVudDM0NjExNjA5NQ== 6815844 2017-11-21T18:21:03Z 2017-11-21T18:48:20Z MEMBER

Reproduced also in my environment.

Selected repr of your dataset is python <xarray.Dataset> Dimensions: (N_CALIB: 1, N_HISTORY: 0, N_LEVELS: 1007, N_PARAM: 3, N_PROF: 33) Dimensions without coordinates: N_CALIB, N_HISTORY, N_LEVELS, N_PARAM, N_PROF Data variables: ... SCIENTIFIC_CALIB_DATE (N_PROF, N_CALIB, N_PARAM) object b'20150514141619' ... HISTORY_INSTITUTION (N_HISTORY, N_PROF) object ... It seems the data variable in concern, such as ds['HISTORY_STEP'], is 2-dimensional but one of the dimensions N_HISTORY is size 0.

~~Currently, xarray does not handle such zero-length n-dimensional arrays. Maybe we need to drop such variables when reading?~~

EDIT: This was wrong. xarray should handle 0-size nd-array.

@shoyer, @fmaussion, any idea?

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