home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 249353905

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/748#issuecomment-249353905 https://api.github.com/repos/pydata/xarray/issues/748 249353905 MDEyOklzc3VlQ29tbWVudDI0OTM1MzkwNQ== 226037 2016-09-24T08:54:37Z 2016-09-24T08:54:49Z MEMBER

I add to this issue as it refers to general IO failures. Saving a Dataset that contains DataArray with complex data-type fails on all netCDF4 engines:

dataset = xr.Dataset({'data': np.zeros((2,), dtype='complex128')}) dataset.to_netcdf('tmp.nc', engine='netcdf4') [...] TypeError: illegal primitive data type, must be one of dict_keys(['i8', 'f4', 'f8', 'i2', 'u2', 'i1', 'i4', 'S1', 'u8', 'u1', 'u4']), got complex128

and

dataset.to_netcdf('tmp.nc', engine='h5netcdf') [...] TypeError: Object dtype dtype('O') has no native HDF5 equivalent

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