home / github

Menu
  • GraphQL API
  • Search all tables

issues

Table actions
  • GraphQL API for issues

31 rows where comments = 3, type = "pull" and user = 2448579 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

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

type 1

  • pull · 31 ✖

state 1

  • closed 31

repo 1

  • xarray 31
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
1989227042 PR_kwDOAMm_X85fObtL 8445 Pin pint to >=0.22 dcherian 2448579 closed 0     3 2023-11-12T03:58:40Z 2023-11-13T19:39:54Z 2023-11-13T19:39:53Z MEMBER   0 pydata/xarray/pulls/8445
  • [x] Closes https://github.com/pydata/xarray/issues/7971
  • [x] Closes https://github.com/pydata/xarray/issues/8437.

We were previously pinned to <0.21 Removing the pin didn't change the env but with >=0.21 we get 0.22 which works.

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/8445/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
1944347086 PR_kwDOAMm_X85c2nyz 8316 Enable numbagg for reductions dcherian 2448579 closed 0     3 2023-10-16T04:46:10Z 2023-10-18T14:54:48Z 2023-10-18T10:39:30Z MEMBER   0 pydata/xarray/pulls/8316
  • [ ] Tests added - check bottleneck tests
  • [ ] User visible changes (including notable bug fixes) are documented in whats-new.rst
{
    "url": "https://api.github.com/repos/pydata/xarray/issues/8316/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
1736542260 PR_kwDOAMm_X85R6fac 7888 Add cfgrib,ipywidgets to doc env dcherian 2448579 closed 0     3 2023-06-01T15:11:10Z 2023-06-16T14:14:01Z 2023-06-16T14:13:59Z MEMBER   0 pydata/xarray/pulls/7888
  • [x] Closes #7841
  • [x] Closes #7892
{
    "url": "https://api.github.com/repos/pydata/xarray/issues/7888/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
1689773381 PR_kwDOAMm_X85PctlP 7798 Fix groupby binary ops when grouped array is subset relative to other dcherian 2448579 closed 0     3 2023-04-30T04:14:14Z 2023-05-03T12:58:35Z 2023-05-02T14:48:42Z MEMBER   0 pydata/xarray/pulls/7798
  • [x] Closes #7797
  • [x] Tests added
  • [x] User visible changes (including notable bug fixes) are documented in whats-new.rst

cc @slevang

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/7798/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
1632422255 PR_kwDOAMm_X85Md6iW 7650 Pin pandas < 2 dcherian 2448579 closed 0     3 2023-03-20T16:03:58Z 2023-04-25T13:42:48Z 2023-03-22T14:53:53Z MEMBER   0 pydata/xarray/pulls/7650

Pandas is expecting to release v2 in two weeks (pandas-dev/pandas#46776 (comment)). But we are still incompatible with their main branch: - #7441 - #7420

This PR pins pandas to <2

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/7650/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
1610063645 PR_kwDOAMm_X85LTHGz 7586 Fix lazy negative slice rewriting. dcherian 2448579 closed 0     3 2023-03-05T05:31:17Z 2023-03-27T21:05:54Z 2023-03-27T21:05:51Z MEMBER   0 pydata/xarray/pulls/7586

There was a bug in estimating the last index of the slice. Index a range object instead.

  • [x] Closes #6560
  • [x] Tests added
{
    "url": "https://api.github.com/repos/pydata/xarray/issues/7586/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
1573030587 PR_kwDOAMm_X85JXRu7 7506 Fix whats-new for 2023.02.0 dcherian 2448579 closed 0     3 2023-02-06T18:01:17Z 2023-02-07T16:14:55Z 2023-02-07T16:14:51Z MEMBER   0 pydata/xarray/pulls/7506

Oops. I used "Github Codespaces" to edit whats-new, but it turns if you commit in there, it just commits to main!

This fixes the pre-commit error.

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/7506/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
1433815234 PR_kwDOAMm_X85CF7j3 7249 whats-new for 2022.11.0 dcherian 2448579 closed 0     3 2022-11-02T21:35:13Z 2022-11-04T20:43:02Z 2022-11-04T20:43:00Z MEMBER   0 pydata/xarray/pulls/7249  
{
    "url": "https://api.github.com/repos/pydata/xarray/issues/7249/reactions",
    "total_count": 3,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 3,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
1217509109 PR_kwDOAMm_X8424hSf 6525 Add cumsum to DatasetGroupBy dcherian 2448579 closed 0     3 2022-04-27T15:19:20Z 2022-07-20T01:31:41Z 2022-07-20T01:31:37Z MEMBER   0 pydata/xarray/pulls/6525
  • [x] Closes #3141, Closes #3417
  • [x] Tests added
  • [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/6525/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
1167962844 PR_kwDOAMm_X840X9mp 6353 Add new tutorial video dcherian 2448579 closed 0     3 2022-03-14T06:54:37Z 2022-03-16T03:52:54Z 2022-03-16T03:49:23Z MEMBER   0 pydata/xarray/pulls/6353  
{
    "url": "https://api.github.com/repos/pydata/xarray/issues/6353/reactions",
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
1038407848 PR_kwDOAMm_X84tyqLp 5904 Update docstring for apply_ufunc, set_options dcherian 2448579 closed 0     3 2021-10-28T11:33:03Z 2021-10-30T14:10:24Z 2021-10-30T14:10:23Z MEMBER   0 pydata/xarray/pulls/5904  
{
    "url": "https://api.github.com/repos/pydata/xarray/issues/5904/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
922792799 MDExOlB1bGxSZXF1ZXN0NjcxNjI1NDc3 5474 Refactor out coarsen tests dcherian 2448579 closed 0     3 2021-06-16T15:52:57Z 2021-06-21T17:04:02Z 2021-06-21T16:35:36Z MEMBER   0 pydata/xarray/pulls/5474
  • xref #5409
  • [x] Tests added
  • [x] Passes pre-commit run --all-files

Some questions: 1. flake8 fails with some false positives. What do we do about that? 2. I am importing the da and ds fitures from test_dataarray and test_dataset. Is that the pattern we want to follow?

xarray/tests/test_coarsen.py:9:1: F401 '.test_dataarray.da' imported but unused xarray/tests/test_coarsen.py:10:1: F401 '.test_dataset.ds' imported but unused xarray/tests/test_coarsen.py:13:36: F811 redefinition of unused 'ds' from line 10 xarray/tests/test_coarsen.py:20:26: F811 redefinition of unused 'ds' from line 10 xarray/tests/test_coarsen.py:35:25: F811 redefinition of unused 'ds' from line 10 xarray/tests/test_coarsen.py:51:5: F811 redefinition of unused 'da' from line 9 xarray/tests/test_coarsen.py:62:5: F811 redefinition of unused 'da' from line 9 xarray/tests/test_coarsen.py:84:5: F811 redefinition of unused 'ds' from line 10 xarray/tests/test_coarsen.py:156:5: F811 redefinition of unused 'ds' from line 10 xarray/tests/test_coarsen.py:186:25: F811 redefinition of unused 'ds' from line 10 xarray/tests/test_coarsen.py:217:5: F811 redefinition of unused 'da' from line 9 xarray/tests/test_coarsen.py:269:5: F811 redefinition of unused 'da' from line 9

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/5474/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
694182591 MDExOlB1bGxSZXF1ZXN0NDgwNTk3OTk3 4407 Dataset.plot.quiver dcherian 2448579 closed 0     3 2020-09-05T21:04:05Z 2021-02-19T14:21:47Z 2021-02-19T14:21:45Z MEMBER   0 pydata/xarray/pulls/4407
  • [x] Closes #4373
  • [x] Tests added
  • [x] Passes isort . && black . && mypy . && flake8
  • [x] User visible changes (including notable bug fixes) are documented in whats-new.rst
  • [x] New functions/methods are listed in api.rst

I could use some help with adding tests and parameter checking if someone wants to help :)

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

ds = xr.Dataset() ds.coords["x"] = ("x", np.arange(10)) ds.coords["y"] = ("y", np.arange(20)) ds.coords["t"] = ("t", np.arange(4)) ds["u"] = np.sin((ds.x - 5) / 5) * np.sin((ds.y - 10) / 10) ds["v"] = np.sin((ds.x - 5) / 5) * np.cos((ds.y - 10) / 10)

ds = ds * 2*np.cos((ds.t) * 2 * 3.14 /0.75)

ds["u"].attrs["units"] = "m/s" ds["mag"] = np.hypot(ds.u, ds.v)

ds.mag.plot(col="t", x="x")

fg = ds.plot.quiver(x="x", y="y", u="u", v="v", col="t", hue="mag") ```

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/4407/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
623230375 MDExOlB1bGxSZXF1ZXN0NDIxOTM3MTk2 4088 Fix conversion of multiindexed pandas objects to sparse xarray objects dcherian 2448579 closed 0     3 2020-05-22T13:59:21Z 2020-05-26T22:20:06Z 2020-05-26T22:20:02Z MEMBER   0 pydata/xarray/pulls/4088
  • [x] Closes #4019
  • [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

~Doesn't have a proper test. Need some help here~. cc @bnaul

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/4088/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
589834306 MDExOlB1bGxSZXF1ZXN0Mzk1MjgyNzg0 3915 facetgrid: Ensure that colormap params are only determined once. dcherian 2448579 closed 0     3 2020-03-29T16:52:28Z 2020-04-11T16:12:00Z 2020-04-11T16:11:53Z MEMBER   0 pydata/xarray/pulls/3915
  • [x] Closes #3569
  • [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

Not sure how to test this.

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/3915/reactions",
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
576912650 MDExOlB1bGxSZXF1ZXN0Mzg0ODA1NjIy 3839 Fix alignment with join="override" when some dims are unindexed dcherian 2448579 closed 0     3 2020-03-06T12:52:50Z 2020-03-13T13:59:25Z 2020-03-13T13:25:13Z MEMBER   0 pydata/xarray/pulls/3839
  • [x] Closes #3681
  • [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/3839/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
558241968 MDExOlB1bGxSZXF1ZXN0MzY5NjY5NTM3 3738 Add twine check and readthedocs reminder to HOW_TO_RELEASE dcherian 2448579 closed 0     3 2020-01-31T16:43:39Z 2020-02-24T20:39:03Z 2020-02-24T18:52:04Z MEMBER   0 pydata/xarray/pulls/3738
{
    "url": "https://api.github.com/repos/pydata/xarray/issues/3738/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
538521262 MDExOlB1bGxSZXF1ZXN0MzUzNjUzNTEz 3629 apply_ufunc vectorize 1D function example dcherian 2448579 closed 0     3 2019-12-16T16:33:36Z 2020-01-16T18:06:42Z 2020-01-15T15:25:57Z MEMBER   0 pydata/xarray/pulls/3629

I added an example on using apply_ufunc to vectorize a 1D example over a DataArray. Comments and feedback welcome.

I added an example of using numba's guvectorize too. Thoughts on keeping that bit?

  • [x] Fully documented, including whats-new.rst for all changes and api.rst for new API

cc @rabernat @TomNicholas

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/3629/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
513068398 MDExOlB1bGxSZXF1ZXN0MzMyOTI3ODIy 3453 Optimize dask array equality checks. dcherian 2448579 closed 0     3 2019-10-28T02:44:14Z 2019-11-05T15:41:22Z 2019-11-05T15:41:15Z MEMBER   0 pydata/xarray/pulls/3453

Dask arrays with the same graph have the same name. We can use this to quickly compare dask-backed variables without computing. (see https://github.com/pydata/xarray/issues/3068#issuecomment-508853564)

I will work on adding extra tests but could use feedback on the approach.

  • [x] Closes #3068, closes #3311, closes #3454
  • [x] Tests added
  • [x] Passes black . && mypy . && flake8
  • [x] Fully documented, including whats-new.rst for all changes and api.rst for new API

@djhoese, thanks for the great example code!

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/3453/reactions",
    "total_count": 1,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 1,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
501150299 MDExOlB1bGxSZXF1ZXN0MzIzNDgwMDky 3364 Make concat more forgiving with variables that are being merged. dcherian 2448579 closed 0     3 2019-10-01T21:15:54Z 2019-10-17T01:30:32Z 2019-10-14T18:06:54Z MEMBER   0 pydata/xarray/pulls/3364
  • [x] Closes #508
  • [x] Tests added
  • [x] Passes black . && mypy . && flake8
  • [x] Fully documented, including whats-new.rst for all changes and api.rst for new API

Downstream issue: https://github.com/marbl-ecosys/cesm2-marbl/issues/1

Basically, we are currently raising an error when attempting to merge variables that are present in some datasets but not others that are provided to concat. This seems unnecessarily strict and it turns out we had an issue for it! (#508)

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/3364/reactions",
    "total_count": 2,
    "+1": 2,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
501059947 MDExOlB1bGxSZXF1ZXN0MzIzNDA1OTEz 3362 Fix concat bug when concatenating unlabeled dimensions. dcherian 2448579 closed 0     3 2019-10-01T18:10:22Z 2019-10-08T22:30:38Z 2019-10-08T22:13:48Z MEMBER   0 pydata/xarray/pulls/3362

This fixes the following behaviour. (downstream issue https://github.com/xgcm/xgcm/issues/154)

def test_concat(self, data): split_data = [ data.isel(dim1=slice(3)), data.isel(dim1=3), # this wouldn't work on master data.isel(dim1=slice(4, None)), ] assert_identical(data, concat(split_data, "dim1"))

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/3362/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
439407583 MDExOlB1bGxSZXF1ZXN0Mjc1MjE5ODQ4 2934 Docs/more fixes dcherian 2448579 closed 0     3 2019-05-02T02:43:29Z 2019-10-04T19:43:44Z 2019-10-04T17:04:37Z MEMBER   0 pydata/xarray/pulls/2934
  • partially addresses #2909 , closes #2901, closes #2908
{
    "url": "https://api.github.com/repos/pydata/xarray/issues/2934/reactions",
    "total_count": 1,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 1,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
459401826 MDExOlB1bGxSZXF1ZXN0MjkwNzcxODIx 3038 Revert cmap fix dcherian 2448579 closed 0     3 2019-06-21T23:11:09Z 2019-08-15T15:32:42Z 2019-06-22T17:16:36Z MEMBER   0 pydata/xarray/pulls/3038

Unfortunately my fix in #2935 broke some major functionality. A proper fix would involve some facetgrid refactoring I think; so that'll take some time. This reverts that commit and adds a test.

xr.DataArray(np.random.randn(10, 20)).plot(levels=10, cmap=mpl.cm.RdBu)

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/3038/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
467456554 MDExOlB1bGxSZXF1ZXN0Mjk3MTA1NDg1 3102 mfdataset, concat now support the 'join' kwarg. dcherian 2448579 closed 0     3 2019-07-12T14:52:25Z 2019-08-09T16:55:24Z 2019-08-07T12:17:07Z MEMBER   0 pydata/xarray/pulls/3102
  • [x] Closes #1354
  • [x] Tests added
  • [x] Fully documented, including whats-new.rst for all changes and api.rst for new API

I won't work on it for the next few days if someone else wants to take over...

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/3102/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
362918990 MDExOlB1bGxSZXF1ZXN0MjE3NDk1OTc5 2433 Contour labels kwarg dcherian 2448579 closed 0     3 2018-09-23T06:52:15Z 2019-06-13T15:35:44Z 2019-06-13T15:35:44Z MEMBER   0 pydata/xarray/pulls/2433
  • [x] Tests added (for all bug fixes or enhancements)
  • [x] Tests passed (for all non-documentation changes)
  • [x] Fully documented, including whats-new.rst for all changes and api.rst for new API (remove if this change should not be visible to users, e.g., if it is an internal clean-up, or if this is part of a larger project that will be documented later)

Adds a labels boolean kwarg for contour that adds contour labels. Also adds clabel_kwargs that is passed on to Axes.clabel()

air.isel(time=0).plot.contour(labels=True, colors='k', clabel_kwargs={'fmt': '%.1f'})

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/2433/reactions",
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
386294605 MDExOlB1bGxSZXF1ZXN0MjM1MDcxOTQ5 2584 Fix parsing '_Unsigned' attribute dcherian 2448579 closed 0     3 2018-11-30T18:11:03Z 2019-04-12T16:29:22Z 2018-12-15T23:53:19Z MEMBER   0 pydata/xarray/pulls/2584
  • [x] Closes #2583
  • [x] Tests added (for all bug fixes or enhancements)
  • [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/2584/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
364405781 MDExOlB1bGxSZXF1ZXN0MjE4NjAwMzM5 2443 Properly support user-provided norm. dcherian 2448579 closed 0     3 2018-09-27T10:25:33Z 2018-10-08T05:23:47Z 2018-10-08T05:23:35Z MEMBER   0 pydata/xarray/pulls/2443
  • [x] Closes #2381
  • [x] Tests added (for all bug fixes or enhancements)
  • [x] Tests passed (for all non-documentation changes)
  • [x] Fully documented, including whats-new.rst for all changes and api.rst for new API (remove if this change should not be visible to users, e.g., if it is an internal clean-up, or if this is part of a larger project that will be documented later)
{
    "url": "https://api.github.com/repos/pydata/xarray/issues/2443/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
345493321 MDExOlB1bGxSZXF1ZXN0MjA0NjE5NjY0 2328 Silence some warnings. dcherian 2448579 closed 0     3 2018-07-29T01:46:27Z 2018-09-04T15:39:39Z 2018-09-04T15:39:23Z MEMBER   0 pydata/xarray/pulls/2328
  • [x] Tests passed (for all non-documentation changes)

Remove some warnings.

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/2328/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
341713032 MDExOlB1bGxSZXF1ZXN0MjAxNzg2NDgy 2294 Additional axis kwargs dcherian 2448579 closed 0     3 2018-07-16T23:25:37Z 2018-07-31T22:28:58Z 2018-07-31T22:28:44Z MEMBER   0 pydata/xarray/pulls/2294
  • [x] Closes #2224 (remove if there is no corresponding issue, which should only be the case for minor changes)
  • [x] Tests added (for all bug fixes or enhancements)
  • [x] Tests passed (for all non-documentation changes)
  • [x] Fully documented, including whats-new.rst for all changes and api.rst for new API (remove if this change should not be visible to users, e.g., if it is an internal clean-up, or if this is part of a larger project that will be documented later)

This PR adds support for xscale, yscale, xticks, yticks, xlim, ylim kwargs following discussion in #2224 and the Pandas API (https://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.plot.html#pandas.DataFrame.plot).

Haven't added FacetGrid support yet. I'll get to that soon.

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/2294/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
345426020 MDExOlB1bGxSZXF1ZXN0MjA0NTgxMDA1 2325 interp() now accepts date strings as desired co-ordinate locations dcherian 2448579 closed 0     3 2018-07-28T07:14:22Z 2018-07-30T00:33:13Z 2018-07-29T06:09:41Z MEMBER   0 pydata/xarray/pulls/2325
  • [x] Closes #2284
  • [x] Tests added (for all bug fixes or enhancements)
  • [x] Tests passed (for all non-documentation changes)
  • [x] Fully documented, including whats-new.rst for all changes and api.rst for new API (remove if this change should not be visible to users, e.g., if it is an internal clean-up, or if this is part of a larger project that will be documented later)

```python da = xr.DataArray([1, 5], dims=['time'], coords={'time': [np.datetime64('2014-05-06'), np.datetime64('2014-05-10')]})

da.interp(time='2014-05-07') <xarray.DataArray ()> array(2.) Coordinates: time datetime64[ns] 2014-05-07 ```

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/2325/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
276185101 MDExOlB1bGxSZXF1ZXN0MTU0MjQxMDUx 1737 WIP: 1d+2d coord plotting dcherian 2448579 closed 0     3 2017-11-22T19:43:34Z 2017-12-19T23:49:39Z 2017-11-29T11:50:09Z MEMBER   0 pydata/xarray/pulls/1737
  • [ ] Closes #xxxx
  • [x] Tests added / passed
  • [x] Passes git diff upstream/master **/*py | flake8 --diff
  • [x] Fully documented, including whats-new.rst for all changes and api.rst for new API

This PR teaches plot.contourf() to contour variables with both a 1D co-ordinate (e.g. time) and a 2D co-ordinate (e.g. time-varying depth) da: <xarray.DataArray 'S' (z: 5, time: 85646)> array([[ nan, nan, nan, ..., nan, nan, nan], [ 35.02816 , 34.729567, 34.779223, ..., 34.57513 , 34.671975, 34.334675], [ 35.206943, 35.163239, 34.938674, ..., 34.780728, 34.836331, 34.70386 ], [ nan, 35.184057, 35.10592 , ..., 34.656925, 34.776915, 34.429442], [ 34.85562 , 34.81994 , 35.00963 , ..., 35.014522, 34.9747 , 35.033848]]) Coordinates: depth (z, time) float16 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 53.5 ... * time (time) datetime64[ns] 2013-12-19T06:00:01 2013-12-19T06:10:01 ... Dimensions without coordinates: z

Now we can do da.plot(x='time', y='depth')

Couple of questions: 1. I've added a test, but am not sure how to work in an assert statement. 2. How do I test that I haven't messed up the syntax in whats-new.rst

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/1737/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 1661.503ms · About: xarray-datasette