issues
3 rows where type = "issue" and user = 463809 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: created_at (date), updated_at (date), closed_at (date)
| id | node_id | number | title | user | state | locked | assignee | milestone | comments | created_at | updated_at ▲ | closed_at | author_association | active_lock_reason | draft | pull_request | body | reactions | performed_via_github_app | state_reason | repo | type |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 789410367 | MDU6SXNzdWU3ODk0MTAzNjc= | 4826 | Reading and writing a zarr dataset multiple times casts bools to int8 | amatsukawa 463809 | closed | 0 | 10 | 2021-01-19T22:02:15Z | 2023-04-10T09:26:27Z | 2023-04-10T09:26:27Z | CONTRIBUTOR | What happened: Reading and writing zarr dataset multiple times into different paths changes What you expected to happen: My array's dtype in numpy/dask should not change, even if certain storage backends store dtypes a certain way. Minimal Complete Verifiable Example: ```python import xarray as xr import numpy as np ds = xr.Dataset({ "bool_field": xr.DataArray( np.random.randn(5) < 0.5, dims=('g'), coords={'g': np.arange(5)} ) }) ds.to_zarr('test.zarr', mode="w") d2 = xr.open_zarr('test.zarr') print(d2.bool_field.dtype) print(d2.bool_field.encoding) d2.to_zarr("test2.zarr", mode="w") d3 = xr.open_zarr('test2.zarr')
print(d3.bool_field.dtype)
Currently workaround is to explicitly set encodings. This fixes the problem:
Environment: Output of <tt>xr.show_versions()</tt>``` # I'll update with the the full output of xr.show_versions() soon. In [4]: xr.__version__ Out[4]: '0.16.2' In [2]: zarr.__version__ Out[2]: '2.6.1' ``` |
{
"url": "https://api.github.com/repos/pydata/xarray/issues/4826/reactions",
"total_count": 1,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
completed | xarray 13221727 | issue | ||||||
| 484098286 | MDU6SXNzdWU0ODQwOTgyODY= | 3242 | An `asfreq` method without `resample`, and clarify or improve resample().asfreq() behavior for down-sampling | amatsukawa 463809 | open | 0 | 2 | 2019-08-22T16:33:32Z | 2022-04-18T16:01:07Z | CONTRIBUTOR | MCVE Code Sample```python Your code here
Make a time grid that doesn't start exactly on the hour.
The value is actually the mean over the time window, eg. the third value is:
Expected OutputDocs say this:
I suppose this doc is not technically wrong, since upon careful reading, I realize it does not define a behavior for down-sampling. But it's easy to: (1) assume the same behavior (reindexing) for down-sampling and up-sampling and/or (2) expect behavior similar to Problem DescriptionI would argue for an ```
This can currently easily be achieved, so it's not a blocker. ```
Why I argue for Output of
|
{
"url": "https://api.github.com/repos/pydata/xarray/issues/3242/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
xarray 13221727 | issue | ||||||||
| 516725099 | MDU6SXNzdWU1MTY3MjUwOTk= | 3480 | Allow appending non-numerical types to zarr arrays. | amatsukawa 463809 | closed | 0 | 0 | 2019-11-02T21:20:53Z | 2019-11-13T15:55:33Z | 2019-11-13T15:55:33Z | CONTRIBUTOR | MCVE Code SampleZarr itself allows appending ```python
```
Expected OutputThe append should succeed. Problem DescriptionThis function in ``` def _validate_datatypes_for_zarr_append(dataset): """DataArray.name and Dataset keys must be a string or None"""
```
Output of
|
{
"url": "https://api.github.com/repos/pydata/xarray/issues/3480/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
completed | xarray 13221727 | issue |
Advanced export
JSON shape: default, array, newline-delimited, object
CREATE TABLE [issues] (
[id] INTEGER PRIMARY KEY,
[node_id] TEXT,
[number] INTEGER,
[title] TEXT,
[user] INTEGER REFERENCES [users]([id]),
[state] TEXT,
[locked] INTEGER,
[assignee] INTEGER REFERENCES [users]([id]),
[milestone] INTEGER REFERENCES [milestones]([id]),
[comments] INTEGER,
[created_at] TEXT,
[updated_at] TEXT,
[closed_at] TEXT,
[author_association] TEXT,
[active_lock_reason] TEXT,
[draft] INTEGER,
[pull_request] TEXT,
[body] TEXT,
[reactions] TEXT,
[performed_via_github_app] TEXT,
[state_reason] TEXT,
[repo] INTEGER REFERENCES [repos]([id]),
[type] TEXT
);
CREATE INDEX [idx_issues_repo]
ON [issues] ([repo]);
CREATE INDEX [idx_issues_milestone]
ON [issues] ([milestone]);
CREATE INDEX [idx_issues_assignee]
ON [issues] ([assignee]);
CREATE INDEX [idx_issues_user]
ON [issues] ([user]);