home / github

Menu
  • Search all tables
  • GraphQL API

issues

Table actions
  • GraphQL API for issues

10 rows where user = 1964655 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

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

type 2

  • issue 7
  • pull 3

state 1

  • closed 10

repo 1

  • xarray 10
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
200910110 MDU6SXNzdWUyMDA5MTAxMTA= 1210 Enhance setup.py metadata with extras_require ghisvail 1964655 closed 0     3 2017-01-16T00:46:07Z 2019-03-04T07:34:53Z 2019-03-04T07:34:53Z CONTRIBUTOR      

More of a suggestion than anything. It took me some time to collect all the optional dependencies xarray were potentially relying on (bottleneck, scipy, netCDF4...). Perhaps, this information could be added to the setup.py metadata inside extras_require. One that come straight to my mind is:

```python extras_require = [ 'plot': ['matplotlib'], ... ]

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/1210/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed xarray 13221727 issue
293830986 MDU6SXNzdWUyOTM4MzA5ODY= 1879 Explicit listing of optional dependencies ghisvail 1964655 closed 0     13 2018-02-02T09:52:50Z 2018-10-29T00:27:20Z 2018-10-29T00:27:20Z CONTRIBUTOR      

Could I get a list somewhere (in the README perhaps?) of all the optional dependencies for xarray, and whether they are recommended or just suggested. This would help me organize the Debian metadata for the new release.

For instance, given a feature with multiple backends, the dependencies for the preferred backend should be recommended, whilst the others should just be suggested.

Thanks,

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/1879/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed xarray 13221727 issue
220160378 MDExOlB1bGxSZXF1ZXN0MTE0Nzc3NTU4 1358 Include missing conftest.py ghisvail 1964655 closed 0   v0.9.3 2444330 8 2017-04-07T09:30:47Z 2017-04-12T22:29:34Z 2017-04-12T22:29:34Z CONTRIBUTOR   0 pydata/xarray/pulls/1358

The tests cannot be run from the release tarball without this file.

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/1358/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
221302437 MDU6SXNzdWUyMjEzMDI0Mzc= 1370 Testing fails with Pydap 3.2.1 on Debian ghisvail 1964655 closed 0     1 2017-04-12T15:32:32Z 2017-04-12T16:24:25Z 2017-04-12T16:24:25Z CONTRIBUTOR      

I have updated the Debian packaging with xarray version 0.9.2 and tried to run the tests with some of its optional dependencies enabled.

The pydap specific tests fail with the following log: ``` ============================= test session starts ============================== platform linux -- Python 3.5.3, pytest-3.0.6, py-1.4.32, pluggy-0.4.0 rootdir: /tmp/autopkgtest.tfmbWT/autopkgtest_tmp, inifile: collected 2406 items / 1 skipped

. .......................................................................................................................................................................................................................................................................................................................................................................................................................................................x.....................................XxxxxxxxxXxxxXXxXXXXXxxXxxxxxxxxxxxxxxXXXx.s.sssxs....X.X.....XX.XXX.XXXXXX...X....X.X.....XX.XXX.XXXXXX...XFFssssssssssssssssssssssssssssssssssssssssssssssssssssss...............................................................................ssss.s.s.sssssssssssssssXs..s.......................................................................................................s.........................................................s..............................................................s.......................................................................................................................................................................................................................................................................................................................................................................................................................................................................s......s......s...........................s......s......s.....................s....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................s.............................................................................................................................................................

=================================== FAILURES =================================== ___ PydapTest.testcmp_local_file _____

self = <DatasetType with children 'bears', 'order', 'shot', 'aloan', 'cross', 'i', 'j', 'l'> attr = 'iteritems'

def __getattr__(self, attr):
    """Lazy shortcut return children."""
    try:
      return self[attr]

/usr/lib/python3/dist-packages/pydap/model.py:295:


self = <DatasetType with children 'bears', 'order', 'shot', 'aloan', 'cross', 'i', 'j', 'l'> key = 'iteritems'

