home / github / pull_requests

Menu
  • Search all tables
  • GraphQL API

pull_requests: 264131557

This data as json

id node_id number state locked title user body created_at updated_at closed_at merged_at merge_commit_sha assignee milestone draft head base author_association auto_merge repo url merged_by
264131557 MDExOlB1bGxSZXF1ZXN0MjY0MTMxNTU3 2850 closed 0 More informative error when writing attrs to netCDF 10050469 Closes #3080 Some attribute names aren't valid netCDF4 keys. For example: ```python import xarray as xr ds = xr.Dataset({'x': ('y', [1, 2, 3], {'CLASS': 'foo'})}) ds.to_netcdf('test.nc') ``` will fail with: ```NetCDF: String match to name in use``` This is hard to debug if you don't know which attribute is faulty. With this small change the error should be more informative: ```AttributeError: The following exception occurred when attempting to set attribute (CLASS, foo): "NetCDF: String match to name in use"``` 2019-03-25T13:58:30Z 2022-05-03T16:16:21Z 2022-05-03T16:16:21Z   1f9d9b64828e32a9950e3daf7c8563c251511c08     0 a50581ac193e530382c6720889aa5763e44e8772 7bf9df9d75c40bcbf2dd28c47204529a76561a3f MEMBER   13221727 https://github.com/pydata/xarray/pull/2850  

Links from other tables

  • 1 row from pull_requests_id in labels_pull_requests
Powered by Datasette · Queries took 81.005ms