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

pydata / xarray / 2180
96%

Build:
DEFAULT BRANCH: master
Ran 28 Jul 2016 03:21AM UTC
Jobs 7
Files 40
Run time 10min
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

pending completion
2180

push

travis-ci

web-flow
xarray.merge function and major refactor for merge logic (#857)

* xarray.merge function

Fixes GH417

New top level :py:func:`merge` function allows for combining variables from
any number of ``Dataset`` and/or ``DataArray`` variables.

Example usage:

    >>> arrays = [xr.DataArray(n, name='var%d' % n) for n in range(5)]
    >>> xr.merge(arrays)
    <xarray.Dataset>
    Dimensions:  ()
    Coordinates:
        *empty*
    Data variables:
        var0     int64 0
        var1     int64 1
        var2     int64 2
        var3     int64 3
        var4     int64 4

The internal refactoring also lays the ground work for supporting ufunc-like
functions that merge three or more arguments, such as the full form of
`where`.

* Fixes

* Add tests for _consolidate_slices

* Add another test

* Merge fix

348 of 348 new or added lines in 8 files covered. (100.0%)

5478 of 5691 relevant lines covered (96.26%)

5.73 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
xarray/core/alignment.py
3
100.0
xarray/core/coordinates.py
12
100.0
xarray/core/merge.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
xarray/core/utils.py
2
100.0
xarray/core/ops.py
3
100.0
xarray/core/dataset.py
Jobs
ID Job ID Ran Files Coverage
1 2180.1 (CONDA_ENV=py27-min) 28 Jul 2016 03:21AM UTC 0
75.36
Travis Job 2180.1
2 2180.2 (CONDA_ENV=py27-cdat+pynio) 28 Jul 2016 03:23AM UTC 0
83.48
Travis Job 2180.2
3 2180.3 (CONDA_ENV=py33) 28 Jul 2016 03:25AM UTC 0
75.26
Travis Job 2180.3
4 2180.4 (CONDA_ENV=py34) 28 Jul 2016 03:26AM UTC 0
75.7
Travis Job 2180.4
5 2180.5 (CONDA_ENV=py35) 28 Jul 2016 03:31AM UTC 0
93.97
Travis Job 2180.5
6 2180.6 (CONDA_ENV=py27-pydap) 28 Jul 2016 03:29AM UTC 0
86.63
Travis Job 2180.6
8 2180.8 (CONDA_ENV=py35-dask-dev) 28 Jul 2016 03:31AM UTC 0
82.43
Travis Job 2180.8
Source Files on build 2180
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2180
  • 6aedf988 on github
  • Prev Build on master (#2175)
  • Next Build on master (#2183)
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