home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 990192331

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/6055#issuecomment-990192331 https://api.github.com/repos/pydata/xarray/issues/6055 990192331 IC_kwDOAMm_X847BSLL 2448579 2021-12-09T19:53:12Z 2021-12-09T19:53:12Z MEMBER

I think this might be unfixable.

The problem is that xarray represents both missing_value and _FillValue by np.nan. So if _FillValue is present, we promote to a floating type and then apply a mask

https://github.com/pydata/xarray/blob/a9238339f55edac0f2efb4a231c8818c5539bd28/xarray/coding/variables.py#L133-L141

Setting mask_and_scale=False seems like the best option, though maybe we should split that up since masking and scaling are independent.

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