home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 1520341470

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-1520341470 https://api.github.com/repos/pydata/xarray/issues/7782 1520341470 IC_kwDOAMm_X85anpHe 90768774 2023-04-24T14:58:36Z 2023-04-24T14:58:36Z CONTRIBUTOR

Thank you for your quick reply. Adding the mask_and_scale=False kwarg solves the issue of conversion to float, but the resulting is of dtype int8 instead of uint8. Is there any way of making open_dataset() directly interpret the values as unsigned?

It would save me quite a lot of processing time since using DataArray.astype(np.uint8) takes a while to run.

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