issue_comments
10 rows where issue = 789410367 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: reactions, created_at (date), updated_at (date)
issue 1
- Reading and writing a zarr dataset multiple times casts bools to int8 · 10 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
---|---|---|---|---|---|---|---|---|---|---|---|
1498799474 | https://github.com/pydata/xarray/issues/4826#issuecomment-1498799474 | https://api.github.com/repos/pydata/xarray/issues/4826 | IC_kwDOAMm_X85ZVd1y | kmuehlbauer 5821660 | 2023-04-06T09:59:42Z | 2023-04-06T09:59:42Z | MEMBER | @JoerivanEngelen Thanks for taking the time. Much appreciated. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Reading and writing a zarr dataset multiple times casts bools to int8 789410367 | |
1498796759 | https://github.com/pydata/xarray/issues/4826#issuecomment-1498796759 | https://api.github.com/repos/pydata/xarray/issues/4826 | IC_kwDOAMm_X85ZVdLX | JoerivanEngelen 9744750 | 2023-04-06T09:57:38Z | 2023-04-06T09:57:38Z | NONE | @kmuehlbauer your fix fixes both the problems set up by @slevang and @amatsukawa on my laptop. I furthermore tested the double roundtrip with |
{ "total_count": 2, "+1": 2, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Reading and writing a zarr dataset multiple times casts bools to int8 789410367 | |
1497971459 | https://github.com/pydata/xarray/issues/4826#issuecomment-1497971459 | https://api.github.com/repos/pydata/xarray/issues/4826 | IC_kwDOAMm_X85ZSTsD | kmuehlbauer 5821660 | 2023-04-05T18:56:23Z | 2023-04-05T18:56:23Z | MEMBER | Please check #7720 if that fixes the conversion problems. Thanks. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Reading and writing a zarr dataset multiple times casts bools to int8 789410367 | |
822981416 | https://github.com/pydata/xarray/issues/4826#issuecomment-822981416 | https://api.github.com/repos/pydata/xarray/issues/4826 | MDEyOklzc3VlQ29tbWVudDgyMjk4MTQxNg== | shaunc 193170 | 2021-04-20T05:21:40Z | 2021-04-20T05:22:29Z | NONE | Closed https://github.com/pydata/xarray/issues/5192 in favor of this as I think it's a duplicate. Just NB that it can occur with h5netcdf as well as netcdf4. (Thanks, @andersy005 ) |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Reading and writing a zarr dataset multiple times casts bools to int8 789410367 | |
822893203 | https://github.com/pydata/xarray/issues/4826#issuecomment-822893203 | https://api.github.com/repos/pydata/xarray/issues/4826 | MDEyOklzc3VlQ29tbWVudDgyMjg5MzIwMw== | andersy005 13301940 | 2021-04-20T01:01:46Z | 2021-04-20T01:03:23Z | MEMBER |
This is the same problem reported in https://github.com/pydata/xarray/issues/4386. All these issues (#2937, #4826, #4386, #5192) should be closable once there's a fix. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Reading and writing a zarr dataset multiple times casts bools to int8 789410367 | |
780912328 | https://github.com/pydata/xarray/issues/4826#issuecomment-780912328 | https://api.github.com/repos/pydata/xarray/issues/4826 | MDEyOklzc3VlQ29tbWVudDc4MDkxMjMyOA== | shoyer 1217238 | 2021-02-17T23:04:03Z | 2021-02-17T23:04:03Z | MEMBER | There are at least two issues here:
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Reading and writing a zarr dataset multiple times casts bools to int8 789410367 | |
780900086 | https://github.com/pydata/xarray/issues/4826#issuecomment-780900086 | https://api.github.com/repos/pydata/xarray/issues/4826 | MDEyOklzc3VlQ29tbWVudDc4MDkwMDA4Ng== | slevang 39069044 | 2021-02-17T22:36:08Z | 2021-02-17T22:36:08Z | CONTRIBUTOR | I ran into this as well with the basic netcdf backends: ```python import xarray as xr ds = xr.Dataset(
data_vars={"foo":(["x"], [False, True, False])},
coords={"x": [1, 2, 3]},
)
ds.to_netcdf('test.nc')
ds = xr.load_dataset('test.nc')
print(ds.foo.dtype)
ds.to_netcdf('test.nc')
ds = xr.load_dataset('test.nc')
print(ds.foo.dtype)
|
{ "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Reading and writing a zarr dataset multiple times casts bools to int8 789410367 | |
766973931 | https://github.com/pydata/xarray/issues/4826#issuecomment-766973931 | https://api.github.com/repos/pydata/xarray/issues/4826 | MDEyOklzc3VlQ29tbWVudDc2Njk3MzkzMQ== | amatsukawa 463809 | 2021-01-25T17:19:19Z | 2021-01-25T17:19:19Z | CONTRIBUTOR | Tagging a few maintainers: @dcherian @shoyer. Sorry to tag you directly, hope that's ok. I think I've found the issue here and would like to provide a PR to fix, but need some input on what you think would be best. To summarize, the current behavior leading to the bug is:
I can think of a few fixes:
- Drop the As a local fix while we consider these options, can you confirm that, as the docs state, the |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Reading and writing a zarr dataset multiple times casts bools to int8 789410367 | |
765747736 | https://github.com/pydata/xarray/issues/4826#issuecomment-765747736 | https://api.github.com/repos/pydata/xarray/issues/4826 | MDEyOklzc3VlQ29tbWVudDc2NTc0NzczNg== | amatsukawa 463809 | 2021-01-22T23:37:47Z | 2021-01-22T23:38:22Z | CONTRIBUTOR | OK here's the other side of the problem. The original dtype (which is i8) is set in the encoding: https://github.com/pydata/xarray/blob/v0.16.2/xarray/conventions.py#L350 |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Reading and writing a zarr dataset multiple times casts bools to int8 789410367 | |
765741719 | https://github.com/pydata/xarray/issues/4826#issuecomment-765741719 | https://api.github.com/repos/pydata/xarray/issues/4826 | MDEyOklzc3VlQ29tbWVudDc2NTc0MTcxOQ== | amatsukawa 463809 | 2021-01-22T23:27:57Z | 2021-01-22T23:27:57Z | CONTRIBUTOR | Apparently my proposed fix broke a bunch of other things, eg. some writing of timedeltas with units and such. Deleting the "dtype" key in the https://github.com/pydata/xarray/blob/v0.16.2/xarray/conventions.py#L119 |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Reading and writing a zarr dataset multiple times casts bools to int8 789410367 |
Advanced export
JSON shape: default, array, newline-delimited, object
CREATE TABLE [issue_comments] ( [html_url] TEXT, [issue_url] TEXT, [id] INTEGER PRIMARY KEY, [node_id] TEXT, [user] INTEGER REFERENCES [users]([id]), [created_at] TEXT, [updated_at] TEXT, [author_association] TEXT, [body] TEXT, [reactions] TEXT, [performed_via_github_app] TEXT, [issue] INTEGER REFERENCES [issues]([id]) ); CREATE INDEX [idx_issue_comments_issue] ON [issue_comments] ([issue]); CREATE INDEX [idx_issue_comments_user] ON [issue_comments] ([user]);
user 7