def __getitem__(self, key):
    key = quote(key)
  return self._dict[key]

E KeyError: 'iteritems'

/usr/lib/python3/dist-packages/pydap/model.py:326: KeyError

During handling of the above exception, another exception occurred:

self = <DatasetType with children 'bears', 'order', 'shot', 'aloan', 'cross', 'i', 'j', 'l'> attr = 'iteritems'

def __getattr__(self, attr):
    """Attribute shortcut.

        Data classes have their attributes stored in the `attributes`
        attribute, a dictionary. For convenience, access to attributes can be
        shortcut by accessing the attributes directly::

            >>> var = DapType('var')
            >>> var.attributes['foo'] = 'bar'
            >>> print(var.foo)
            bar

        This will return the value stored under `attributes`.

        """
    try:
      return self.attributes[attr]

E KeyError: 'iteritems'

/usr/lib/python3/dist-packages/pydap/model.py:180: KeyError

During handling of the above exception, another exception occurred:

self = <xarray.tests.test_backends.PydapTest testMethod=test_cmp_local_file>

def test_cmp_local_file(self):
  with self.create_datasets() as (actual, expected):

/usr/lib/python3/dist-packages/xarray/tests/test_backends.py:1341:


/usr/lib/python3.5/contextlib.py:59: in enter return next(self.gen) /usr/lib/python3/dist-packages/xarray/tests/test_backends.py:1331: in create_datasets actual = open_dataset(url, engine='pydap', **kwargs) /usr/lib/python3/dist-packages/xarray/backends/api.py:310: in open_dataset return maybe_decode_store(store, lock) /usr/lib/python3/dist-packages/xarray/backends/api.py:226: in maybe_decode_store drop_variables=drop_variables) /usr/lib/python3/dist-packages/xarray/conventions.py:942: in decode_cf vars, attrs = obj.load() /usr/lib/python3/dist-packages/xarray/backends/common.py:122: in load for k, v in self.get_variables().items()) /usr/lib/python3/dist-packages/xarray/backends/pydap_.py:73: in get_variables for k, v in self.ds.iteritems()) /usr/lib/python3/dist-packages/pydap/model.py:297: in getattr return DapType.getattr(self, attr)


self = <DatasetType with children 'bears', 'order', 'shot', 'aloan', 'cross', 'i', 'j', 'l'> attr = 'iteritems'

def __getattr__(self, attr):
    """Attribute shortcut.

        Data classes have their attributes stored in the `attributes`
        attribute, a dictionary. For convenience, access to attributes can be
        shortcut by accessing the attributes directly::

            >>> var = DapType('var')
            >>> var.attributes['foo'] = 'bar'
            >>> print(var.foo)
            bar

        This will return the value stored under `attributes`.

        """
    try:
        return self.attributes[attr]
    except (KeyError, TypeError):
        raise AttributeError(
            "'%s' object has no attribute '%s'"
          % (self.__class__, attr))

E AttributeError: '<class 'pydap.model.DatasetType'>' object has no attribute 'iteritems'

/usr/lib/python3/dist-packages/pydap/model.py:184: AttributeError _____ PydapTest.test_dask ______

self = <DatasetType with children 'bears', 'order', 'shot', 'aloan', 'cross', 'i', 'j', 'l'> attr = 'iteritems'

def __getattr__(self, attr):
    """Lazy shortcut return children."""
    try:
      return self[attr]

/usr/lib/python3/dist-packages/pydap/model.py:295:


self = <DatasetType with children 'bears', 'order', 'shot', 'aloan', 'cross', 'i', 'j', 'l'> key = 'iteritems'

def __getitem__(self, key):
    key = quote(key)
  return self._dict[key]

E KeyError: 'iteritems'

/usr/lib/python3/dist-packages/pydap/model.py:326: KeyError

During handling of the above exception, another exception occurred:

self = <DatasetType with children 'bears', 'order', 'shot', 'aloan', 'cross', 'i', 'j', 'l'> attr = 'iteritems'

