sha,message,author_date,committer_date,raw_author,raw_committer,repo,author,committer 5c674e6212ed5a5daeb3f289f023d6abc48417ae,"Fix pint integration tests (#3600) * don't use the index to construct the condition array * use drop_vars to drop variables and coordinates * update the xfail reason for astype and item * remove the xfails due to np.result_type not being implemented * make array_extract_units a bit more robust * add the missing dataset apply_ufunc test * use None as the dict key for quantities * convert to variable to avoid the merge / assign_coords issue relevant issue: #3483 * update the align tests * fix the bugs introduced by converting to variables * update a few more tests * update the aggregation tests * update a few more tests * don't test rank which was deprecated in numpy 1.9 * update the DataArray.fillna tests * update most of the remaining DataArray tests * remove a debug assert * fix the broadcast_equals tests * update the indexing tests * update the tests depending on einsum * update the squeeze tests * fix a bug in the head / tail / thin test design * use dictionaries to index in the loc tests * update the expected unit of the computation tests * update the grouped operations tests * update the where tests * update most of the remaining dataset tests * create new tests for drop_sel * final batch of updated tests * rename result to actual to match the other test files * fix some more test bugs * update the xfail marks",2019-12-09T10:25:51Z,2019-12-09T10:25:51Z,458e78ccf9cedef997b218d835348005d70e25c2,279c587273ec459ffb5192e60bf8447c05601fa5,13221727,14808389,5635139 ed05f9862622b00f40f7b9b99ccdb0ab3766ff0f,"Resolve the version issues on RTD (#3589) * add the project root to PYTHONPATH and sys.path * don't install the package * update the requirements for the documentation environment so we definitely trigger the version collision. * comment on the reasons for the sys.path and os.environ modifications",2019-12-03T18:59:40Z,2019-12-03T18:59:40Z,458e78ccf9cedef997b218d835348005d70e25c2,279c587273ec459ffb5192e60bf8447c05601fa5,13221727,14808389,5635139 1e0f108f630e5c43de6c125c5d738a2a0f4a8282,update whats-new.rst (#3581),2019-11-28T17:19:04Z,2019-11-28T17:19:04Z,458e78ccf9cedef997b218d835348005d70e25c2,279c587273ec459ffb5192e60bf8447c05601fa5,13221727,14808389,5635139 be2ff9d2a756e50bcdf39484d527a8a91348621a,"Examples for quantile (#3576) * add examples for Dataset.quantile * add examples for DataArray.quantile * add examples for GroupBy.quantile * rename the example sections",2019-11-28T03:58:06Z,2019-11-28T03:58:06Z,458e78ccf9cedef997b218d835348005d70e25c2,279c587273ec459ffb5192e60bf8447c05601fa5,13221727,14808389,5635139 4358762d7ccf0d81dfbbc37d9c0665d53fe9c426,"Tests for module-level functions with units (#3493) * add tests for replication functions * add tests for `xarray.dot` * add tests for apply_ufunc * explicitly set the test ids to repr * add tests for align * cover a bit more of align * add tests for broadcast * black changed how tuple unpacking should look like * correct the xfail message for full_like tests * add tests for where * add tests for concat * add tests for combine_by_coords * fix a bug in convert_units * convert the align results to the same units * rename the combine_by_coords test * convert the units for expected in combine_by_coords * add tests for combine_nested * add tests for merge with datasets * only use three datasets for merging * add tests for merge with dataarrays * update whats-new.rst",2019-11-14T01:24:07Z,2019-11-14T01:24:07Z,458e78ccf9cedef997b218d835348005d70e25c2,279c587273ec459ffb5192e60bf8447c05601fa5,13221727,14808389,5635139 4e9240a2087ffbf119919e1ac98046bbf164f94d,"add missing pint integration tests (#3508) * add tests for broadcast_like * add tests for DataArray head / tail / thin * update whats-new.rst",2019-11-10T23:41:51Z,2019-11-10T23:41:51Z,458e78ccf9cedef997b218d835348005d70e25c2,279c587273ec459ffb5192e60bf8447c05601fa5,13221727,14808389,5635139 ffc32755ca98d11208b6403d424ebcc2ba5bc4fa,"tests for datasets with units (#3447) * start writing the tests for dataset * add tests for initializing Datasets * add tests for aggregation methods / functions * add tests for the ndarray methods / properties * add tests for missing value handling methods * add tests for comparison methods * add tests for reordering / stacking the test for to_stacked_array seems a bit brittle * add tests for indexing methods * remove the commented out xfail on Dataset.squeeze * add tests for head, tail and thin * add tests for the computation methods * add tests for grouped operations * add tests for the content manipulation methods * fix reindex_like to actually expect errors where appropriate * use DataArray.copy to replicate a DataArray with different data * add tests for repr / str * remove the comment about moving the merge tests * construct a new data array instead of using `copy` which in combination with `assign_coords` make preserving `MultiIndex` instances much more complicated. * update whats-new.rst",2019-11-09T04:21:26Z,2019-11-09T04:21:26Z,458e78ccf9cedef997b218d835348005d70e25c2,279c587273ec459ffb5192e60bf8447c05601fa5,13221727,14808389,5635139 c0af5e7bdca537038a68d660a3d8320d6b0c9592,"Fix integrate docs (#3469) * rename the coord parameter of `Dataset.integrate` * add an example to `Dataset.integrate` * refer to an actual parameter in the note * don't just make y the same as x with an offset so now the results are different depending on integration with x or y * show the repr of the example dataset * update whats-new.rst",2019-10-30T17:46:33Z,2019-10-30T17:46:33Z,458e78ccf9cedef997b218d835348005d70e25c2,279c587273ec459ffb5192e60bf8447c05601fa5,13221727,14808389,5635139 55b1ac0c80bb3c9f1f239106849bf0713905b2cf,"tests for arrays with units (#3238) * create the empty test file * add tests for data array aggregation functions * include pint in the ci * ignore missing type annotations for pint * really skip the tests if pint is not available * remove the reason from the importorskip call * test that the dataarray constructor does not strip the unit * convert every unit stripped warning to an error * work around pint not implementing np.allclose yet * remove the now unnecessary filterwarnings decorator * xfail all tests that depend on pint having a __array_function__ * treat nans as equal * implement tests for simple arithmetic operations * use param's id argument to assign readable names * add tests for sel() and isel() * add more readable names for the unary arithmetics * xfail every test that is not yet xfailing These don't pass because the constructor raises a unit stripped warning - fixed in pint#764. * only xfail if pint is not the current development version This is test is not really reliable, but sufficient for now. * always use lists instead of tuples for indexing * add tests for loc and squeeze * black * add names and xfail marks to the parameters * add tests for interp and interp_like * implement tests for reindex * remove the xfail marks where it is not clear yet that pint is to blame * add tests for reindex_like * don't pass the new DataArray to a kwarg * xfail if not on pint dev * refactor the tests * add tests for univariate and bivariate ufuncs * black * xfail aggregation only if pint does not implement __array_function__ yet * remove the global filterwarnings mark apparently, this caused the tests to change behavior, resulting in different errors, or causing tests to pass that should actually fail. * add a test case for the repr * create a pytest mark that explicitly requires pint's __array_function__ * also check the string representation in addition to the repr * add helpers for creating method tests * check that simple aggregation methods work * use format() instead of format strings * make sure the repr of method calls is different from functions * merge the two aggregation tests * explicitly check whether pint supports __array_function__ relying on versions is somewhat fragile. * provide a fallback for the new base quantity * check that no warning is raised for both with and without coords * also check that the repr works both with and without coords * wrap all aggregation function calls * xfail every call that fails because of something outside xarray * xfail tests related to dimension coordinates and indexes * use the dimensions from the original array * allow passing arguments to the method on call * add tests for comparisons * add tests for detecting, filling and dropping missing values * mark the missing value tests as requiring pint to support duck arrays * add tests for isin, where and interpolate_na * reformat unit ids and add a test parameter for compatible units * remove an unnecessary xfail * add tests for the top-level replication functions (*_like) * check for whatever pint does with *_like functions * add tests for combine_first * xfail the bivariate ufunc tests * xfail the call to np.median * move the top-level function tests out of the DataArray namespace class * add cumsum and cumprod to the list of aggregation functions * add tests for the numpy methods * check for equal units directly after checking the magnitude * add tests for content manipulation methods * add tests for comparing DataArrays (equals, indentical) * add a test for broadcast_equals * refactor the comparison operation tests * rewrite the strip, attach and assert_equal functions and add extract * preserve multiindex in strip and attach * attach the unit from element ""data"" as fallback * fix some small typos * compare QuantityScalar and QuantitySequence based on their values * make the isel test more robust * add tests for reshaping and reordering * unify the structure of the tests * mark the remaining tests as requiring a recent pint version, too * explicitly handle quantities as parameters * change the repr of the function / method wrappers * check whether __init__ and repr / str handle units in data and coords * generalize array_attach_units * move the redefinition of DimensionalityError * identify quantities using isinstance * typo * skip tests with a pint version without __array_function__ * compare DataArrays where possible * mark only the compatible unit as xfailing * preserve the name of data arrays * also attach units to x_mm * Test in more CI environments; documentation * What's New * remove a stale function * use Quantity directly for instance tests * explicitly set roll_coords to silence a deprecation warning * skip the whole module if pint does not implement __array_function__ the advantage is that now forgetting to decorate a test case is not possible. * allow to attach units using the mapping from extract_units * add tests for computation methods resampling fails until I figure out how to use it with non-datetime coords. * add tests for grouped operations * add a test for rolling_exp * add a todo note for the module level skip on __array_function__ * add a test for dot * use attach_units instead of manually attaching * modify the resample test to actually work * add a test for to_unstacked_dataset * update whats-new.rst and installing.rst * reformat the whats-new.rst entry * What's New",2019-10-17T03:13:39Z,2019-10-17T03:13:39Z,458e78ccf9cedef997b218d835348005d70e25c2,279c587273ec459ffb5192e60bf8447c05601fa5,13221727,14808389,5635139 a5fe56a081ef59a7fffd1408bb18df2c9dfb4d1e,"Improve the documentation of swap_dims (#3331) * add an example to DataArray.swap_dims (and fix the documented return type) * add an example to Dataset.swap_dims * fix some errors in the swapped array's repr * remove a newline * mention changes in whatsnew",2019-09-22T16:30:24Z,2019-09-22T16:30:24Z,458e78ccf9cedef997b218d835348005d70e25c2,279c587273ec459ffb5192e60bf8447c05601fa5,13221727,14808389,5635139