home / github

Menu
  • GraphQL API
  • Search all tables

issues

Table actions
  • GraphQL API for issues

38 rows where type = "pull" and user = 17162724 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 · 38 ✖

state 1

  • closed 38

repo 1

  • xarray 38
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
2241228882 PR_kwDOAMm_X85sjOh9 8936 MAINT: use sphinxext-rediraffe conda install raybellwaves 17162724 closed 0     1 2024-04-13T02:11:07Z 2024-04-13T02:53:53Z 2024-04-13T02:53:48Z CONTRIBUTOR   0 pydata/xarray/pulls/8936
  • [ ] Closes #xxxx
  • [ ] Tests added
  • [ ] User visible changes (including notable bug fixes) are documented in whats-new.rst
  • [ ] New functions/methods are listed in api.rst
{
    "url": "https://api.github.com/repos/pydata/xarray/issues/8936/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
2176449106 PR_kwDOAMm_X85pGrBh 8816 DOC: link to zarr.convenience.consolidate_metadata raybellwaves 17162724 closed 0     2 2024-03-08T17:14:19Z 2024-03-08T19:20:03Z 2024-03-08T18:47:14Z CONTRIBUTOR   0 pydata/xarray/pulls/8816

I wanted to know what zarr.convenience.consolidate_metadata does which motivated me to add a link to it in the docstring to make it easier for others (and future me) to discover it.

I sorted intersphinx_mapping to make it easier to docs from other projects. I also added :func:zarr.convenience.consolidate_metadata in the doc string.

Testing if it actually works is WIP

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/8816/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
1319991672 PR_kwDOAMm_X848M442 6841 DOC: link DataArray.expand_dims to Dataset.expand_dims raybellwaves 17162724 closed 0     1 2022-07-27T18:43:27Z 2022-07-27T20:20:35Z 2022-07-27T20:20:35Z CONTRIBUTOR   0 pydata/xarray/pulls/6841
  • [ ] Closes #xxxx
  • [ ] Tests added
  • [ ] User visible changes (including notable bug fixes) are documented in whats-new.rst
  • [ ] New functions/methods are listed in api.rst

Help navigation in the docs of going between the DataArray method and the Dataset method.

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/6841/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
1295056717 PR_kwDOAMm_X8465TI4 6755 add axis arg to to_array raybellwaves 17162724 closed 0     0 2022-07-06T03:04:55Z 2022-07-06T17:52:59Z 2022-07-06T17:52:59Z CONTRIBUTOR   0 pydata/xarray/pulls/6755
  • [x] Closes #6754
  • [x] Tests added
  • [ ] User visible changes (including notable bug fixes) are documented in whats-new.rst
  • [ ] New functions/methods are listed in api.rst
{
    "url": "https://api.github.com/repos/pydata/xarray/issues/6755/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
1270159911 PR_kwDOAMm_X845mZtV 6696 DOC: note of how `chunks` can be defined raybellwaves 17162724 closed 0     1 2022-06-14T02:12:56Z 2022-06-20T16:51:31Z 2022-06-20T16:51:31Z CONTRIBUTOR   0 pydata/xarray/pulls/6696

Some tiny overlap with https://github.com/pydata/xarray/pull/6542.

I feel this minor changes helps it easy to navigate to other parts of the docs.

Some motivation behind the PR here: https://github.com/pydata/xarray/discussions/6697

Note: i've forgotten the syntax for how to create a link to https://xarray.pydata.org/en/stable/generated/xarray.Dataset.chunk.html

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/6696/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
1076992588 PR_kwDOAMm_X84vr6rK 6067 DOC: fix sphinx warning raybellwaves 17162724 closed 0     1 2021-12-10T15:57:59Z 2021-12-11T04:30:51Z 2021-12-11T04:30:46Z CONTRIBUTOR   0 pydata/xarray/pulls/6067
  • [ ] Closes #xxxx
  • [ ] Tests added
  • [ ] Passes pre-commit run --all-files
  • [ ] User visible changes (including notable bug fixes) are documented in whats-new.rst
  • [ ] New functions/methods are listed in api.rst
{
    "url": "https://api.github.com/repos/pydata/xarray/issues/6067/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
1076986833 PR_kwDOAMm_X84vr5fq 6066 DOC: cd command in build documentation raybellwaves 17162724 closed 0     1 2021-12-10T15:51:49Z 2021-12-11T00:41:37Z 2021-12-11T00:41:37Z CONTRIBUTOR   0 pydata/xarray/pulls/6066

In the section above (http://xarray.pydata.org/en/stable/contributing.html#how-to-build-the-xarray-documentation) i.e. build the env, it assumes you are in the root directory. This holds that assumptions and makes it easier for a user to copy-paste to build the docs

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/6066/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
1076957492 PR_kwDOAMm_X84vrzcq 6065 DOC: add link to Developers Meeting raybellwaves 17162724 closed 0     1 2021-12-10T15:21:30Z 2021-12-10T21:27:55Z 2021-12-10T21:27:55Z CONTRIBUTOR   0 pydata/xarray/pulls/6065

Related to https://github.com/pydata/xarray/issues/4001#issuecomment-779556647

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/6065/reactions",
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
1043695805 PR_kwDOAMm_X84uCrMw 5932 DOC: add names of missing contributors to 0.20.0 raybellwaves 17162724 closed 0     2 2021-11-03T14:47:15Z 2021-11-03T15:17:42Z 2021-11-03T15:17:42Z CONTRIBUTOR   0 pydata/xarray/pulls/5932

When I worked on https://github.com/pydata/xarray/pull/5615 I did so with a couple of team mates. I added them in the commit message: https://github.com/pydata/xarray/pull/5615/commits/67ccce2f9b31eebf38fffb5dc86b90810299111c

Want to make sure they get a shout out here :)

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/5932/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
1022161430 PR_kwDOAMm_X84s_dvN 5851 update ValueError message for wild card matching for remote files raybellwaves 17162724 closed 0     1 2021-10-11T01:31:18Z 2021-10-11T02:58:47Z 2021-10-11T02:58:47Z CONTRIBUTOR   0 pydata/xarray/pulls/5851
  • [x] Closes #5838
  • [ ] Tests added
  • [ ] Passes pre-commit run --all-files
  • [ ] User visible changes (including notable bug fixes) are documented in whats-new.rst
  • [ ] New functions/methods are listed in api.rst
{
    "url": "https://api.github.com/repos/pydata/xarray/issues/5851/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
997343167 PR_kwDOAMm_X84ry9KI 5797 DOC: sortby see also raybellwaves 17162724 closed 0     3 2021-09-15T17:35:35Z 2021-09-15T20:16:36Z 2021-09-15T19:49:07Z CONTRIBUTOR   0 pydata/xarray/pulls/5797
  • [x] Closes my brain dump in https://github.com/pydata/xarray/discussions/5795
  • [ ] Tests added
  • [ ] Passes pre-commit run --all-files
  • [ ] User visible changes (including notable bug fixes) are documented in whats-new.rst
  • [ ] New functions/methods are listed in api.rst
{
    "url": "https://api.github.com/repos/pydata/xarray/issues/5797/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
946543524 MDExOlB1bGxSZXF1ZXN0NjkxNjk5NDMz 5615 add storage_options arg to to_zarr raybellwaves 17162724 closed 0     7 2021-07-16T19:26:54Z 2021-08-21T23:19:12Z 2021-08-21T22:52:18Z CONTRIBUTOR   0 pydata/xarray/pulls/5615
  • [ ] Tests added
  • [x] Passes pre-commit run --all-files
  • [ ] User visible changes (including notable bug fixes) are documented in whats-new.rst

What does this PR do?

Adds a storage_options arg to to_zarr.

What is the storage_options arg?

The storage_options arg is used throughout the pydata ecosystem where you can write a file to cloud storage. Such as:

  • pandas: https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.to_parquet.html?highlight=to_parquet
  • dask.dataframe: https://docs.dask.org/en/latest/generated/dask.dataframe.to_parquet.html
  • dask.array: https://docs.dask.org/en/latest/generated/dask.array.to_zarr.html#dask.array.to_zarr

It allows you to write to a prd account or a dev account for example.

It is can be used currently in xarray when reading data via open_dataset e.g. xr.open_dataset(..., backend_kwargs=dict(storage_options=storage_options)

Why is it needed?

When working in cloud based environments you storage options are often automatically created. I recently found when doing things in parallel dask can hiccup on finding the credentials (see https://dask.slack.com/archives/C02282J3Q6Q/p1626201210115500) passing the storage options as an arg gave it some stability.

I imagine this could help when writing multiple zarr stores to cloud storage in parallel (e.g. delayed).

This PR also brings similar functionality of pandas.DataFrame.to_parquet and dask.array.to_zarr to xarray.

How is this tested?

Not obvious how to test. e.g. no storage_options test in dask.array https://github.com/dask/dask/blob/main/dask/array/tests/test_array_core.py

Pandas has more extensive tests https://github.com/pandas-dev/pandas/blob/master/pandas/tests/io/test_fsspec.py

Background:

The idea for this PR is discussed here: https://github.com/pydata/xarray/discussions/5601 cc. @martindurant

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/5615/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
943922554 MDExOlB1bGxSZXF1ZXN0Njg5NDgzNTEz 5599 DOC: add open_mfdataset in See Also raybellwaves 17162724 closed 0     2 2021-07-14T00:21:06Z 2021-07-14T04:26:14Z 2021-07-14T04:00:07Z CONTRIBUTOR   0 pydata/xarray/pulls/5599

Makes life a little easier when navigating the docs

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/5599/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
931798746 MDExOlB1bGxSZXF1ZXN0Njc5MjM2Mzg3 5547 DOC: typo raybellwaves 17162724 closed 0     2 2021-06-28T17:27:25Z 2021-06-28T18:11:52Z 2021-06-28T17:43:19Z CONTRIBUTOR   0 pydata/xarray/pulls/5547

missing code formatting on this https://xarray.pydata.org/en/latest/generated/xarray.open_dataset.html

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/5547/reactions",
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
909046909 MDExOlB1bGxSZXF1ZXN0NjU5Njc1MzIw 5427 DOC: zarr note on encoding raybellwaves 17162724 closed 0     4 2021-06-02T03:27:15Z 2021-06-21T18:14:15Z 2021-06-21T17:47:47Z CONTRIBUTOR   0 pydata/xarray/pulls/5427

It took me a while to realize this so I wanted to make a note in the docs for myself in the future and others uses.

I was playing with pint-xarray and I couldn't work out why I couldn't round trip a file (https://github.com/xarray-contrib/pint-xarray/issues/109). It turns out the DataArray had an enconding attribute which was being used (and overriding my unit conversion). In addition, I was also scratching my head for a while as to where my zarr store was getting chunks from which didn't correspomd to my numpy array (https://github.com/pydata/xarray/discussions/5407).

This PR just makes a note of the importance of encoding attribute of DataArray(s) when writing to a zarr store.

docs page change is here: https://xray--5427.org.readthedocs.build/en/5427/generated/xarray.Dataset.to_zarr.html?highlight=zarr#xarray.Dataset.to_zarr

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/5427/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
923307166 MDExOlB1bGxSZXF1ZXN0NjcyMDg2MzM2 5479 DOC: add combine_by_coords in merge see also raybellwaves 17162724 closed 0     3 2021-06-17T01:46:31Z 2021-06-17T16:34:55Z 2021-06-17T16:04:24Z CONTRIBUTOR   0 pydata/xarray/pulls/5479

Keewis mentioned other options to merge are concat and combine_by_coords (https://github.com/pydata/xarray/discussions/5462#discussioncomment-861492). This PR adds combine_by_coords in the see also docstring of merge

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/5479/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
874166254 MDExOlB1bGxSZXF1ZXN0NjI4NzgyNzIy 5249 DOC: add query examples raybellwaves 17162724 closed 0     2 2021-05-03T01:27:28Z 2021-05-03T04:30:20Z 2021-05-03T04:30:20Z CONTRIBUTOR   0 pydata/xarray/pulls/5249

Add query examples in the docstrings.

Relevent rtd buld links: - https://xray--5249.org.readthedocs.build/en/5249/generated/xarray.Dataset.query.html?highlight=query#xarray.Dataset.query - https://xray--5249.org.readthedocs.build/en/5249/generated/xarray.DataArray.query.html?highlight=query#xarray.DataArray.query

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/5249/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
860274641 MDExOlB1bGxSZXF1ZXN0NjE3MjA5NDc2 5176 DOC: fix link to io.zarr raybellwaves 17162724 closed 0     3 2021-04-17T00:50:57Z 2021-04-19T19:10:19Z 2021-04-19T18:13:36Z CONTRIBUTOR   0 pydata/xarray/pulls/5176

Fixes rendering in https://github.com/pydata/xarray/pull/5163

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/5176/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
859020732 MDExOlB1bGxSZXF1ZXN0NjE2MTY4MTA4 5163 DOC: add see also for to_zarr raybellwaves 17162724 closed 0     5 2021-04-15T15:54:15Z 2021-04-16T23:58:54Z 2021-04-16T15:30:12Z CONTRIBUTOR   0 pydata/xarray/pulls/5163
  • [x] Closes #5159
  • [ ] Tests added
  • [ ] Passes pre-commit run --all-files
  • [ ] User visible changes (including notable bug fixes) are documented in whats-new.rst
  • [ ] New functions/methods are listed in api.rst
{
    "url": "https://api.github.com/repos/pydata/xarray/issues/5163/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
816059432 MDExOlB1bGxSZXF1ZXN0NTc5Nzg0OTc0 4956 DOC: add example for reindex raybellwaves 17162724 closed 0     2 2021-02-25T03:56:12Z 2021-02-26T06:55:49Z 2021-02-26T06:55:48Z CONTRIBUTOR   0 pydata/xarray/pulls/4956
{
    "url": "https://api.github.com/repos/pydata/xarray/issues/4956/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
815770082 MDExOlB1bGxSZXF1ZXN0NTc5NTQ0NDMy 4949 DOC: rm np import raybellwaves 17162724 closed 0     2 2021-02-24T19:19:03Z 2021-02-25T08:46:42Z 2021-02-25T08:46:41Z CONTRIBUTOR   0 pydata/xarray/pulls/4949
{
    "url": "https://api.github.com/repos/pydata/xarray/issues/4949/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
781536092 MDExOlB1bGxSZXF1ZXN0NTUxMjQyMjI0 4778 DOC: update hyperlink for xskillscore raybellwaves 17162724 closed 0     1 2021-01-07T19:00:16Z 2021-01-07T19:47:19Z 2021-01-07T19:47:14Z CONTRIBUTOR   0 pydata/xarray/pulls/4778

Update hyperlink for xskillscore

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/4778/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
755626157 MDExOlB1bGxSZXF1ZXN0NTMxMzAzMTY3 4645 DOC: add examples to concat raybellwaves 17162724 closed 0     13 2020-12-02T21:33:44Z 2020-12-19T23:20:26Z 2020-12-19T23:20:22Z CONTRIBUTOR   0 pydata/xarray/pulls/4645
  • [x] Closes #4620
{
    "url": "https://api.github.com/repos/pydata/xarray/issues/4645/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
735267574 MDExOlB1bGxSZXF1ZXN0NTE0NjkwNTA3 4561 rm inplace arg to rename raybellwaves 17162724 closed 0     7 2020-11-03T12:10:12Z 2020-11-07T06:55:49Z 2020-11-07T06:55:49Z CONTRIBUTOR   0 pydata/xarray/pulls/4561

This PR follows a TypeError I got

ds = xr.open_dataset('https://thredds.ucar.edu/thredds/dodsC/grib/NCEP/GFS/Global_0p25deg/Best') ds.rename({'lat': 'latitude', 'lon': 'longitude'}, inplace=True) TypeError: The `inplace` argument has been removed from xarray. You can achieve an identical effect with python's standard assignment.

I saw the option of the inplace in the docs http://xarray.pydata.org/en/stable/generated/xarray.Dataset.rename.html

Removing this argument.

TODO:

  • [ ] rm test_rename_inplace
{
    "url": "https://api.github.com/repos/pydata/xarray/issues/4561/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
709398689 MDExOlB1bGxSZXF1ZXN0NDkzNDY4MjI0 4464 update url for isort in .pre-commit-config.yaml raybellwaves 17162724 closed 0     1 2020-09-26T01:59:49Z 2020-09-26T09:45:06Z 2020-09-26T09:45:06Z CONTRIBUTOR   0 pydata/xarray/pulls/4464

When opening the current url https://github.com/timothycrosley/isort it points to a new url https://github.com/PyCQA/isort.

This PR replaces the old url with the new one

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/4464/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
640100500 MDExOlB1bGxSZXF1ZXN0NDM1NTcwNzUx 4162 DOC: drop eccodes in docs raybellwaves 17162724 closed 0     2 2020-06-17T02:55:06Z 2020-06-17T16:52:30Z 2020-06-17T16:52:30Z CONTRIBUTOR   0 pydata/xarray/pulls/4162
  • [x] Closes #4151
  • [NA] Tests added
  • [NA] Passes isort -rc . && black . && mypy . && flake8
  • [NA] Fully documented, including whats-new.rst for all changes and api.rst for new API
{
    "url": "https://api.github.com/repos/pydata/xarray/issues/4162/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
605181397 MDExOlB1bGxSZXF1ZXN0NDA3NjM0Nzkx 3994 DOC: add pandas.DataFrame.to_xarray raybellwaves 17162724 closed 0     1 2020-04-23T01:54:10Z 2020-04-23T07:58:13Z 2020-04-23T07:58:09Z CONTRIBUTOR   0 pydata/xarray/pulls/3994
  • [X] Closes #3895
  • [ ] Tests added
  • [ ] Passes isort -rc . && black . && mypy . && flake8
  • [ ] Fully documented, including whats-new.rst for all changes and api.rst for new API

Tested the docs build

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/3994/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
354803087 MDExOlB1bGxSZXF1ZXN0MjExNDc4OTAx 2387 DOC: move xskillscore to 'Extend xarray capabilities' raybellwaves 17162724 closed 0     1 2018-08-28T16:13:13Z 2018-08-28T18:12:12Z 2018-08-28T18:11:56Z CONTRIBUTOR   0 pydata/xarray/pulls/2387

Think my package should go in the 'extend xarray capabilities' section rather than the 'geoscience' section.

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/2387/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
348421086 MDExOlB1bGxSZXF1ZXN0MjA2Nzc1NDEz 2350 DOC: Add xskillscore to project lists raybellwaves 17162724 closed 0     1 2018-08-07T17:42:27Z 2018-08-07T18:05:35Z 2018-08-07T18:05:35Z CONTRIBUTOR   0 pydata/xarray/pulls/2350

Potentially fixes #1115 as I have a correlation function. http://xarray.pydata.org/en/stable/dask.html?highlight=spearman#automatic-parallelization probably fixes #1115 as well

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/2350/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
344608441 MDExOlB1bGxSZXF1ZXN0MjAzOTY0Mzc1 2312 DOC: add interp example raybellwaves 17162724 closed 0     4 2018-07-25T21:10:08Z 2018-07-28T06:18:32Z 2018-07-28T06:17:22Z CONTRIBUTOR   0 pydata/xarray/pulls/2312
  • [NA] Closes #xxxx (remove if there is no corresponding issue, which should only be the case for minor changes)
  • [NA] Tests added (for all bug fixes or enhancements)
  • [NA] Tests passed (for all non-documentation changes)
  • [NA] 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)

I wanted to add an example as googling 'xarray interp' takes me to http://xarray.pydata.org/en/stable/generated/xarray.Dataset.interp.html.

However, there lots of great examples in http://xarray.pydata.org/en/stable/interpolation.html Perhaps I should edit it to: ``` Examples


See http://xarray.pydata.org/en/stable/interpolation.html ```

I was also thinking about adding a note about interpolating time as it came up in https://github.com/pydata/xarray/issues/2284 but not sure what would be the best way to do so.

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/2312/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
319985789 MDExOlB1bGxSZXF1ZXN0MTg1NzY2MTg3 2101 DOC: Add resample e.g. Edit rolling e.g. Add groupby e.g. raybellwaves 17162724 closed 0     4 2018-05-03T16:08:48Z 2018-05-08T15:46:17Z 2018-05-08T04:23:03Z CONTRIBUTOR   0 pydata/xarray/pulls/2101
  • [NA] Closes #xxxx (remove if there is no corresponding issue, which should only be the case for minor changes)
  • [NA] Tests added (for all bug fixes or enhancements)
  • [NA] Tests passed (for all non-documentation changes)
  • [NA] 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)

Added a resample example to reflect the DeprecationWarning: .resample() has been modified to defer calculations. Instead of passing 'dim' and 'how="mean", instead consider using.... There were also some missing parameters in the docs.

Made a minor edit to my rolling example which uses the parameter center. I can't remember if that parameter was there last time but I think it's useful to return the time value for the middle of window.

Added a groupby example. Not sure if this should go here. See text below for my motivation of putting an example in the docstring of the class/object.

I learnt xarray before I learnt pandas so these example will hopefully be useful to other beginners as it took me a minute to get the syntax right.

Whilst there are great examples of these functions in the docs, a google search of a function for example xarray rolling often returns the doc entry that that object. Having a little example there is helpful for me to get the syntax right. The key/value pair in a dictionary for example is very powerful and always takes me a few tries to get the entry right.

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/2101/reactions",
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
302731264 MDExOlB1bGxSZXF1ZXN0MTczMTgwNDQz 1969 Switched broken pypip.in badges to shields.io raybellwaves 17162724 closed 0     1 2018-03-06T14:51:49Z 2018-03-06T18:24:17Z 2018-03-06T18:24:17Z CONTRIBUTOR   0 pydata/xarray/pulls/1969
  • [NA] Closes #xxxx (remove if there is no corresponding issue, which should only be the case for minor changes)
  • [NA] Tests added (for all bug fixes or enhancements)
  • [NA] Tests passed (for all non-documentation changes)
  • [NA] 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 seems to be happening to a lot of projects as highlighted on the recent list of people who have cited this issue https://github.com/badges/shields/issues/716.

Here is a project with a recent commit to resolve this which explains the issue better that I can https://github.com/landscapeio/pylint-celery/pull/7

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/1969/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
299210082 MDExOlB1bGxSZXF1ZXN0MTcwNjQ4NzM3 1934 DOC: Add contributing section in README.rst and README.rst in doc/ raybellwaves 17162724 closed 0     3 2018-02-22T03:30:26Z 2018-02-23T19:55:47Z 2018-02-23T19:55:47Z CONTRIBUTOR   0 pydata/xarray/pulls/1934
  • [NA] Closes #xxxx (remove if there is no corresponding issue, which should only be the case for minor changes)
  • [NA] Tests added (for all bug fixes or enhancements)
  • [NA] Tests passed (for all non-documentation changes)
  • [NA] 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)

These were inspired by a discussion on the mailing list: https://groups.google.com/forum/#!topic/xarray/FyCFkuWbFSk

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/1934/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
297331231 MDExOlB1bGxSZXF1ZXN0MTY5Mjg2NDgz 1911 DOC: Removed a line in setting up toy weather data raybellwaves 17162724 closed 0     2 2018-02-15T05:11:42Z 2018-02-15T05:29:52Z 2018-02-15T05:29:28Z CONTRIBUTOR   0 pydata/xarray/pulls/1911
  • [NA] Closes #xxxx (remove if there is no corresponding issue, which should only be the case for minor changes)
  • [NA] Tests added (for all bug fixes or enhancements)
  • [NA] Tests passed (for all non-documentation changes)
  • [NA] 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/1911/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
279141739 MDExOlB1bGxSZXF1ZXN0MTU2MzAwNDM2 1758 DOC: Added parameter list to open_dataarray raybellwaves 17162724 closed 0     3 2017-12-04T20:41:09Z 2018-01-19T05:14:57Z 2018-01-19T05:13:51Z CONTRIBUTOR   0 pydata/xarray/pulls/1758

Closes #1757

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/1758/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
283410571 MDExOlB1bGxSZXF1ZXN0MTU5MzAzNDA3 1794 DOC: added sortby example raybellwaves 17162724 closed 0     1 2017-12-20T00:16:24Z 2017-12-20T01:21:06Z 2017-12-20T01:21:04Z CONTRIBUTOR   0 pydata/xarray/pulls/1794
  • [NA] Closes #xxxx (remove if there is no corresponding issue, which should only be the case for minor changes)
  • [NA] Tests added (for all bug fixes or enhancements)
  • [NA] Tests passed (for all non-documentation changes)
  • [NA] Passes git diff upstream/master **/*py | flake8 --diff (remove if you did not edit any Python files)
  • [NA] 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/1794/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
269224520 MDExOlB1bGxSZXF1ZXN0MTQ5Mjc4MDIy 1665 DOC: added apply example to core/dataarray.py raybellwaves 17162724 closed 0     2 2017-10-27T20:21:49Z 2017-10-27T23:17:54Z 2017-10-27T23:17:51Z CONTRIBUTOR   0 pydata/xarray/pulls/1665
  • [NA] Closes #xxxx
  • [NA] Tests added / passed
  • [ ] Passes git diff upstream/master | flake8 --diff
  • [NA] Fully documented, including whats-new.rst for all changes and api.rst for new API

I added an example to apply as I just learnt about it from my Q on stackoverflow (https://stackoverflow.com/questions/46980823/python-xarray-compute-the-absolute-values-of-a-dataset/46981027#46981027).

Also my first time using git and making edits on the command line rather than the web browser.

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/1665/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
258267613 MDExOlB1bGxSZXF1ZXN0MTQxNDY3MTc1 1574 DOC: Added examples to rolling.py raybellwaves 17162724 closed 0     4 2017-09-17T00:14:41Z 2017-10-27T20:15:39Z 2017-09-21T01:46:11Z CONTRIBUTOR   0 pydata/xarray/pulls/1574

This idea for this PR was discussed here: https://stackoverflow.com/questions/45992983/python-xarray-rolling-mean-example

I wasn't able to drop the nans using min_periods so I used the dropna method.

If there is a more eloquent method to my example feel free to point me to it.

  • [NA] Closes #xxxx
  • [NA] Tests added / passed
  • [ ] Passes git diff upstream/master | flake8 --diff
  • [NA] Fully documented, including whats-new.rst for all changes and api.rst for new API
{
    "url": "https://api.github.com/repos/pydata/xarray/issues/1574/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 24.329ms · About: xarray-datasette