home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 1562734279

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/7871#issuecomment-1562734279 https://api.github.com/repos/pydata/xarray/issues/7871 1562734279 IC_kwDOAMm_X85dJW7H 7091088 2023-05-25T11:23:44Z 2023-05-25T11:23:44Z NONE

Yes float64 should cause less imprecision. You can convert using astype:

```python import numpy as np import xarray as xr

da = xr.DataArray(np.array([1, 2], dtype=np.float32))

da = da.astype(float) ```

As for the other problems I think you are better of asking the people over at rioxarray. However, you should first gather all the steps you did to convert the data as code. This way it is easier to see what you are actually doing.

Thanks for getting back. I did post in rioxarray and yet, the last step I mentioned isn't successful there too. I'll post the code maybe 8hrs from here(can reach out to my sys then). Thanks for all the helpful suggestions so far. Really helpful.

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