def __getattr__(self, attr):
    """Attribute shortcut.

        Data classes have their attributes stored in the `attributes`
        attribute, a dictionary. For convenience, access to attributes can be
        shortcut by accessing the attributes directly::

            >>> var = DapType('var')
            >>> var.attributes['foo'] = 'bar'
            >>> print(var.foo)
            bar

        This will return the value stored under `attributes`.

        """
    try:
      return self.attributes[attr]

E KeyError: 'iteritems'

/usr/lib/python3/dist-packages/pydap/model.py:180: KeyError

During handling of the above exception, another exception occurred:

self = <xarray.tests.test_backends.PydapTest testMethod=test_dask>

@requires_dask
def test_dask(self):
  with self.create_datasets(chunks={'j': 2}) as (actual, expected):

/usr/lib/python3/dist-packages/xarray/tests/test_backends.py:1361:


/usr/lib/python3.5/contextlib.py:59: in enter return next(self.gen) /usr/lib/python3/dist-packages/xarray/tests/test_backends.py:1331: in create_datasets actual = open_dataset(url, engine='pydap', **kwargs) /usr/lib/python3/dist-packages/xarray/backends/api.py:310: in open_dataset return maybe_decode_store(store, lock) /usr/lib/python3/dist-packages/xarray/backends/api.py:226: in maybe_decode_store drop_variables=drop_variables) /usr/lib/python3/dist-packages/xarray/conventions.py:942: in decode_cf vars, attrs = obj.load() /usr/lib/python3/dist-packages/xarray/backends/common.py:122: in load for k, v in self.get_variables().items()) /usr/lib/python3/dist-packages/xarray/backends/pydap_.py:73: in get_variables for k, v in self.ds.iteritems()) /usr/lib/python3/dist-packages/pydap/model.py:297: in getattr return DapType.getattr(self, attr)


self = <DatasetType with children 'bears', 'order', 'shot', 'aloan', 'cross', 'i', 'j', 'l'> attr = 'iteritems'

def __getattr__(self, attr):
    """Attribute shortcut.

        Data classes have their attributes stored in the `attributes`
        attribute, a dictionary. For convenience, access to attributes can be
        shortcut by accessing the attributes directly::

            >>> var = DapType('var')
            >>> var.attributes['foo'] = 'bar'
            >>> print(var.foo)
            bar

        This will return the value stored under `attributes`.

        """
    try:
        return self.attributes[attr]
    except (KeyError, TypeError):
        raise AttributeError(
            "'%s' object has no attribute '%s'"
          % (self.__class__, attr))

E AttributeError: '<class 'pydap.model.DatasetType'>' object has no attribute 'iteritems'

/usr/lib/python3/dist-packages/pydap/model.py:184: AttributeError = 2 failed, 2238 passed, 94 skipped, 31 xfailed, 42 xpassed in 119.28 seconds == ```

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/1370/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed xarray 13221727 issue
206137485 MDU6SXNzdWUyMDYxMzc0ODU= 1254 Provide more detailed copyright information ghisvail 1964655 closed 0     8 2017-02-08T09:17:25Z 2017-03-11T23:28:38Z 2017-03-11T23:28:38Z CONTRIBUTOR      

So far, copyright information is summarized in the README as: xarray includes portions of pandas, NumPy, Seaborn and Python itself. These licenses are included in the licenses directory. Please consider providing more detailed information about what is covered by what in the code base. The Apache license states this information must be recorded in an additional NOTICE file alongside the existing LICENSE file.

That will also help me with the Debian packaging, since I need an accurate record of all copyrighted materials present in the code.

Thanks, Ghis

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/1254/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed xarray 13221727 issue
209581495 MDU6SXNzdWUyMDk1ODE0OTU= 1283 Spurious .DS_Store files in PyPI tarball ghisvail 1964655 closed 0     3 2017-02-22T21:08:35Z 2017-02-23T03:31:20Z 2017-02-22T21:47:33Z CONTRIBUTOR      

Please make sure that future release tarballs on PyPI are free from undesirable files.

In xarray-0.9.1.tar.gz: shell find . -name .DS_Store ./doc/.DS_Store ./doc/examples/.DS_Store ./doc/_static/.DS_Store

Cheers, Ghis

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/1283/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed xarray 13221727 issue
209583236 MDExOlB1bGxSZXF1ZXN0MTA3NDk5Njk1 1284 Exclude .DS_Store files from the release tarball ghisvail 1964655 closed 0     1 2017-02-22T21:15:14Z 2017-02-22T21:47:35Z 2017-02-22T21:47:33Z CONTRIBUTOR   0 pydata/xarray/pulls/1284

Closes #1283

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/1284/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
200908727 MDU6SXNzdWUyMDA5MDg3Mjc= 1208 Test failures on Debian if built with bottleneck ghisvail 1964655 closed 0     14 2017-01-16T00:21:38Z 2017-01-29T23:56:04Z 2017-01-29T23:31:29Z CONTRIBUTOR      

On my attempt to package xarray for Debian, I encountered the following issue whereby the package build process (which sequentially runs build, test, install for all supported Python versions) would succeed if the bottleneck build dependency is omitted, but fail at the test stage otherwise. The version of bottleneck currently available in Debian is 1.2.0. The log from pytest is pasted below:

``` =================================== FAILURES =================================== ___ TestDataArray.test_groupby_apply_center ______

