home / github

Menu
  • Search all tables
  • GraphQL API

issues

Table actions
  • GraphQL API for issues

12 rows where state = "closed", type = "pull" and user = 3958036 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: comments, created_at (date), updated_at (date), closed_at (date)

type 1

  • pull · 12 ✖

state 1

  • closed · 12 ✖

repo 1

  • xarray 12
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
609907735 MDExOlB1bGxSZXF1ZXN0NDExNDIxODIz 4017 Combining attrs of member DataArrays of Datasets johnomotani 3958036 closed 0     0 2020-04-30T12:23:10Z 2021-05-05T16:37:25Z 2021-05-05T16:37:25Z CONTRIBUTOR   0 pydata/xarray/pulls/4017

While looking at #4009, I noticed that the combine_attrs kwarg to concat or merge only affects the global attrs of the Dataset, not the attrs of DataArray or Variable members of the Datasets being combined. I think this is a bug.

So far this PR adds tests that reproduce the issue in #4009, and the issue described above. Fixing should be fairly simple: for #4009 pass combine_attrs="drop" to combine_by_coords and combine_nested in open_mfdataset; for this issue insert the combine_attrs handling in an appropriate place - possibly in merge.unique_variable. I'll update with fixes when I get a chance.

  • [ ] Closes #4009
  • [x] Tests added
  • [ ] Passes isort -rc . && black . && mypy . && flake8
  • [ ] Fully documented, including whats-new.rst for all changes and api.rst for new API
{
    "url": "https://api.github.com/repos/pydata/xarray/issues/4017/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
847489988 MDExOlB1bGxSZXF1ZXN0NjA2NTAyMzA4 5101 Surface plots johnomotani 3958036 closed 0     8 2021-03-31T22:58:20Z 2021-05-03T13:05:59Z 2021-05-03T13:05:02Z CONTRIBUTOR   0 pydata/xarray/pulls/5101

.plot.surface() method that wraps matplotlib's plot_surface() method from the 3d toolkit. * works with facet grids * disables all the automatic color-map, etc. because it doesn't necessarily make sense for surface plots - the default (in matplotlib, and as implemented now) is not to color the surface. xarray's auto-selection stuff would interfere with plot_surface()'s kwargs.

I'm not sure if there's somewhere good to note the new surface() method in the docs to make it more discoverable? Maybe in one of the examples?

  • [x] Closes #5084
  • [x] Tests added
  • [x] Passes pre-commit run --all-files
  • [x] User visible changes (including notable bug fixes) are documented in whats-new.rst
  • [x] New functions/methods are listed in api.rst
{
    "url": "https://api.github.com/repos/pydata/xarray/issues/5101/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
857378504 MDExOlB1bGxSZXF1ZXN0NjE0ODA5NTg1 5153 cumulative_integrate() method johnomotani 3958036 closed 0     8 2021-04-13T22:53:58Z 2021-05-02T10:34:23Z 2021-05-01T20:01:31Z CONTRIBUTOR   0 pydata/xarray/pulls/5153

Provides the functionality of scipy.integrate.cumulative_trapezoid.

  • [x] Tests added
  • [x] Passes pre-commit run --all-files
  • [x] User visible changes (including notable bug fixes) are documented in whats-new.rst
{
    "url": "https://api.github.com/repos/pydata/xarray/issues/5153/reactions",
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
847199398 MDExOlB1bGxSZXF1ZXN0NjA2MjMwMjE1 5099 Use broadcast_like for 2d plot coordinates johnomotani 3958036 closed 0     3 2021-03-31T19:34:32Z 2021-04-22T07:16:17Z 2021-04-22T07:16:17Z CONTRIBUTOR   0 pydata/xarray/pulls/5099

Use broadcast_like if either x or y inputs are 2d to ensure that both have dimensions in the same order as the DataArray being plotted. Convert to numpy arrays after possibly using broadcast_like. Simplifies code, and fixes #5097 (bug when dimensions have the same size).

@dcherian

IIRC the "resolving intervals" section later will break and is somewhat annoying to fix. This is why the current ugly code exists.

This change seems to 'just work', and unit tests pass. Is there some extra check that needs doing to make sure "resolving intervals" is behaving correctly?

I can't think of a unit test that would have caught #5097, since even when the bug happens, a plot is produced without errors or warnings. If anyone has an idea, suggestions/pushes welcome!

  • [x] Closes #5097
  • [ ] Tests added
  • [x] Passes pre-commit run --all-files
  • [x] User visible changes (including notable bug fixes) are documented in whats-new.rst
{
    "url": "https://api.github.com/repos/pydata/xarray/issues/5099/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
823290488 MDExOlB1bGxSZXF1ZXN0NTg1Nzc0MjY4 5003 Add Dataset.plot.streamplot() method johnomotani 3958036 closed 0     2 2021-03-05T17:41:49Z 2021-03-30T16:41:08Z 2021-03-30T16:41:07Z CONTRIBUTOR   0 pydata/xarray/pulls/5003

Since @dcherian added Quiver plots in #4407, it's fairly simple to extend the functionality to streamplot().

For example (copying from @dcherian's unit test setup) ``` import xarray as xr from matplotlib import pyplot as plt

das = [ xr.DataArray( np.random.randn(3, 3), dims=["x", "y"], coords=[range(k) for k in [3, 3]], ) for _ in [1, 2] ] ds = xr.Dataset({"u": das[0], "v": das[1]}) ds["mag"] = np.hypot(ds.u, ds.v) ds.plot.streamplot(x="x",y="y",u="u",v="v", hue="mag") plt.show() ```

  • [x] Tests added
  • [x] Passes pre-commit run --all-files
  • [x] User visible changes (including notable bug fixes) are documented in whats-new.rst
  • [x] New functions/methods are listed in api.rst
{
    "url": "https://api.github.com/repos/pydata/xarray/issues/5003/reactions",
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
671222189 MDExOlB1bGxSZXF1ZXN0NDYxNDQzNzcx 4298 Fix docstring for missing_dims argument to isel methods johnomotani 3958036 closed 0     1 2020-08-01T21:40:27Z 2020-08-03T20:23:29Z 2020-08-03T20:23:28Z CONTRIBUTOR   0 pydata/xarray/pulls/4298

Incorrect value "exception" was given in the description of missing_dims argument - "exception" was renamed to "raise".

  • [x] Passes isort . && black . && mypy . && flake8
{
    "url": "https://api.github.com/repos/pydata/xarray/issues/4298/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
594594646 MDExOlB1bGxSZXF1ZXN0Mzk5MjAwODg3 3936 Support multiple dimensions in DataArray.argmin() and DataArray.argmax() methods johnomotani 3958036 closed 0     27 2020-04-05T18:52:52Z 2020-06-29T20:22:49Z 2020-06-29T19:36:26Z CONTRIBUTOR   0 pydata/xarray/pulls/3936

These return dicts of the indices of the minimum or maximum of a DataArray over several dimensions. Inspired by @fujiisoup's work in #1469. With #3871, replaces #1469. Provides a simpler solution to #3160.

Implemented so that da.isel(da.argmin(list_of_dim)) == da.min(list_of_dim) da.isel(da.argmax(list_of_dim)) == da.max(list_of_dim)

  • [x] Closes #1469
  • [x] Tests added
  • [x] Passes isort -rc . && black . && mypy . && flake8
  • [x] Fully documented, including whats-new.rst for all changes and api.rst for new API
{
    "url": "https://api.github.com/repos/pydata/xarray/issues/3936/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
644485140 MDExOlB1bGxSZXF1ZXN0NDM5MDk4NTcz 4173 Fix 4009 johnomotani 3958036 closed 0     1 2020-06-24T09:59:28Z 2020-06-24T18:22:20Z 2020-06-24T18:22:19Z CONTRIBUTOR   0 pydata/xarray/pulls/4173

Don't know if/when I'll have time to finish #4017, so pulling out the fix for #4009 into a separate PR here that is ready to merge.

  • [x] Closes #4009
  • [x] Tests added
  • [x] Passes isort -rc . && black . && mypy . && flake8
  • [x] User visible changes (including notable bug fixes) are documented in whats-new.rst
{
    "url": "https://api.github.com/repos/pydata/xarray/issues/4173/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
585868107 MDExOlB1bGxSZXF1ZXN0MzkyMTExMTI4 3877 Control attrs of result in `merge()`, `concat()`, `combine_by_coords()` and `combine_nested()` johnomotani 3958036 closed 0     7 2020-03-23T01:32:59Z 2020-04-05T20:44:47Z 2020-03-24T20:40:18Z CONTRIBUTOR   0 pydata/xarray/pulls/3877

combine_attrs argument for merge(), concat(), combine_by_coords() and combine_nested() controls what attributes the result is given. Defaults maintain the current behaviour. Possible values (named following compat arguments) are: - 'drop': empty attrs on returned Dataset. - 'identical': all attrs must be the same on every object. - 'no_conflicts': attrs from all objects are combined, any that have the same name must also have the same value. - 'override': skip comparing and copy attrs from the first dataset to the result.

  • [x] Closes #3865
  • [x] Tests added
  • [x] Passes isort -rc . && black . && mypy . && flake8
  • [ ] Fully documented, including whats-new.rst for all changes and api.rst for new API
{
    "url": "https://api.github.com/repos/pydata/xarray/issues/3877/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
591471233 MDExOlB1bGxSZXF1ZXN0Mzk2NjM5NjM2 3923 Add missing_dims argument allowing isel() to ignore missing dimensions johnomotani 3958036 closed 0     5 2020-03-31T22:19:54Z 2020-04-03T19:47:08Z 2020-04-03T19:47:08Z CONTRIBUTOR   0 pydata/xarray/pulls/3923

Note: only added to DataArray.isel() and Variable.isel(). A Dataset should include all dimensions, so presumably it should always be an error to pass a non-existent dimension when slicing a Dataset?

  • [x] Closes #3866
  • [x] Tests added
  • [x] Passes isort -rc . && black . && mypy . && flake8
  • [x] Fully documented, including whats-new.rst for all changes and api.rst for new API
{
    "url": "https://api.github.com/repos/pydata/xarray/issues/3923/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
587280307 MDExOlB1bGxSZXF1ZXN0MzkzMjU2NTgx 3887 Rename ordered_dict_intersection -> compat_dict_intersection johnomotani 3958036 closed 0     4 2020-03-24T21:08:26Z 2020-03-24T22:59:07Z 2020-03-24T22:59:07Z CONTRIBUTOR   0 pydata/xarray/pulls/3887

xarray does not use OrderedDicts any more, so name did not make sense. As suggested here https://github.com/pydata/xarray/pull/3877#discussion_r396620551.

  • [x] Test~~s~~ ~~added~~ updated
  • [x] Passes isort -rc . && black . && mypy . && flake8
  • [x] Fully documented, including whats-new.rst
{
    "url": "https://api.github.com/repos/pydata/xarray/issues/3887/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
533996523 MDExOlB1bGxSZXF1ZXN0MzQ5OTc0NjUz 3601 Fix contourf set under johnomotani 3958036 closed 0     5 2019-12-06T13:47:37Z 2020-02-24T20:20:09Z 2020-02-24T20:20:08Z CONTRIBUTOR   0 pydata/xarray/pulls/3601

Copies the cmap._rgba_bad, cmap._rgba_under, and cmap._rgba_over values to new_cmap, in case they have been set to non-default values. Allows the user to customize plots more by using matplotlib methods on a cmap before passing as an argument to xarray's plotting methods. Previously these settings were overridden by defaults when creating the cmap actually used to make the plot.

I'm not a fan of copying attributes one-by-one like this, but I guess this is an issue with matplotlib's API, unless there's a nicer way to convert a cmap to a discrete cmap than mpl.colors.from_levels_and_colors().

  • [x] Closes #3590
  • [x] Tests added
  • [x] Passes black . && mypy . && flake8
{
    "url": "https://api.github.com/repos/pydata/xarray/issues/3601/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

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]);
Powered by Datasette · Queries took 6165.371ms · About: xarray-datasette