• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pydata / xarray / 5262 / 15
96%
master: 96%

Build:
DEFAULT BRANCH: master
Ran 18 May 2018 08:31PM UTC
Files 89
Run time 5s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

18 May 2018 07:30PM UTC coverage: 94.64% (+0.01%) from 94.628%
CONDA_ENV=py36-rasterio1.0alpha

push

travis-ci

web-flow
Bug fixes for Dataset.reduce() and n-dimensional cumsum/cumprod (#2156)

* Bug fixes for Dataset.reduce() and n-dimensional cumsum/cumprod

Fixes GH1470, "Dataset.mean drops coordinates"

Fixes a bug where non-scalar data-variables that did not include the
aggregated dimension were not properly reduced:

    Previously::

        >>> ds = Dataset({'x': ('a', [2, 2]), 'y': 2, 'z': ('b', [2])})
        >>> ds.var('a')
        <xarray.Dataset>
        Dimensions:  (b: 1)
        Dimensions without coordinates: b
        Data variables:
            x        float64 0.0
            y        float64 0.0
            z        (b) int64 2

    Now::

        >>> ds.var('a')
        <xarray.Dataset>
        Dimensions:  (b: 1)
        Dimensions without coordinates: b
        Data variables:
            x        int64 0
            y        int64 0
            z        (b) int64 0

Finally, adds support for n-dimensional cumsum() and cumprod(), reducing
over all dimensions of an array. (This was necessary as part of the above fix.)

* Lint fixup

* remove confusing comments

22673 of 23957 relevant lines covered (94.64%)

0.95 hits per line

Source Files on job 5262.15 (CONDA_ENV=py36-rasterio1.0alpha)
  • Tree
  • List 0
  • Changed 7
  • Source Changed 7
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 4827
  • Travis Job 5262.15
  • c346d3b7 on github
  • Prev Job for CONDA_ENV=py36-rasterio1.0alpha on master (#5256.15)
  • Next Job for CONDA_ENV=py36-rasterio1.0alpha on master (#5270.15)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc