home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 1531496369

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/5490#issuecomment-1531496369 https://api.github.com/repos/pydata/xarray/issues/5490 1531496369 IC_kwDOAMm_X85bSMex 5821660 2023-05-02T13:38:49Z 2023-05-02T13:38:49Z MEMBER

This is indeed an issue with scale_factor and add_offset as @d70-t has already mentioned.

That is not a problem per se, but those attributes are obviously different for different files. When concatenating only the first files's attributes survive. That might already be the source of the above problem, as it might slightly change values.

An even bigger problem is, when the dynamic range of the decoded data (min/max) doesn't overlap. Then the data might be folded from the lower border to the upper border or vica versa.

I've put an example into #5739. The suggestion for now is as @keewis comment to drop encoding in such cases and use floating point values for writing. You might use the available compression options for floating point data.

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