home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 1287124949

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/7191#issuecomment-1287124949 https://api.github.com/repos/pydata/xarray/issues/7191 1287124949 IC_kwDOAMm_X85Mt_fV 2448579 2022-10-21T15:30:10Z 2022-10-21T15:30:35Z MEMBER

I'm also not sure why _FillValue and missing_value should be required to have the same value.

Xarray has only one way to represent both concepts: np.nan. So when you decode you lose information on whether a value was a missing_value or _FillValue. Then when you encode, you have to pick either _FillValue or missing_value to represent the np.nan

to_netcdf will assign '_FillValue': nan.

This seems like a bug. Can you open a new issue with a minimum reproducible example that uses random data please?

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