Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xarray.merge function and major refactor for merge logic #857

Merged
merged 9 commits into from
Jul 28, 2016

Commits on May 23, 2016

  1. 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`.
    shoyer committed May 23, 2016
    Configuration menu
    Copy the full SHA
    02b14f9 View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2016

  1. Fixes

    shoyer committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    82096c6 View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2016

  1. Configuration menu
    Copy the full SHA
    a579953 View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2016

  1. Configuration menu
    Copy the full SHA
    b5a3a25 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fb12fb3 View commit details
    Browse the repository at this point in the history
  3. Add another test

    shoyer committed Jul 25, 2016
    Configuration menu
    Copy the full SHA
    cf0c818 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    70dbad0 View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2016

  1. Configuration menu
    Copy the full SHA
    2f43956 View commit details
    Browse the repository at this point in the history
  2. Merge fix

    shoyer committed Jul 28, 2016
    Configuration menu
    Copy the full SHA
    c5997bc View commit details
    Browse the repository at this point in the history