self = <xarray.test.test_dataarray.TestDataArray testMethod=test_groupby_apply_center>

def test_groupby_apply_center(self):
    def center(x):
        return x - np.mean(x)

    array = self.make_groupby_example_array()
    grouped = array.groupby('abc')

    expected_ds = array.to_dataset()
    exp_data = np.hstack([center(self.x[:, :9]),
                          center(self.x[:, 9:10]),
                          center(self.x[:, 10:])])
    expected_ds['foo'] = (['x', 'y'], exp_data)
    expected_centered = expected_ds['foo']
  self.assertDataArrayAllClose(expected_centered, grouped.apply(center))

xarray/test/test_dataarray.py:1481:


xarray/test/init.py:197: in assertDataArrayAllClose assert_xarray_allclose(ar1, ar2, rtol=rtol, atol=atol) xarray/test/init.py:235: in assert_xarray_allclose assert_xarray_allclose(a.variable, b.variable)


a = <xarray.Variable (x: 10, y: 20)> array([[ 0.09890759, 0.25838611, -0.45524894...108, -0.4202902 , -0.3395864 , -0.15065542, -0.03596724, -0.44654371]]) b = <xarray.Variable (x: 10, y: 20)> array([[ 0.09890759, 0.25838611, -0.45524894...108, -0.4202902 , -0.3395864 , -0.15065542, -0.03596724, -0.44654371]]) rtol = 1e-05, atol = 1e-08

def assert_xarray_allclose(a, b, rtol=1e-05, atol=1e-08):
    import xarray as xr
    ___tracebackhide__ = True  # noqa: F841
    assert type(a) == type(b)
    if isinstance(a, xr.Variable):
        assert a.dims == b.dims
        allclose = data_allclose_or_equiv(
            a.values, b.values, rtol=rtol, atol=atol)
      assert allclose, '{}\n{}'.format(a.values, b.values)

