home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 481033093

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/2871#issuecomment-481033093 https://api.github.com/repos/pydata/xarray/issues/2871 481033093 MDEyOklzc3VlQ29tbWVudDQ4MTAzMzA5Mw== 40218891 2019-04-08T22:35:10Z 2019-04-08T22:35:10Z NONE

After rethinking the issue, I would drop it: one can simply pass ds.fromkeys(ds.data_vars.keys(), {}) as the encoding attribute. Going back to the original problem. The fix above is not enough, the SerializationWarning is still present. An alternative, provided that missing_value attribute is still considered deprecated: http://cfconventions.org/Data/cf-conventions/cf-conventions-1.1/build/cf-conventions.html#missing-data, would be to replace it by _FillValue on decoding: $ diff variables.py variables.py.orig 179,180d178 < if 'FillValue' not in encoding: < encoding['_FillValue'] = encoding.pop('missing_value')``

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