home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 1523618985

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/7782#issuecomment-1523618985 https://api.github.com/repos/pydata/xarray/issues/7782 1523618985 IC_kwDOAMm_X85a0JSp 2448579 2023-04-26T15:29:14Z 2023-04-26T15:29:14Z MEMBER

Thanks for the in-depth investigation!

As we can see from the above output, in netCDF4-python scaling is adapting the dtype to unsigned, not masking. This is also reflected in the docs unidata.github.io/netcdf4-python/#Variable.

Do we know why this is so?

If Xarray is trying to align with netCDF4-python it should separate mask and scale as netCDF4-python is doing. It does this already by using different coders but it doesn't separate it API-wise.

:+1:

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