E AssertionError: [[ 0.09890759 0.25838611 -0.45524894 0.19438977 0.33283847 -0.43268996 E -0.48217406 0.19246675 -0.35439804 0.11269385 -0.41444651 -0.48431908 E -0.39910098 0.49254261 -0.30480298 -0.32417743 -0.07204188 0.2693067 E 0.26276671 0.33348262] E [-0.34499113 0.46303903 -0.35713035 0.15563781 -0.01807461 0.08631493 E -0.17055826 0.12467856 0.02713384 -0.3631607 -0.37158371 0.30343557 E -0.19175157 0.19976175 -0.36999787 -0.30401142 -0.48258481 -0.34936509 E 0.19736374 -0.09867697] E [ 0.09397107 0.20609742 -0.0663552 -0.19143598 0.01839407 0.34196996 E -0.14854474 0.31282176 0.00777962 0.10738644 0.37057503 -0.15718542 E 0.04364944 -0.06578303 -0.23842453 0.34648799 0.49288676 0.41277933 E 0.50145361 -0.3835484 ] E [-0.21291174 -0.45514573 0.12111804 -0.28319255 0.32380163 -0.3474909 E 0.23764942 -0.39402155 0.08587823 0.40455906 0.21993109 -0.48659786 E 0.34223771 -0.46998904 0.3689656 0.27974461 -0.00213432 -0.29371619 E 0.39490332 0.2572515 ] E [ 0.0058088 -0.10393215 0.39392373 0.26350055 -0.49707502 -0.23407721 E 0.06441153 0.09532245 0.26361004 0.24034371 -0.46882038 0.49472167 E -0.31433938 0.26932964 -0.00890849 -0.40142042 0.03952812 0.17389542 E -0.25081914 0.45069667] E [ 0.21532826 -0.05997302 0.02021198 0.48875992 -0.0297901 -0.17712176 E -0.44359239 0.2964151 -0.30089817 -0.22969758 0.03411299 0.280227 E -0.24713806 -0.10428751 0.23407841 0.39648906 -0.10151348 0.50768613 E 0.44325196 -0.10753505] E [-0.25493908 0.12975219 -0.24043256 0.15334854 0.44570823 0.12942852 E -0.25521364 0.07838812 -0.3195924 0.08087772 -0.27026464 0.31757927 E 0.00234494 0.23580586 0.47520352 -0.43470572 -0.37470029 0.31202043 E -0.09424153 -0.17970934] E [ 0.37067661 0.38608375 0.38549098 -0.33920416 0.35198984 0.16994992 E 0.22551435 0.32186772 0.19998808 -0.01718303 0.42852689 -0.31499095 E -0.42404301 -0.16993069 0.44848428 -0.24842595 0.45198088 0.04095394 E -0.42434055 0.08295308] E [-0.062468 -0.31612011 0.46015728 0.01154732 0.07488519 0.18989284 E -0.27148594 0.26888518 -0.35489493 -0.02320481 0.23154296 0.3228651 E 0.21833924 0.32340958 -0.12142829 -0.08212185 0.00699867 -0.10949993 E -0.07059468 -0.0616217 ] E [ 0.33549783 -0.42434389 -0.45991471 0.09982218 0.32355871 -0.36587924 E -0.12447734 -0.23565156 -0.31755871 -0.31261466 -0.4069172 0.42464878 E -0.42271043 -0.25510055 0.39021108 -0.4202902 -0.3395864 -0.15065542 E -0.03596724 -0.44654371]] E [[ 0.09890759 0.25838611 -0.45524894 0.19438977 0.33283847 -0.43268996 E -0.48217406 0.19246675 -0.35439804 0.47884013 -0.41444651 -0.48431908 E -0.39910098 0.49254261 -0.30480298 -0.32417743 -0.07204188 0.2693067 E 0.26276671 0.33348262] E [-0.34499113 0.46303903 -0.35713035 0.15563781 -0.01807461 0.08631493 E -0.17055826 0.12467856 0.02713384 0.00298558 -0.37158371 0.30343557 E -0.19175157 0.19976175 -0.36999787 -0.30401142 -0.48258481 -0.34936509 E 0.19736374 -0.09867697] E [ 0.09397107 0.20609742 -0.0663552 -0.19143598 0.01839407 0.34196996 E -0.14854474 0.31282176 0.00777962 0.47353272 0.37057503 -0.15718542 E 0.04364944 -0.06578303 -0.23842453 0.34648799 0.49288676 0.41277933 E 0.50145361 -0.3835484 ] E [-0.21291174 -0.45514573 0.12111804 -0.28319255 0.32380163 -0.3474909 E 0.23764942 -0.39402155 0.08587823 0.77070534 0.21993109 -0.48659786 E 0.34223771 -0.46998904 0.3689656 0.27974461 -0.00213432 -0.29371619 E 0.39490332 0.2572515 ] E [ 0.0058088 -0.10393215 0.39392373 0.26350055 -0.49707502 -0.23407721 E 0.06441153 0.09532245 0.26361004 0.60649 -0.46882038 0.49472167 E -0.31433938 0.26932964 -0.00890849 -0.40142042 0.03952812 0.17389542 E -0.25081914 0.45069667] E [ 0.21532826 -0.05997302 0.02021198 0.48875992 -0.0297901 -0.17712176 E -0.44359239 0.2964151 -0.30089817 0.13644871 0.03411299 0.280227 E -0.24713806 -0.10428751 0.23407841 0.39648906 -0.10151348 0.50768613 E 0.44325196 -0.10753505] E [-0.25493908 0.12975219 -0.24043256 0.15334854 0.44570823 0.12942852 E -0.25521364 0.07838812 -0.3195924 0.447024 -0.27026464 0.31757927 E 0.00234494 0.23580586 0.47520352 -0.43470572 -0.37470029 0.31202043 E -0.09424153 -0.17970934] E [ 0.37067661 0.38608375 0.38549098 -0.33920416 0.35198984 0.16994992 E 0.22551435 0.32186772 0.19998808 0.34896325 0.42852689 -0.31499095 E -0.42404301 -0.16993069 0.44848428 -0.24842595 0.45198088 0.04095394 E -0.42434055 0.08295308] E [-0.062468 -0.31612011 0.46015728 0.01154732 0.07488519 0.18989284 E -0.27148594 0.26888518 -0.35489493 0.34294147 0.23154296 0.3228651 E 0.21833924 0.32340958 -0.12142829 -0.08212185 0.00699867 -0.10949993 E -0.07059468 -0.0616217 ] E [ 0.33549783 -0.42434389 -0.45991471 0.09982218 0.32355871 -0.36587924 E -0.12447734 -0.23565156 -0.31755871 0.05353162 -0.4069172 0.42464878 E -0.42271043 -0.25510055 0.39021108 -0.4202902 -0.3395864 -0.15065542 E -0.03596724 -0.44654371]]

