home / github

Menu
  • Search all tables
  • GraphQL API

issues

Table actions
  • GraphQL API for issues

5 rows where comments = 9 and user = 1217238 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

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

type 2

  • issue 3
  • pull 2

state 1

  • closed 5

repo 1

  • xarray 5
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
390774883 MDU6SXNzdWUzOTA3NzQ4ODM= 2605 Pad method shoyer 1217238 closed 0     9 2018-12-13T17:08:25Z 2020-03-19T14:41:49Z 2020-03-19T14:41:49Z MEMBER      

It would be nice to have a generic .pad() method to xarray objects based on numpy.pad and dask.array.pad.

In particular,pad with mode='wrap' could solve several use-cases related to periodic boundary conditions: https://github.com/pydata/xarray/issues/1005 , https://github.com/pydata/xarray/issues/2007. For example, ds.pad(longitude=(0, 1), mode='wrap') to add an extra point with periodic boundary conditions along the longitude dimension.

It probably makes sense to linearly extrapolate coordinates along padded dimensions, as long as they are regularly spaced. This might use heuristics and/or a keyword argument.

I don't have a plans to work on this in the near term. It could be a good project of moderate complexity for a new contributor.

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/2605/reactions",
    "total_count": 5,
    "+1": 5,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed xarray 13221727 issue
489270698 MDU6SXNzdWU0ODkyNzA2OTg= 3280 Deprecation cycles to finish for xarray 0.13 shoyer 1217238 closed 0     9 2019-09-04T16:37:26Z 2019-09-17T18:50:05Z 2019-09-17T18:50:05Z MEMBER      

Clean-ups we should definitely do: - [x] remove deprecated options from xarray.concat (deprecated back in July 2015!): https://github.com/pydata/xarray/blob/79dc7dc461c7540cc0b84a98543c6f7796c05268/xarray/core/concat.py#L114-L144 (edit by @max-sixty ) - [x] argument order in DataArray.to_dataset (also from July 2015) https://github.com/pydata/xarray/blob/41fecd8658ba50ddda0a52e04c21cec5e53415ac/xarray/core/dataarray.py#L491 (edit by @max-sixty ) - [x] remove the warning back reindex with variables with different dimensions (from 2017). This could either be replaced by replacing dimensions like sel or by simply raising an error for now and leaving replacing dimensions for later: https://github.com/pydata/xarray/pull/1639): https://github.com/pydata/xarray/blob/79dc7dc461c7540cc0b84a98543c6f7796c05268/xarray/core/alignment.py#L389-L398 (edit by @max-sixty ) - [x] remove xarray.broadcast_array, deprecated back in 2016 in https://github.com/pydata/xarray/commit/52ee95f8ae6b9631ac381b5b889de47e41f2440e (edit by @max-sixty ) - [x] remove Variable.expand_dims (deprecated back in August 2017), whose implementation actually looks like it's already broken: https://github.com/pydata/xarray/blob/41fecd8658ba50ddda0a52e04c21cec5e53415ac/xarray/core/variable.py#L1232-L1237 (edit by @max-sixty ) - [x] stop supporting a list of colors in the cmap argument (dating back to at least v0.7.0): https://github.com/pydata/xarray/blob/d089df385e737f71067309ff7abae15994d581ec/xarray/plot/utils.py#L737-L745 (edit by @max-sixty ) - [x] push the removal of the compat and encoding arguments from Dataset/DataArray back to 0.14. These were only deprecated 7 months ago in https://github.com/pydata/xarray/pull/2703. (edit by @max-sixty )

Clean-ups to consider: - [x] switch the default reduction dimension of groupby and resample? (https://github.com/pydata/xarray/pull/2366) This has been giving a FutureWarning since v0.11.0, released back in November 2018. We could also potentially push this back to 0.14, but these warnings are a little annoying... - [x] deprecate auto_combine (#2616) only since 29 June 2019, so that should be pushed.

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/3280/reactions",
    "total_count": 1,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 1,
    "rocket": 0,
    "eyes": 0
}
  completed xarray 13221727 issue
324486173 MDExOlB1bGxSZXF1ZXN0MTg5MDg0MTg4 2162 Test suite: explicitly ignore irrelevant warnings shoyer 1217238 closed 0     9 2018-05-18T17:06:03Z 2018-05-29T04:34:54Z 2018-05-29T04:34:47Z MEMBER   0 pydata/xarray/pulls/2162

Includes silencing two warnings that show up in xarray's public API:

  1. Dataset.update(Dataset) #2161
  2. .equals() with scalar timedelta64/datetime64 arrays containing NaT:

``` In [1]: import numpy as np

In [2]: import xarray as xr

In [3]: array = xr.DataArray([np.datetime64('NaT')])

In [4]: array[0].equals(array[0]) /Users/shoyer/dev/xarray/xarray/core/duck_array_ops.py:148: FutureWarning: In the future, 'NAT == x' and 'x == NAT' will always be False. flag_array = (arr1 == arr2) Out[16]: True ```

Fixes #2161

  • [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/2162/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
169547144 MDU6SXNzdWUxNjk1NDcxNDQ= 946 List of projects using xarray shoyer 1217238 closed 0     9 2016-08-05T07:38:13Z 2018-05-14T21:04:31Z 2018-05-14T21:04:31Z MEMBER      

I'm particularly interested in projects that we should highlight in our docs and other publications, either as evidence of the impact of xarray or because other xarray users would find it useful to know about them. We could put together an "Xarray ecosystem" docs page like pandas.

What I have so far falls into three categories:

Tools for analyzing global climate model output with xarray: - xgcm: for analyzing general circulation model output data - oocgcm: analysis of large gridded geophysical dataset - mpas_xarray: wrapper to allow input of mpas data into xarray - marc_analysis: Analysis package for CESM/MARC experiments and output

Other weather/climate specific tools: - windspharm: wind spherical harmonics - eofs: empirical orthogonal functions - infinite-diff: xarray-based finite-differencing - aospy: Climate data analysis, database, and visualization

Non-climate: - Datashader: visualization for large data - cesium: machine learning for time series analysis - ptsa: EEG Time Series Analysis - pyGDX: GDX file data access - pycalphad: Computational Thermodynamics in Python

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/946/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed xarray 13221727 issue
217287113 MDExOlB1bGxSZXF1ZXN0MTEyNzc0NzE0 1330 If join='exact', raise an error for non-aligned objects shoyer 1217238 closed 0     9 2017-03-27T15:37:55Z 2017-05-31T01:09:14Z 2017-05-31T01:08:45Z MEMBER   0 pydata/xarray/pulls/1330

align now supports join='exact', which raises xarray.AlignmentError instead of aligning when indexes to be aligned are not equal.

This is useful for asserting that objects are identical instead of aligning in xarray operations.

For example:

ds1 = xarray.Dataset(coords={'x': [0, 1]})
ds2 = xarray.Dataset(coords={'x': [1, 2]})
xarray.merge([ds1, ds2], join='exact')
# AlignmentError: indexes along dimension 'x' are not equal
  • [x] tests added / passed
  • [x] passes git diff upstream/master | flake8 --diff
  • [x] whatsnew entry
{
    "url": "https://api.github.com/repos/pydata/xarray/issues/1330/reactions",
    "total_count": 1,
    "+1": 1,
    "-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 88.846ms · About: xarray-datasette