home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 1520277594

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-1520277594 https://api.github.com/repos/pydata/xarray/issues/7782 1520277594 IC_kwDOAMm_X85anZha 5821660 2023-04-24T14:31:00Z 2023-04-24T14:31:00Z MEMBER

@Articoking

As both variables have a _FillValue attached xarray converts these values to NaN effectively casting to float32 in this case.

You might inspect the .encoding-property of the respective variables to get information of the source dtype.

You can deactivate the automatic conversion by adding kwarg mask_and_scale=False.

There is more information in the docs https://docs.xarray.dev/en/stable/user-guide/io.html

{
    "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.935ms · About: xarray-datasette