xarray/test/init.py:233: AssertionError _____ TestDataArray.test_groupby_math ______

self = <xarray.test.test_dataarray.TestDataArray testMethod=test_groupby_math>

def test_groupby_math(self):
    array = self.make_groupby_example_array()
    for squeeze in [True, False]:
        grouped = array.groupby('x', squeeze=squeeze)

        expected = array + array.coords['x']
        actual = grouped + array.coords['x']
        self.assertDataArrayIdentical(expected, actual)

        actual = array.coords['x'] + grouped
        self.assertDataArrayIdentical(expected, actual)

        ds = array.coords['x'].to_dataset('X')
        expected = array + ds
        actual = grouped + ds
        self.assertDatasetIdentical(expected, actual)

        actual = ds + grouped
        self.assertDatasetIdentical(expected, actual)

    grouped = array.groupby('abc')
    expected_agg = (grouped.mean() - np.arange(3)).rename(None)
    actual = grouped - DataArray(range(3), [('abc', ['a', 'b', 'c'])])
    actual_agg = actual.groupby('abc').mean()
  self.assertDataArrayAllClose(expected_agg, actual_agg)

xarray/test/test_dataarray.py:1527:


xarray/test/init.py:197: in assertDataArrayAllClose assert_xarray_allclose(ar1, ar2, rtol=rtol, atol=atol) xarray/test/init.py:235: in assert_xarray_allclose assert_xarray_allclose(a.variable, b.variable)


a = <xarray.Variable (abc: 3)> array([ 4.66319277e-001, -4.76053212e-001, 1.49956297e+247]) b = <xarray.Variable (abc: 3)> array([ 4.66319277e-01, -4.76053212e-01, -9.90547784e+75]) rtol = 1e-05, atol = 1e-08

