home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 1346254081

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/7372#issuecomment-1346254081 https://api.github.com/repos/pydata/xarray/issues/7372 1346254081 IC_kwDOAMm_X85QPjUB 14808389 2022-12-12T10:42:16Z 2022-12-12T10:42:16Z MEMBER

this information is available in the encoding, i.e. xr_initial.dummy_variable.encoding.

It's not in the attrs because xarray used it to replace elements with the exactly same value as _FillValue with np.nan, making it redundant and quickly become outdated on operations. If you were to pass mask_and_scale=False to open_dataset you should see it in the attrs.

A different question would be whether or not to display the encoding in the HTML repr.

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