issue_comments: 480375712
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/2868#issuecomment-480375712 | https://api.github.com/repos/pydata/xarray/issues/2868 | 480375712 | MDEyOklzc3VlQ29tbWVudDQ4MDM3NTcxMg== | 1217238 | 2019-04-05T18:22:32Z | 2019-04-05T18:22:32Z | MEMBER | netCDF4-Python doesn't seem to support this: ``` In [1]: import netCDF4 In [2]: f = netCDF4.Dataset('test.nc', 'w') In [3]: f.foo = {'bar': 2}TypeError Traceback (most recent call last) <ipython-input-4-45a6eb241d31> in <module>() ----> 1 f.foo = {'bar': 2} netCDF4/_netCDF4.pyx in netCDF4._netCDF4.Dataset.setattr() netCDF4/_netCDF4.pyx in netCDF4._netCDF4.Dataset.setncattr() netCDF4/_netCDF4.pyx in netCDF4._netCDF4._set_att() TypeError: illegal data type for attribute b'foo', must be one of dict_keys(['S1', 'i1', 'u1', 'i2', 'u2', 'i4', 'u4', 'i8', 'u8', 'f4', 'f8']), got O ``` |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
429572364 |