def assert_xarray_allclose(a, b, rtol=1e-05, atol=1e-08):
    import xarray as xr
    ___tracebackhide__ = True  # noqa: F841
    assert type(a) == type(b)
    if isinstance(a, xr.Variable):
        assert a.dims == b.dims
        allclose = data_allclose_or_equiv(
            a.values, b.values, rtol=rtol, atol=atol)
      assert allclose, '{}\n{}'.format(a.values, b.values)

E AssertionError: [ 4.66319277e-001 -4.76053212e-001 1.49956297e+247] E [ 4.66319277e-01 -4.76053212e-01 -9.90547784e+75]

xarray/test/init.py:233: AssertionError ----------------------------- Captured stderr call ----------------------------- /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/xarray/test/test_dataarray.py:1515: FutureWarning: the order of the arguments on DataArray.to_dataset has changed; you now need to supply name as a keyword argument ds = array.coords['x'].to_dataset('X') ___ TestDataArray.testgroupby_sum ____

self = <xarray.test.test_dataarray.TestDataArray testMethod=test_groupby_sum>

def test_groupby_sum(self):
    array = self.make_groupby_example_array()
    grouped = array.groupby('abc')

    expected_sum_all = Dataset(
        {'foo': Variable(['abc'], np.array([self.x[:, :9].sum(),
                                            self.x[:, 10:].sum(),
                                            self.x[:, 9:10].sum()]).T),
         'abc': Variable(['abc'], np.array(['a', 'b', 'c']))})['foo']
    self.assertDataArrayAllClose(expected_sum_all, grouped.reduce(np.sum))
  self.assertDataArrayAllClose(expected_sum_all, grouped.sum())

xarray/test/test_dataarray.py:1426:


xarray/test/init.py:197: in assertDataArrayAllClose assert_xarray_allclose(ar1, ar2, rtol=rtol, atol=atol) xarray/test/init.py:235: in assert_xarray_allclose assert_xarray_allclose(a.variable, b.variable)


a = <xarray.Variable (abc: 3)> array([ 45.64328315, 47.37700685, 5.99867891]) b = <xarray.Variable (abc: 3)> array([ 4.56432831e+001, 4.73770068e+001, 1.49956297e+248]) rtol = 1e-05, atol = 1e-08

def assert_xarray_allclose(a, b, rtol=1e-05, atol=1e-08):
    import xarray as xr
    ___tracebackhide__ = True  # noqa: F841
    assert type(a) == type(b)
    if isinstance(a, xr.Variable):
        assert a.dims == b.dims
        allclose = data_allclose_or_equiv(
            a.values, b.values, rtol=rtol, atol=atol)
      assert allclose, '{}\n{}'.format(a.values, b.values)

E AssertionError: [ 45.64328315 47.37700685 5.99867891] E [ 4.56432831e+001 4.73770068e+001 1.49956297e+248]

xarray/test/init.py:233: AssertionError ============= 3 failed, 1149 passed, 340 skipped in 39.32 seconds ============== ```

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/1208/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed xarray 13221727 issue
200909658 MDU6SXNzdWUyMDA5MDk2NTg= 1209 Consider adding the docs to the distributed tarball ghisvail 1964655 closed 0     2 2017-01-16T00:37:52Z 2017-01-19T05:14:01Z 2017-01-19T05:14:01Z CONTRIBUTOR      

Linux distributions such as Debian usually source upstream Python code from PyPI. In order to produce the accompanying documentation package, I would need the source of the documentation to be distributed in future uploaded tarballs. To achieve this, please consider adding a recursive-include docs * entry to the MANIFEST.in file of the project.

Thanks, Ghis

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/1209/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed xarray 13221727 issue
201025804 MDExOlB1bGxSZXF1ZXN0MTAxNjk0OTk2 1212 Add docs to generated tarball ghisvail 1964655 closed 0     1 2017-01-16T13:58:33Z 2017-01-17T00:31:46Z 2017-01-17T00:31:46Z CONTRIBUTOR   0 pydata/xarray/pulls/1212

Closes #1209

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