sha,message,author_date,committer_date,raw_author,raw_committer,repo,author,committer 5c97641dd129a9dcc4346a137bcf32a5a982d37a,"ENH: enable `H5NetCDFStore` to work with already open h5netcdf.File a… (#3618) * ENH: enable `H5NetCDFStore` to work with already open h5netcdf.File and h5netcdf.Group objects, add test * FIX: add `.open` method for file-like objects * FIX: reformat using black * WIP: add item to whats-new.rst * FIX: temporary fix to tackle issue #3680 * FIX: do not use private API, use find_root_and_group instead * FIX: reformat using black",2020-01-20T05:46:13Z,2020-01-20T05:46:13Z,b1298f176a5cd512085eefae3e16f385bfba2d2a,f10b21bed2846b879806f87039b77245b18e7671,13221727,5821660,1217238 ff6051de5fa61f1e371dea1eaba8edd09288b8d1,"Add drop to api.rst under pending deprecations (#3561) * Add drop to api.rst under pending deprecations * typo",2019-11-24T19:31:22Z,2019-11-24T19:31:22Z,279c587273ec459ffb5192e60bf8447c05601fa5,f10b21bed2846b879806f87039b77245b18e7671,13221727,5635139,1217238 220adbc65e0b8c46feddaa6984df4a3a1ce0af6b,"sparse option to reindex and unstack (#3542) * Added fill_value for unstack * remove sparse option and fix unintended changes * a bug fix * Added sparse option to unstack and reindex * black * More tests * black * Remove sparse option from reindex * try __array_function__ where * flake8",2019-11-19T16:23:33Z,2019-11-19T16:23:33Z,caabe6633d9bef7f2f52807cc5a1f477f3a077d4,f10b21bed2846b879806f87039b77245b18e7671,13221727,6815844,1217238 810345c4564a2bc15bf1b4c7ba4c4840238f1e82,"FUNDING.yml (#3523) add NumFOCUS github sponsors button (recurring donations only) This feature launched today at GitHub Universe! Also add the custom link to point to the donation form for xarray. cc @shoyer",2019-11-13T20:18:14Z,2019-11-13T20:18:14Z,8fcbbd6168ec6cd02ab976b994341b8bb1660386,b3ac90e3a22acc66f9f523cc0d3c7e3fa6df7833,13221727,7980466,1217238 b74f80ca2df4920f711f9fe5762458c53ce3c2c6,format indexing.rst code with black (#3511),2019-11-12T04:31:38Z,2019-11-12T04:31:38Z,279c587273ec459ffb5192e60bf8447c05601fa5,f10b21bed2846b879806f87039b77245b18e7671,13221727,5635139,1217238 bb0a5a2b1c71f7c2622543406ccc82ddbb290ece,"Escaping dtypes (#3444) * Escaping dtypes * Reformatting",2019-10-24T21:50:19Z,2019-10-24T21:50:19Z,c68162e72020e3cef0a61930254687f7ffced922,f10b21bed2846b879806f87039b77245b18e7671,13221727,4806877,1217238 c8dac5866d2c54ee6b262b5060a701e0be1e40cb,"MAGA (Make Azure Green Again) (#3436) * Support for patch version in min_deps_check.py * Fix requirements * Fix requirements * cftime is 1.0.4 incompatible * Use cftime PR#127 * trivial * trivial",2019-10-23T01:06:09Z,2019-10-23T01:06:09Z,2ff6d9e74ee03928d143f0bb1557924a28d3b23d,f10b21bed2846b879806f87039b77245b18e7671,13221727,6213168,1217238 6ece6a1cf424c3080e216fad8fc8058d3b70aadc,"Fix DataArray.to_netcdf type annotation (#3325) It calls DataSet.to_netcdf, which returns Union[bytes, ""Delayed"", None]. So this should as well.",2019-09-27T05:45:26Z,2019-09-27T05:45:26Z,cf6475991c703b0f7d4b4dc56d6526a6587cea20,f10b21bed2846b879806f87039b77245b18e7671,13221727,,1217238 b65ce8666020ba3a0300154655d2e5c05884d73b,"Honor `keep_attrs` in DataArray.quantile (#3305) * Added `keep_attrs` argument to Variable.quantile. TestDataArray.test_quantile now checks for attributes in output. * black * updated whats new. * removed vestigial comment. Switched default Variable.quantile keep_attrs to False.",2019-09-15T22:16:15Z,2019-09-15T22:16:15Z,5af532972f5310a40c7ae1e15951da62a431d6b6,f10b21bed2846b879806f87039b77245b18e7671,13221727,81219,1217238 7fb3b19d47e81afc5f7ff8506f1daeb3906b0fae,"Accept int value in head, thin and tail (#3298) * Accept int value in head, thin and tail * Fix typing * Remove thin def val and add suggestions * Fix typing and change raise message",2019-09-14T21:46:15Z,2019-09-14T21:46:15Z,07354799b3d1efde7621fcd783157c7e32436919,f10b21bed2846b879806f87039b77245b18e7671,13221727,23618263,1217238 e90e8bc06cf8e7c97c7dc4c0e8ff1bf87c49faf6,"ignore h5py 2.10.0 warnings and fix invalid_netcdf warning test. (#3301) * ignore h5py 2.10.0 warnings and fix invalid_netcdf warning test. * Better fix. * fix fix. * remove comment. * Add docs. * Revert ""Add docs."" This reverts commit 14ae0b1153f56144c7a90966512f0a156355cf25.",2019-09-13T15:39:40Z,2019-09-13T15:39:40Z,0c7e9e762dbfd6554e60c953bf27493047d95109,f10b21bed2846b879806f87039b77245b18e7671,13221727,2448579,1217238 d1260443d065c3f2ec3f8eb3d999c59a695b35a2,"Remove some deprecations (#3292) * remove some deprecations * whatsnew",2019-09-08T22:58:15Z,2019-09-08T22:58:15Z,279c587273ec459ffb5192e60bf8447c05601fa5,f10b21bed2846b879806f87039b77245b18e7671,13221727,5635139,1217238 41fecd8658ba50ddda0a52e04c21cec5e53415ac,"__slots__ (#3250) * Add __slots__ to most classes * Enforced __slots__for all classes; remove _initialized * Speed up __setattr__ * Fix accessors * DeprecationWarning -> FutureWarning * IndexingSupport enum * What's New * Unit tests * Trivial docstrings and comments tweak * Don't expose accessors in Dataset._replace()",2019-08-29T17:14:19Z,2019-08-29T17:14:19Z,2ff6d9e74ee03928d143f0bb1557924a28d3b23d,f10b21bed2846b879806f87039b77245b18e7671,13221727,6213168,1217238 f8647183c49c806896a2c94d12c5df56cb7f389e,"Raise proper error for scalar array when coords is a dict (#3271) * Dims and shape check when coords is a dict * Update test to the correct raise message * Move logic and change raise message",2019-08-29T17:08:59Z,2019-08-29T17:08:59Z,07354799b3d1efde7621fcd783157c7e32436919,f10b21bed2846b879806f87039b77245b18e7671,13221727,23618263,1217238 aaeea6250b89e3605ee1d1a160ad50d6ed657c7e,"BUG: Fixes GH3215 (#3220) * BUG: Fixes GH3215 Explicit cast to numpy array to avoid np.ravel calling out to dask * Added test * Added assertion to test * Removed assertion. Didn't work * PEP8 and flake fixes * Ran black * Implement suggested fixes * Added assert test * Added valid assert_identical test * add requires_dask",2019-08-28T06:45:34Z,2019-08-28T06:45:34Z,fa671342c743d7974f3cfd9c640579e23103973a,f10b21bed2846b879806f87039b77245b18e7671,13221727,6063709,1217238 8969b5a974723dc13ce93db1e878f791764f539e,Issue 3227: Remove unwanted files created by ipython examples. (#3270),2019-08-28T00:02:01Z,2019-08-28T00:02:01Z,95d2b9ab3b4f0f284edef1a1cadc6ac2272212e4,f10b21bed2846b879806f87039b77245b18e7671,13221727,2818208,1217238 e3b3bed2c2e27eb74adc2b7f80c365c2928cd78b,"Raise on inplace=True (#3260) * raise on inplace=True * remove from docstrings * missed (at least) one * remove from internal methods in dataarray * TypeError * typeerror dataarray * whatsnew * inplace returns no value",2019-08-26T18:43:51Z,2019-08-26T18:43:51Z,279c587273ec459ffb5192e60bf8447c05601fa5,f10b21bed2846b879806f87039b77245b18e7671,13221727,5635139,1217238 2fdcbb6feccb01a97b8b51160b81e238486fff00,Add note about accessor instance creation (#3209),2019-08-14T05:33:48Z,2019-08-14T05:33:48Z,48ac9bccdbfd665c0202c9eb65890f4d8ca1c64a,f10b21bed2846b879806f87039b77245b18e7671,13221727,1828519,1217238 097306bae06118d837c1cb57ac8cc11cbf87a972,"BUG fix +test .sel method gives error with float32 values (#3153) * BUG fix +test .sel method gives error with float32 values .sel method gives error when it is used to select float32 values Resolves: #3137 * BUG .sel method gives error with float32 values avoid copying indexers for efficiency * BUG: .sel method fails when label is float differnt from coords float type casting at a lower level closer to pandas.Index methods * BUG: .sel method fails when label is float differnt from coords float type casting at a lower level closer to pandas.Index methods * Update xarray/core/indexing.py Co-Authored-By: Stephan Hoyer * BUG: .sel method gives error when label is float different from coords float type generalizing to coerce numpy arrays in addtion to lists/floats * Black",2019-08-10T22:24:26Z,2019-08-10T22:24:26Z,9a0744c04e79529cb518717b0608f1b4b3bcc013,f10b21bed2846b879806f87039b77245b18e7671,13221727,32473508,1217238 bbd25c65a874dfd505ab9df43f6109f6343e5f4d,"Support for __array_function__ implementers (sparse arrays) [WIP] (#3117) * Support for __array_function__ implementers * Pep8 * Consistent naming * Check for NEP18 enabled and nep18 non-numpy arrays * Replace .values with .data * Add initial test for nep18 * Fix linting issues * Add parameterized tests * Internal clean-up of isnull() to avoid relying on pandas This version should be much more compatible out of the box with duck typing. * Add sparse to ci requirements * Moar tests * Two more patches for __array_function__ duck-arrays * Don't use coords attribute from duck-arrays that aren't derived from DataWithCoords * Improve checking for coords, and autopep8 * Skip tests if NEP-18 envvar is not set * flake8 * Update xarray/core/dataarray.py Co-Authored-By: Stephan Hoyer * Fix coords parsing * More tests * Add align tests * Replace nep18 tests with more extensive tests on pydata/sparse * Add xfails for missing np.result_type (fixed by pydata/sparse/pull/261) * Fix xpasses * Revert isnull/notnull * Fix as_like_arrays by coercing dense arrays to COO if any sparse * Make Variable.load a no-op for non-dask duck arrays * Add additional method tests * Fix utils.as_scalar to handle duck arrays with ndim>0",2019-08-05T18:44:43Z,2019-08-05T18:44:43Z,84e620c8a0c57a3b676a20d0134cbc5f75cefe5b,f10b21bed2846b879806f87039b77245b18e7671,13221727,1270651,1217238 86799b78ae271d9f68a2ad5eb6aa15916f0b19ab,"changed url for rasterio network test (#3162) * changed url for rasterio network test * added boto3 to ci requirements.ymls",2019-07-31T00:28:45Z,2019-07-31T00:28:45Z,afc51a0a930e9022c8c17f9692c71a87fd110afd,f10b21bed2846b879806f87039b77245b18e7671,13221727,3924836,1217238 dfa97dadfd8551b4f06b8c5601fa47b6dea2c1a0,"to_zarr(append_dim='dim0') doesn't need mode='a' (#3123) * to_zarr(append_dim='dim0') doesn't need mode='a' * Updated whats-new.rst * Default mode=None allows checking consistency with append_dim * Fix PEP8 issue * Moved mode handling from api.py to dataset.py * Fix closing bracket indentation",2019-07-29T15:54:44Z,2019-07-29T15:54:44Z,5416ffd189976d1fa74f3053c7f1455efaf9f7de,f10b21bed2846b879806f87039b77245b18e7671,13221727,4711805,1217238 9afe4d0cc1c5bee68a3e28887125a31336e4f58f,"Fix h5py version printing (#3145) * h5py version print * zero f-strings given",2019-07-19T07:32:27Z,2019-07-19T07:32:27Z,279c587273ec459ffb5192e60bf8447c05601fa5,f10b21bed2846b879806f87039b77245b18e7671,13221727,5635139,1217238 c46fae1a2ea5572316007d7e4fe84da4b7ec9f32,disable codecov comments (#3140),2019-07-18T01:12:37Z,2019-07-18T01:12:37Z,279c587273ec459ffb5192e60bf8447c05601fa5,f10b21bed2846b879806f87039b77245b18e7671,13221727,5635139,1217238 8da3f67ea583e0588291162067229b2f3ce2993e,"Merge broadcast_like docstrings, analyze implementation problem (#3130) * Merge broadcast_like docstrings, analyze implementation problem * PEP8 fixes * PEP8 fixes * Fix dataarray bug * Fix broadcast_like logic error * Remove unused import * Add back additional broadcast_like tests * lint",2019-07-16T17:43:36Z,2019-07-16T17:43:36Z,d44c94db7f6703b8db1954f777781b8327dca203,f10b21bed2846b879806f87039b77245b18e7671,13221727,2380665,1217238 3c05a203e4de5c1345cd10fdc336a9f729b1a633,"Fix tests on big-endian systems (#3125) * Fix tests on big-endian systems * PEP 8",2019-07-15T18:57:54Z,2019-07-15T18:57:54Z,70d223991b3dacf4bc00c02924800a3d2eaf5d8f,f10b21bed2846b879806f87039b77245b18e7671,13221727,1970404,1217238 3ceb0380eeda2ed132af44b16bbb8ab4b2c678c9,"XFAIL tests failing on ARM (#2334) * XFAIL tests failing on ARM These tests are expected to fail on ARM due to the following issue in NumPy: https://github.com/numpy/numpy/issues/8325 * PEP 8",2019-07-15T18:57:30Z,2019-07-15T18:57:30Z,70d223991b3dacf4bc00c02924800a3d2eaf5d8f,f10b21bed2846b879806f87039b77245b18e7671,13221727,1970404,1217238 9438390da9ecafc2601a7f06c9e4f87637b456df,"Add broadcast_like. (#3086) * Add broadcast_like. Closes #2885 * lint. * lint2 * Use a helper function * lint",2019-07-14T20:24:32Z,2019-07-14T20:24:32Z,0c7e9e762dbfd6554e60c953bf27493047d95109,f10b21bed2846b879806f87039b77245b18e7671,13221727,2448579,1217238 c4497ff3121f75ec0f7c6a1b9a51fde336c19fcd,"Better docs and errors about expand_dims() view (#3114) * Better docs and errors about expand_dims() view * Add test and whatsnew note * Remove trailing whitespace * Whitespace for PEP8 * Py35 compatible test * Better docs and errors about expand_dims() view * Add test and whatsnew note * Remove trailing whitespace * Whitespace for PEP8 * Py35 compatible test * Improved exception testing",2019-07-14T18:57:38Z,2019-07-14T18:57:38Z,d44c94db7f6703b8db1954f777781b8327dca203,f10b21bed2846b879806f87039b77245b18e7671,13221727,2380665,1217238 82fd8320b1be7a434effd247baf07004b66b802f,add to netCDF groups description (#3113),2019-07-14T05:34:55Z,2019-07-14T05:34:55Z,79c4e78b24bd44d6665e4c80cc9163e5cfe87f1a,f10b21bed2846b879806f87039b77245b18e7671,13221727,17169544,1217238 960a27e38f95b8f35b11f0ae4693258f9bf0959d,"Remove old issue template, small changes to current template (#3097) * remove old template and marginally update current template * spacing",2019-07-14T05:32:40Z,2019-07-14T05:32:40Z,279c587273ec459ffb5192e60bf8447c05601fa5,f10b21bed2846b879806f87039b77245b18e7671,13221727,5635139,1217238 b3ba4ba5f9508e4b601d9cf5dbcd9024993adf37,change name of test env to xarray-tests (#3110),2019-07-13T17:11:51Z,2019-07-13T17:11:51Z,79c4e78b24bd44d6665e4c80cc9163e5cfe87f1a,f10b21bed2846b879806f87039b77245b18e7671,13221727,17169544,1217238 6586c26af6e55279efe646188b39ee1caf86db23,Fix minor typos in documentation (#3104),2019-07-12T16:51:54Z,2019-07-12T16:51:54Z,59ea58fa1613b83ce51d483a000503cfce833810,f10b21bed2846b879806f87039b77245b18e7671,13221727,691772,1217238 ed421e80e69788b92cdda050b0ac389ecce590fb,"Improve open_mfdataset deprecation warnings (#3101) * Updated deprecation warnings to be more specific and link to docs * Corresponding tests checking for new warning * Removed trailing whitespace",2019-07-12T15:43:31Z,2019-07-12T15:43:31Z,26a6f89d5f52aa3fe5267933be6139d10dfff2a7,f10b21bed2846b879806f87039b77245b18e7671,13221727,35968931,1217238 8f0d9e5c9909c93a90306ed7cb5a80c1c2e1c97d,"WIP: more annotations (#3090) * Typing hints for Dataset.to_netcdf * type annotations * poke codecov",2019-07-11T04:20:55Z,2019-07-11T04:20:55Z,2ff6d9e74ee03928d143f0bb1557924a28d3b23d,f10b21bed2846b879806f87039b77245b18e7671,13221727,6213168,1217238 ae6907928499436b7ea133ca5f000249890ec80a,whats-new for 0.12.4,2019-07-10T19:58:18Z,2019-07-10T19:58:18Z,b3ac90e3a22acc66f9f523cc0d3c7e3fa6df7833,b3ac90e3a22acc66f9f523cc0d3c7e3fa6df7833,13221727,1217238,1217238 38ee23f96035df95ee3baf06645ef5a21616f47f,move around whats-new,2019-07-10T19:57:15Z,2019-07-10T19:57:15Z,b3ac90e3a22acc66f9f523cc0d3c7e3fa6df7833,b3ac90e3a22acc66f9f523cc0d3c7e3fa6df7833,13221727,1217238,1217238 96a337f451885d22a9cb4dca55d04a045ba4e4ff,Finalize whats-new for 0.12.3,2019-07-10T17:59:47Z,2019-07-10T19:53:18Z,b3ac90e3a22acc66f9f523cc0d3c7e3fa6df7833,b3ac90e3a22acc66f9f523cc0d3c7e3fa6df7833,13221727,1217238,1217238 1d7a0247e36ce74c33597e4054b64ae37afb61ce,"Add `scales` attributes to Dataset created in open_rasterio (#3012) (#3013) * Add `scales` attributes to Dataset created in open_rasterio (#3012) * Add `offsets` and `descriptions` attributes (xr.open_rasterio) (#3012) * Add `units` attribute to Dataset returned by xr.open_rasterio (#3012) * Test `descriptions` and `units` attrs (#3012) * pep8 * Expose `mask_flags` attributes of rasterio dataset * pep8 * Update doc/whats-new.rst * Expose mask_flags as int bit mask * pep8 * delete xarray/tests/data/example.grib.011ab.idx * Remove mask_flags attribute * Update whats-new.rst * Fix merge",2019-07-10T16:00:49Z,2019-07-10T16:00:49Z,61b75dad5acf30d5a4d357565dc2b68ad3778a87,f10b21bed2846b879806f87039b77245b18e7671,13221727,191850,1217238 681893ed96685052e5f5822cc867245aaf138b32,"More annotations (#3088) * More type annotations in Dataset (incomplete) * mypy fixes * Signature of Dataset.update * flake8",2019-07-09T16:23:11Z,2019-07-09T16:23:11Z,2ff6d9e74ee03928d143f0bb1557924a28d3b23d,f10b21bed2846b879806f87039b77245b18e7671,13221727,6213168,1217238 9c0fb6c6ca4a4da52ba5b0c2b17c12573a66def0,"Add methods for combining variables of differing dimensionality (#1597) * Add stack_cat and unstack_cat methods This partially resolves #1317. Change names of methods stack_cat -> to_stacked_array unstack_cat -> to_unstacked_dataset Test that the dtype of the stacked dimensions is preserved This is not passing at the moment because concatenating None with a dimension that has values upcasts the combined dtype to object Fix dtypes of stacked dimensions This commit ensures that the dtypes of the stacked coordinate match the input dimensions. Use new index variable rather than patching the old one I didn't like the inplace modification of a private member. Handle variable_dim correctly I also fixed 1. f-string formatting issue 2. Use an OrderedDict as @jhamman recommends Add documentation to api.rst and reshaping.rst I also added appropriate See Also sections to the docstrings for to_stacked_array and to_unstacked_dataset. Add changes to whats-new Fixing style errors. Split up lengthy test Remove ""physical variable"" from docs This is in response to Joe's ""nit"" * Fix to_stacked_array with new master An error arose when checking for the precence of a dimension in array. The code 'dim in data' no longer works. Replaced this with 'dim in data.dims' * Move entry in whats-new to most recent release * Fix code styling errors It needs to pass `pycodestyle xarray` * Improve docstring of to_stacked_array Added example and additional description. * Move ""See Also"" section to end of docstring * Doc and comment improvements. * Improve documented example @benbovy pointed out that the old example was confusing. * Add name argument to to_stacked_array and test * Allow level argument to be an int or str * Remove variable_dim argument of to_unstacked_array * Actually removed variable_dim * Change function signature of to_stacked_array Previously, this function was passed a list of dimensions which should be stacked together. However, @benbovy found that the function failed when the _non-stacked_ dimensions were not shared across all variables. Thus, it is easier to specify the dimensions which should remain unchanged, rather than the dimensions to be stacked. The function to_stacked_array now takes an argument ''sample_dim'' which defines these non-stacked dimensions. If these dims are not shared accross all variables than an error is raised. * Fix lint error The line was too long * Fix validation and failing tests 1. the test which stacks a scalar and an array doesn't make sense anymore given the new API. 2. Fixed a bug in the validation code which raised an error almost always. * Fix typo * Improve docs and error messages * Remove extra spaces * Test warning in to_unstacked_dataset * Improve formatting and naming * Fix flake8 error * Respond to @max-sixty's suggestions",2019-07-05T00:32:50Z,2019-07-05T00:32:50Z,cac54aaf99307ae2c1b0a9d378f9016e48d1796c,f10b21bed2846b879806f87039b77245b18e7671,13221727,1386642,1217238 681ec0e84af7c155b16ef46122e2a6cea64b585d,Fix error message (#3076),2019-07-02T21:27:40Z,2019-07-02T21:27:40Z,5416ffd189976d1fa74f3053c7f1455efaf9f7de,f10b21bed2846b879806f87039b77245b18e7671,13221727,4711805,1217238 af37ddd0e09024cb23438a9403ec0670e2dae5e4,"Add rename_vars and rename_dims (#3045) * Added rename_coords and rename_dims * Removed white space from blank lines * Changed rename_coords to rename_vars * Changed rename_coords to rename_vars in ""See Also"" or rename fx * Fixed renaming dimension indexing * Added testing for rename_vars and rename_dims * Testing and fx for renaming vars and dims * Met pep8 standards * Undid autopep8 for lines w noqa * Update xarray/tests/test_dataset.py Co-Authored-By: Maximilian Roos <5635139+max-sixty@users.noreply.github.com> * Cleaned up helper fxs and added actual_2 test * Update xarray/core/dataset.py Co-Authored-By: Maximilian Roos <5635139+max-sixty@users.noreply.github.com> * Update xarray/core/dataset.py Co-Authored-By: Maximilian Roos <5635139+max-sixty@users.noreply.github.com> * deleted misc file * Update xarray/core/dataset.py Co-Authored-By: Maximilian Roos <5635139+max-sixty@users.noreply.github.com> * _rename_var_dims_helper undefined test * Use separate rename_dims and rename_vars dictionaries * Fixed documentation and added inplace back * removing changes from rename * removed test set up to fail (will add back) * fixed coord vs variable in test rename_ * Moved rename_var to under new fx/methods * Update whats-new.rst * use pytest.raises to test for ValueError * did not assign failed * pep8 compliance",2019-07-02T20:24:54Z,2019-07-02T20:24:54Z,0b1648bb11ab8462ffca6a7ac841624789ad9c0f,f10b21bed2846b879806f87039b77245b18e7671,13221727,46687291,1217238 8c61997d0daa5564a007458ab4febebcecdc30af,Removed rogue print statement in N-D combine (#3074),2019-07-02T14:16:42Z,2019-07-02T14:16:42Z,26a6f89d5f52aa3fe5267933be6139d10dfff2a7,f10b21bed2846b879806f87039b77245b18e7671,13221727,35968931,1217238 406c16263f9854bda88f92308611b1a586551761,"kwargs.pop() cleanup (#3065) * Python 3 classes don't need to subclass object * kwds -> kwargs * kwargs.pop() * SplineInterpolator would write to class attribute Iterable doesn't have a len or positional access kwargs.pop() cleanup * kwargs.pop(); clean up tampering with a kwargs dict * kwargs.pop() * kwargs.pop() * trivial * kwargs.pop() * pep8 * pep8 * Fix regression * Remove useless code * Revert ""Remove useless code"" This reverts commit 0b23f3f8 * Clarification",2019-07-01T01:58:49Z,2019-07-01T01:58:49Z,2ff6d9e74ee03928d143f0bb1557924a28d3b23d,f10b21bed2846b879806f87039b77245b18e7671,13221727,6213168,1217238 1cd7132d7799846f5b5e477ecd73f46df64a3c39,Add new section to whats-new for 0.12.3,2019-06-30T03:41:30Z,2019-06-30T03:41:30Z,b3ac90e3a22acc66f9f523cc0d3c7e3fa6df7833,b3ac90e3a22acc66f9f523cc0d3c7e3fa6df7833,13221727,1217238,1217238 fbe53fe2a35b3eeda63e50f1f38c7cfc92134a0c,Fix setup.py description for 0.12.2,2019-06-30T03:38:35Z,2019-06-30T03:38:35Z,b3ac90e3a22acc66f9f523cc0d3c7e3fa6df7833,b3ac90e3a22acc66f9f523cc0d3c7e3fa6df7833,13221727,1217238,1217238 18f35da6ac14b078772357b6bc11d3af5296afba,"Appending to zarr store (#2706) * Initial version of appending to zarr store * Added docs * Resolve PEP8 incompliances * Added write and append test for mode 'a' * Merged repaired master * Resolved pep8 issue * Put target store encoding in appended variable * Rewrite test with appending along time dimension * Add chunk_size parameter for rechunking appended coordinate * Add chunk_dim test * Add type check and tests for it. In append mode storing any datatype apart from number subtypes and fixed size strings raises and error. * Add documentation * Add test for compute=False and commented it out * Remove python 3.7 string formatting * Fix PEP8 incompliance * Add missing whitespaces * allowed for compute=False when appending to a zarr store * Fixed empty array data error When using create_append_test_data we used np.arange(...), which was incidently also the default value of the zarr array when fill_value is set to None. So appending to the data with compute=False and then expecting an error when asserting the source and target to be the same failed the tests. Using random data passes the tests * flake8 fixes * removed chunk_dim argument to to_zarr function * implemented requested changes * Update xarray/backends/api.py Co-Authored-By: Stephan Hoyer * added contributors and example of using append to zarr * fixed docs fail * fixed docs * removed unnecessary condition * attempt at clean string encoding and variable length strings * implemented suggestions * * append_dim does not need to be specified if creating a new array with Dataset.to_zarr(store, mode='a') * cleand up to_zarr append mode tests * raise ValueError when append_dim is not a valid dimension * flake8 fix * removed unused comment * * raise error when appending with encoding provided for existing variable * add test for encoding consistency when appending * implemented: https://github.com/pydata/xarray/pull/2706#discussion_r298267776 * refactored tests",2019-06-29T23:43:14Z,2019-06-29T23:43:14Z,1fb9e7ae004febb59559d36136b2695db0a5fcd2,f10b21bed2846b879806f87039b77245b18e7671,13221727,9658781,1217238 a52110cde96cdf78b59282d577ece23682975b2e,pytest deprecation (#3051),2019-06-27T20:25:01Z,2019-06-27T20:25:01Z,279c587273ec459ffb5192e60bf8447c05601fa5,f10b21bed2846b879806f87039b77245b18e7671,13221727,5635139,1217238 17d18ce8230fea74e72ad59b84386cf662448d45,"Rename combine functions (#3043) * Renamed combine functions in code * Renamed combine functions in docs * pep8 fixes * Fixed mistake in docstring * Removed trailing whitespace in error messages",2019-06-26T15:00:38Z,2019-06-26T15:00:38Z,26a6f89d5f52aa3fe5267933be6139d10dfff2a7,f10b21bed2846b879806f87039b77245b18e7671,13221727,35968931,1217238 8c73852541a8a96232e98af9f24365551cf3ad40,Upgrade mypy & DataWithCoords check (#3044),2019-06-26T04:04:39Z,2019-06-26T04:04:39Z,279c587273ec459ffb5192e60bf8447c05601fa5,f10b21bed2846b879806f87039b77245b18e7671,13221727,5635139,1217238 d3f6db9d1eee54b51d2b0cd9a0a01a411d2148b7,"WIP: typing for DataArray/Dataset (#2929) * typing for DataArray/Dataset (incomplete) * Finished dataarray.py * Bugfixes * Bugfixes * trivial * Dataset (partial) * Bugfixes * Minor tweaks * final changes to dataset & dataarray for mypy * mypy str conflict * remove temp ptw setting * OrderedDict-related fixes * fix tests re dict * fix mypy re dict * merge issue re encoding kwarg * weird python35 syntax error * Hashable -> Any for Dicts * DataArray names as Hashable * resolve some __default vs None issues * whats-new * just specify Tuple at the moment * remove unneeded cast, make arg formatting more black-like * adjust init args based on @shoyer review * add Tuple[Tuple] to dataset init types * tuples not all the way down",2019-06-25T22:03:39Z,2019-06-25T22:03:39Z,2ff6d9e74ee03928d143f0bb1557924a28d3b23d,f10b21bed2846b879806f87039b77245b18e7671,13221727,6213168,1217238 6b33ad8b3e56834c3a345f21afc17680a164c5e9,"API for N-dimensional combine (#2616) * concatenates along a single dimension * Wrote function to find correct tile_IDs from nested list of datasets * Wrote function to check that combined_tile_ids structure is valid * Added test of 2d-concatenation * Tests now check that dataset ordering is correct * Test concatentation along a new dimension * Started generalising auto_combine to N-D by integrating the N-D concatentation algorithm * All unit tests now passing * Fixed a failing test which I didn't notice because I don't have pseudoNetCDF * Began updating open_mfdataset to handle N-D input * Refactored to remove duplicate logic in open_mfdataset & auto_combine * Implemented Shoyers suggestion in #2553 to rewrite the recursive nested list traverser as an iterator * --amend * Now raises ValueError if input not ordered correctly before concatenation * Added some more prototype tests defining desired behaviour more clearly * Now raises informative errors on invalid forms of input * Refactoring to alos merge along each dimension * Refactored to literally just apply the old auto_combine along each dimension * Added unit tests for open_mfdatset * Removed TODOs * Removed format strings * test_get_new_tile_ids now doesn't assume dicts are ordered * Fixed failing tests on python3.5 caused by accidentally assuming dict was ordered * Test for getting new tile id * Fixed itertoolz import so that it's compatible with older versions * Increased test coverage * Added toolz as an explicit dependency to pass tests on python2.7 * Updated 'what's new' * No longer attempts to shortcut all concatenation at once if concat_dims=None * Rewrote using itertools.groupby instead of toolz.itertoolz.groupby to remove hidden dependency on toolz * Fixed erroneous removal of utils import * Updated docstrings to include an example of multidimensional concatenation * Clarified auto_combine docstring for N-D behaviour * Added unit test for nested list of Datasets with different variables * Minor spelling and pep8 fixes * Started working on a new api with both auto_combine and manual_combine * Wrote basic function to infer concatenation order from coords. Needs better error handling though. * Attempt at finalised version of public-facing API. All the internals still need to be redone to match though. * No longer uses entire old auto_combine internally, only concat or merge * Updated what's new * Removed uneeded addition to what's new for old release * Fixed incomplete merge in docstring for open_mfdataset * Tests for manual combine passing * Tests for auto_combine now passing * xfailed weird behaviour with manual_combine trying to determine concat_dim * Add auto_combine and manual_combine to API page of docs * Tests now passing for open_mfdataset * Completed merge so that #2648 is respected, and added tests. Also moved concat to it's own file to avoid a circular dependency * Separated the tests for concat and both combines * Some PEP8 fixes * Pre-empting a test which will fail with opening uamiv format * Satisfy pep8speaks bot * Python 3.5 compatibile after changing some error string formatting * Order coords using pandas.Index objects * Fixed performance bug from GH #2662 * Removed ToDos about natural sorting of string coords * Generalized auto_combine to handle monotonically-decreasing coords too * Added more examples to docstring for manual_combine * Added note about globbing aspect of open_mfdataset * Removed auto-inferring of concatenation dimension in manual_combine * Added example to docstring for auto_combine * Minor correction to docstring * Another very minor docstring correction * Added test to guard against issue #2777 * Started deprecation cycle for auto_combine * Fully reverted open_mfdataset tests * Updated what's new to match deprecation cycle * Reverted uamiv test * Removed dependency on itertools * Deprecation tests fixed * Satisfy pycodestyle * Started deprecation cycle of auto_combine * Added specific error for edge case combine_manual can't handle * Check that global coordinates are monotonic * Highlighted weird behaviour when concatenating with no data variables * Added test for impossible-to-auto-combine coordinates * Removed uneeded test * Satisfy linter * Added airspeedvelocity benchmark for combining functions * Benchmark will take longer now * Updated version numbers in deprecation warnings to fit with recent release of 0.12 * Updated api docs for new function names * Fixed docs build failure * Revert ""Fixed docs build failure"" This reverts commit ddfc6dd1aa2d3164e1e2e7f090dac95e8789cc1c. * Updated documentation with section explaining new functions * Suppressed deprecation warnings in test suite * Resolved ToDo by pointing to issue with concat, see #2975 * Various docs fixes * Slightly renamed tests to match new name of tested function * Included minor suggestions from shoyer * Removed trailing whitespace * Simplified error message for case combine_manual can't handle * Removed filter for deprecation warnings, and added test for if user doesn't supply concat_dim * Simple fixes suggested by shoyer * Change deprecation warning behaviour * linting",2019-06-25T15:14:34Z,2019-06-25T15:14:34Z,26a6f89d5f52aa3fe5267933be6139d10dfff2a7,f10b21bed2846b879806f87039b77245b18e7671,13221727,35968931,1217238 b054c317f86639cd3b889a96d77ddb3798f8584e,"Add quantile method to GroupBy (#2828) * implement groupby.quantile + tests * added quantile method in whats-new * mark additional test as xfail. * lint fix * simpler version of groupby.quantile * added quantile methods to api.rst * included DEFAULT_DIMS handling in quantile method * clarified groupby tests * added test with more typical use case * pep8 * removed failing test",2019-06-24T15:21:28Z,2019-06-24T15:21:28Z,5af532972f5310a40c7ae1e15951da62a431d6b6,f10b21bed2846b879806f87039b77245b18e7671,13221727,81219,1217238 cfd821065341e386b3e4a1e6e09bf8d952ed0e2a,"rolling_exp (nee ewm) (#2650) * WIP on ewm using numbagg * basic functionality, no dims working yet * rename to `rolling_exp` * ensure works on either dimensions * window_type working * add numbagg to travis install * naming * formatting * @shoyer's function to abstract the type of self.obj * initial docstring * add docstrings to docs * example * correct location for docs * add numbagg to print_versions * whatsnew * updating my GH username * pin to numbagg release * rename inner func to move_exp_nanmean * merge * typo * comments from PR * window -> alpha in numbagg * add docs * doc fix * whatsnew update * revert formatting changes to unchanged file * update docstrings, adjust kwarg names * mypy * flake * pytest config tiny tweak while I'm here * Rolling exp doc updates * remove _attributes from RollingExp class",2019-06-24T15:20:31Z,2019-06-24T15:20:31Z,279c587273ec459ffb5192e60bf8447c05601fa5,f10b21bed2846b879806f87039b77245b18e7671,13221727,5635139,1217238 56fc325ae029b5aa8fc4556197103a1a2eb31702,add back dask-dev tests (#3025),2019-06-23T11:47:04Z,2019-06-23T11:47:04Z,279c587273ec459ffb5192e60bf8447c05601fa5,f10b21bed2846b879806f87039b77245b18e7671,13221727,5635139,1217238 ff4198865b42ee2f6f99f3f6f83fed68ef4ffbc7,"ENH: keepdims=True for xarray reductions (#3033) * ENH: keepdims=True for xarray reductions Addresses #2170 Add new option `keepdims` to xarray reduce operations, following the behaviour of Numpy. `keepdims` may be passed to reductions on either Datasets or DataArrays, and will result in the reduced dimensions being still present in the output with size 1. Coordinates that depend on the reduced dimensions will be removed from the Dataset/DataArray * Set the default to be `False` * Correct lint error * Apply suggestions from code review Co-Authored-By: Maximilian Roos <5635139+max-sixty@users.noreply.github.com> * Add test for dask and fix implementation * Move 'keepdims' up to where 'dims' is set * Fix lint, add test for scalar variable",2019-06-23T09:18:32Z,2019-06-23T09:18:32Z,d1b38379cd5800b7b69a7a1debcff7e12d442de0,f10b21bed2846b879806f87039b77245b18e7671,13221727,,1217238 724ad8301c9177f0f18476c03f4843006a4de691,"Revert cmap fix (#3038) * Test for levels + provided cmap * Revert ""plot: If provided with colormap do not modify it. (#2935)"" This reverts commit ab3972294860447f9515c7b7b0a04838db061496. * lint",2019-06-22T17:16:35Z,2019-06-22T17:16:35Z,0c7e9e762dbfd6554e60c953bf27493047d95109,f10b21bed2846b879806f87039b77245b18e7671,13221727,2448579,1217238 9c0bbf744a5235b4187f87de49175e6776d813cb,"Add ""errors"" keyword argument to drop() and drop_dims() (#2994) (#3028) * Add ""errors"" keyword argument (GH2994) Adds an errors keyword to Dataset.drop(), Dataset.drop_dims(), and DataArray.drop() (GH2994). Consistent with pandas, the value can be either ""raise"" or ""ignore"" * Fix quotes * Different pandas versions raise different errors * Error messages also vary * Correct doc for DataArray.drop; array, not dataset * Require errors argument to be passed with a keyword",2019-06-20T15:47:59Z,2019-06-20T15:47:59Z,c14e86459d07dc4f249a4eb19ec8fe406eb42ce9,f10b21bed2846b879806f87039b77245b18e7671,13221727,5852283,1217238 4c758e6ad282228ec52c277471db7cfb4f1f050f,"Check types in travis (#3024) * lint mypy typing * dot * revert autoformat * allow failures for typing",2019-06-18T05:12:47Z,2019-06-18T05:12:47Z,279c587273ec459ffb5192e60bf8447c05601fa5,f10b21bed2846b879806f87039b77245b18e7671,13221727,5635139,1217238 c2a2a6efcaf2d279c78da4ba3a87ea96afe78be0,Update issue templates (#3019),2019-06-15T03:35:16Z,2019-06-15T03:35:16Z,279c587273ec459ffb5192e60bf8447c05601fa5,f10b21bed2846b879806f87039b77245b18e7671,13221727,5635139,1217238 85fc44156722891b333f1b559ed2bb5e33f87fa8,"Add pytest markers to avoid warnings (#3023) * add pytest markers to avoid warnings * add a pytest straggling (was on different line so not picked up by regex) * whatsnew * revert autoformat",2019-06-15T00:34:03Z,2019-06-15T00:34:03Z,279c587273ec459ffb5192e60bf8447c05601fa5,f10b21bed2846b879806f87039b77245b18e7671,13221727,5635139,1217238 3429ca2aa2a07cd77797f5a4c036d6a325f2003f,"Use flake8 rather than pycodestyle (#3010) * A few flake fixes * isort * bunch of flake8 errors fixed * flake8 config * pep8speaks config * run flake8 in travis * docs to flake8 * pep8speaks configs inherited from setup.cfg * too much isort, skipped base __init__ * imports * install flake8 in travis * update 3.6 reqs",2019-06-12T04:56:36Z,2019-06-12T04:56:36Z,279c587273ec459ffb5192e60bf8447c05601fa5,f10b21bed2846b879806f87039b77245b18e7671,13221727,5635139,1217238 fda60563bbca7eea6fabd6603750f359e1ad00ef,"Pandas labels deprecation (#3016) * Pandas deprecation * allow for older versions of pandas * update docs",2019-06-11T22:58:25Z,2019-06-11T22:58:25Z,279c587273ec459ffb5192e60bf8447c05601fa5,f10b21bed2846b879806f87039b77245b18e7671,13221727,5635139,1217238 43834ac8186a851b7ea5aed8657b72d62fa3695f,dask-dev tests to allowed failures in travis (#3014),2019-06-11T02:45:47Z,2019-06-11T02:45:47Z,279c587273ec459ffb5192e60bf8447c05601fa5,b3ac90e3a22acc66f9f523cc0d3c7e3fa6df7833,13221727,5635139,1217238 adbd59a0498cce298d88d9383837c968bebae538,Fix 'to_masked_array' computing dask arrays twice (#3006),2019-06-10T13:25:57Z,2019-06-10T13:25:57Z,48ac9bccdbfd665c0202c9eb65890f4d8ca1c64a,f10b21bed2846b879806f87039b77245b18e7671,13221727,1828519,1217238 fa55060802a2c772eecef96b6c4ce672dca9dc81,str accessor (#2991),2019-06-10T13:11:10Z,2019-06-10T13:11:10Z,c1daf260be4f5ddb2eb15b41e4f0073d13be76df,f10b21bed2846b879806f87039b77245b18e7671,13221727,3621629,1217238 7e649e415e8023b05eb56b3ffadd0d930381f6e0,fix safe_cast_to_index (#3001),2019-06-10T04:48:44Z,2019-06-10T04:48:44Z,c1daf260be4f5ddb2eb15b41e4f0073d13be76df,f10b21bed2846b879806f87039b77245b18e7671,13221727,3621629,1217238 5b3a41d5761edb2240df5a4475196e4939b33719,"Implement @ operator for DataArray (#2987) * implement @ operator for DataArray * flake * whatsnew * add doc example and rmatmul",2019-06-01T19:42:20Z,2019-06-01T19:42:20Z,279c587273ec459ffb5192e60bf8447c05601fa5,b3ac90e3a22acc66f9f523cc0d3c7e3fa6df7833,13221727,5635139,1217238 74e5ff64171e84a2da3984f512d2134a233240e2,"Add strftime() to datetime accessor with cftimeindex and dask support (#2989) * Add strftime to DatetimeAccessor Includes Dask support and cftime values * add strftime to cftimeindex change datetime.accessor to pass thru to cftimeindex.strftime * pep8 formatting cleanup * Improve cftimeindex and dt.strftime docstrings * Minor code cleanups remove extra strftime_through_arrays function * edits to make docstring prettier for pep8 * Add strftime accessor and cftimeindex method to whats new * Apply suggested doc edits as single commit Add cftimeindex.strftime to api-hidden.rst * Include missing backtick in what's new docs Co-Authored-By: Spencer Clark * ""an Index"" not ""a Index"" * Add examples to User Gude docs Added some short examples to time-series and weather-climate pages * Update doc/whats-new.rst Co-Authored-By: Spencer Clark ",2019-06-01T07:51:16Z,2019-06-01T07:51:16Z,43238f2f0c34bcece336dcddfaa5752b1c3d7d94,f10b21bed2846b879806f87039b77245b18e7671,13221727,6145107,1217238 6dc8b60849fab48f24494859c15a42f078025be6,"Add fill_value for concat and auto_combine (#2964) * add fill_value option for concat and auto_combine * add tests for fill_value in concat and auto_combine * remove errant whitespace * add fill_value description to doc-string * add missing assert",2019-05-27T00:20:54Z,2019-05-27T00:20:54Z,79c4e78b24bd44d6665e4c80cc9163e5cfe87f1a,f10b21bed2846b879806f87039b77245b18e7671,13221727,17169544,1217238 0811141e8f985a1f3b95ead92c3850cc74e160a5,"Add transpose_coords option to DataArray.transpose (#2556) * Add transpose_coords option to DataArray.transpose Fixes #1856 * Fix typo * Fix bug in transpose Fix python 2 compatibility * Set default for transpose_coords to None Update documentation * Fix bug in coordinate tranpose Update documentation * Suppress FutureWarning in tests * Add restore_coord_dims parameter to DataArrayGroupBy.apply * Move restore_coord_dims parameter to GroupBy class * Remove restore_coord_dims parameter from DataArrayResample.apply * Update whats-new * Update whats-new",2019-05-21T17:37:54Z,2019-05-21T17:37:54Z,c035fd44a91b64ceb9d0d3134f995abca1378198,b3ac90e3a22acc66f9f523cc0d3c7e3fa6df7833,13221727,4687996,1217238 bd78b7f1f46a0fb0a0b0f2d4f4bdbacba55be93d,"Implement load_dataset() and load_dataarray() (#2917) * Partial fix for #2841 to improve formatting. Updates formatting to use .format() instead of % operator. Changed all instances of % to .format() and added test for using tuple as key, which errored using % operator. * Revert ""Partial fix for #2841 to improve formatting."" This reverts commit f17f3ad1a4a2069cd70385af8ad331f644ec66ba. * Implement load_dataset() and load_dataarray() BUG: Fixes #2887 by adding @shoyer solution for load_dataset and load_dataarray, wrappers around open_dataset and open_dataarray which open, load, and close the file and return the Dataset/DataArray TST: Add tests for sequentially opening and writing to files using new functions DOC: Add to whats-new.rst. Also a tiny change to the open_dataset docstring Update docstrings and check for cache in kwargs Undeprecate load_dataset Add to api.rst, fix whats-new.rst typo, raise error instead of warning",2019-05-16T15:28:29Z,2019-05-16T15:28:29Z,74ebd7bdbe36bac6788cdbc5e5e9b088ddb56dd3,b3ac90e3a22acc66f9f523cc0d3c7e3fa6df7833,13221727,13837821,1217238 698293e6cdff8be94464af00e8b8f171e8fd1557,"Mark test for copying coords of dataarray and dataset with xfail. It looks like the test fails for the shallow copy, and apparently only on Windows for some reason. In Windows coords seem to be immutable unless it's one dataarray deep copied from another (which is why only the deep=False test fails). (#2953)",2019-05-09T22:17:52Z,2019-05-09T22:17:52Z,8ff6fcb2bc6801ae8c028c7f68c721d12fa003e4,f10b21bed2846b879806f87039b77245b18e7671,13221727,10720577,1217238 24d49fcd723f20b09998c302dc6003b8de69e595,"Base classes in Python 3 don't need to subclass object (#2950) * Base classes in Python 3 don't need to subclass object * What's new",2019-05-09T16:01:36Z,2019-05-09T16:01:36Z,2ff6d9e74ee03928d143f0bb1557924a28d3b23d,f10b21bed2846b879806f87039b77245b18e7671,13221727,6213168,1217238 5aaa6547cd14a713f89dfc7c22643d86fce87916,"[WIP] Custom fill value for reindex, align, and merge operations (#2920) * add fill_value option to align and reindex functions * add fill_value tests for reindex and align * add fill_value option for merge functions * add tests for fill_value merge implementation * implement and test fill_value option in dataaarray reindex methods * fix PEP 8 issue * move function signature onto function * Add fill_value enhancement note",2019-05-05T00:20:54Z,2019-05-05T00:20:54Z,79c4e78b24bd44d6665e4c80cc9163e5cfe87f1a,f10b21bed2846b879806f87039b77245b18e7671,13221727,17169544,1217238 dd99b7d7d8576eefcef4507ae9eb36a144b60adf,"List formatting in docs (#2939) * list formatting in docs * pep8",2019-05-03T20:14:27Z,2019-05-03T20:14:27Z,279c587273ec459ffb5192e60bf8447c05601fa5,f10b21bed2846b879806f87039b77245b18e7671,13221727,5635139,1217238 aebe60c8593447c7ef95ca6af6eaef1f7fedc6d5,"Minor improvement of docstring for Dataset (#2904) This might help to avoid confusion. data_vars is always a mapping, not a mapping, a variable or a tuple.",2019-04-17T20:08:45Z,2019-04-17T20:08:45Z,59ea58fa1613b83ce51d483a000503cfce833810,b3ac90e3a22acc66f9f523cc0d3c7e3fa6df7833,13221727,691772,1217238 64d2720ee70b048d9eae813105ca01431025a143,Bugfix for docs build instructions (#2897),2019-04-16T03:57:27Z,2019-04-16T03:57:27Z,6203fc2a24e79e1768d53563148c54d0294086fd,f10b21bed2846b879806f87039b77245b18e7671,13221727,,1217238 fad6d624f0716657f903f5955f16422d97275407,"Return correct count for scalar datetime64 arrays (#2892) BUG: Fix #2770 by changing ~ to np.logical_not() TST: Add test for scalar datetime64 value DOC: Add to whats-new.rst",2019-04-14T00:51:58Z,2019-04-14T00:51:58Z,74ebd7bdbe36bac6788cdbc5e5e9b088ddb56dd3,b3ac90e3a22acc66f9f523cc0d3c7e3fa6df7833,13221727,13837821,1217238 33540590915c31cd5af583412d155d7fa8ea8081,"Indexing with an empty array (#2883) * Indexing with an empty array Closes #2882 * Adds 2882 resolution to whats-new.rst * Create empty indexing array directly * assert xxx -> asset_identical",2019-04-12T00:25:43Z,2019-04-12T00:25:43Z,766041a42c5986539ecfe73d7585c3c205ebe85a,f10b21bed2846b879806f87039b77245b18e7671,13221727,2745737,1217238 3fb22cbf86e49be4a444fa062350bf7570abd6da,"WIP: type annotations (#2877) * typing for core.common and core.utils * Cleanup of core.common core.utils * Remove ambiguous overload See: https://mypy.readthedocs.io/en/latest/more_types.html#type-checking-the-variants * dims are generic Hashable; support for Python 3.5.0~3.5.2 * fixes * fixes * More polish for common and utils * More polish for common and utils * More polish for common and utils * code review",2019-04-10T18:41:49Z,2019-04-10T18:41:49Z,2ff6d9e74ee03928d143f0bb1557924a28d3b23d,f10b21bed2846b879806f87039b77245b18e7671,13221727,6213168,1217238 2c10d1443bea09e5ef53e5a7e35195a195e193a7,decreased pytest verbosity (#2881),2019-04-09T23:34:21Z,2019-04-09T23:34:21Z,50f308688403ffa4670d1b45f2b77ab73ff8d786,f10b21bed2846b879806f87039b77245b18e7671,13221727,1197350,1217238 e7ec0870b15114b0443c28bf7e32d42717808c98,update links to https (#2872),2019-04-07T19:55:07Z,2019-04-07T19:55:07Z,3a70194d4c9de937c92029510f5fdf4bd9a7e974,f10b21bed2846b879806f87039b77245b18e7671,13221727,5070516,1217238 23d54a890e6cfe1de420071b597c911164de4cb8,revert to 0.12.2 dev,2019-04-05T01:34:37Z,2019-04-05T01:34:37Z,b3ac90e3a22acc66f9f523cc0d3c7e3fa6df7833,b3ac90e3a22acc66f9f523cc0d3c7e3fa6df7833,13221727,1217238,1217238 aa6abb592ac2464170459ca96409398ec8b4593a,0.12.1 release,2019-04-05T01:31:26Z,2019-04-05T01:31:26Z,b3ac90e3a22acc66f9f523cc0d3c7e3fa6df7833,b3ac90e3a22acc66f9f523cc0d3c7e3fa6df7833,13221727,1217238,1217238 7d0e895fc27482256804303a16827feafc828595,"Fixing deepcopy for Dataset.attrs (#2839) * Fixing deepcopy for Dataset.attrs + adjusting testcase * removing extra newlines * Updating whats-new * PEP8 * Adding attrs-test to the shallow copy testcase Removing additional argument of Dataset._replace * Rename _attrs -> attrs",2019-03-30T03:14:37Z,2019-03-30T03:14:37Z,cba3551715bebac5e160a6414315ec4707c8625c,f10b21bed2846b879806f87039b77245b18e7671,13221727,1277781,1217238 16a2c03bb23757a92f3f9b8e74c4d489e892e6d6,"Allow expand_dims() method to support inserting/broadcasting dimensions with size>1 (#2757) * Quarter offset implemented (base is now latest pydata-master). (#2721) * Quarter offset implemented (base is now latest pydata-master). * Fixed issues raised in review (https://github.com/pydata/xarray/pull/2721#pullrequestreview-199346642) * Updated whats-new.rst with info on quarter offset support. * Updated whats-new.rst with info on quarter offset support. * Update doc/whats-new.rst Co-Authored-By: jwenfai * Added support for quarter frequencies when resampling CFTimeIndex. Less redundancy in CFTimeIndex resampling tests. * Removed normalization code (unnecessary for cftime_range) in cftime_offsets.py. Removed redundant lines in whats-new.rst. * Removed invalid option from _get_day_of_month docstring. Added tests back in that raises ValueError when resampling (base=24 when resampling to daily freq, e.g., '8D'). * Minor edits to docstrings/comments * lint * Add `Dataset.drop_dims` (#2767) * ENH: Add Dataset.drop_dims() * Drops full dimensions and any corresponding variables in a Dataset * Fixes GH1949 * DOC: Add Dataset.drop_dims() documentation * Improve name concat (#2792) * Added tests of desired name inferring behaviour * Infers names * updated what's new * Don't use deprecated np.asscalar() (#2800) It got deprecated in numpy 1.16 and throws a ton of warnings due to that. All the function does is returning .item() anyway, which is why it got deprecated. * Add support for cftime.datetime coordinates with coarsen (#2778) * some docs updates (#2746) * Friendlier io title. * Fix lists. * Fix *args, **kwargs ""inline emphasis..."" * misc * Reference xarray_extras for csv writing. Closes #2289 * Add metpy accessor. Closes #461 * fix transpose docstring. Closes #2576 * Revert ""Fix lists."" This reverts commit 39983a5835612d7158ae91a9cce7196a03742983. * Revert ""Fix *args, **kwargs"" This reverts commit 1b9da35ef43e44ce7855f2ab8406a781c9a68933. * Add MetPy to related projects. * Add Weather and Climate specific page. * Add hvplot. * Note open_dataset, mfdataset open files as read-only (closes #2345). * Update metpy 1 Co-Authored-By: dcherian * Update doc/weather-climate.rst Co-Authored-By: dcherian * Drop failing tests writing multi-dimensional arrays as attributes (#2810) These aren't valid for netCDF files. Fixes GH2803 * Push back finalizing deprecations for 0.12 (#2809) 0.12 will already have a big change in dropping Python 2.7 support. I'd rather wait a bit longer to finalize these deprecations to minimize the impact on users. * enable loading remote hdf5 files (#2782) * attempt at loading remote hdf5 * added a couple tests * rewind bytes after reading header * addressed comments for tests and error message * fixed pep8 formatting * created _get_engine_from_magic_number function, new tests * added description in whats-new * fixed test failure on windows * same error on windows and nix * Release 0.12.0 * Add whats-new for 0.12.1 * Rework whats-new for 0.12 * DOC: Update donation links * DOC: remove outdated warning (#2818) * Allow expand_dims() method to support inserting/broadcasting dimensions with size>1 (#2757) * Make using dim_kwargs for python 3.5 illegal -- a ValueError is thrown * dataset.expand_dims() method take dict like object where values represent length of dimensions or coordinates of dimesnsions * dataarray.expand_dims() method take dict like object where values represent length of dimensions or coordinates of dimesnsions * Add alternative option to passing a dict to the dim argument, which is now an optional kwarg, passing in each new dimension as its own kwarg * Add expand_dims enhancement from issue 2710 to whats-new.rst * Fix test_dataarray.TestDataArray.test_expand_dims_with_greater_dim_size tests to pass in python 3.5 using ordered dicts instead of regular dicts. This was needed because python 3.5 and earlier did not maintain insertion order for dicts * Restrict core logic to use 'dim' as a dict--it will be converted into a dict on entry if it is a str or a sequence of str * Don't cast dim values (coords) as a list since IndexVariable/Variable will internally convert it into a numpy.ndarray. So just use IndexVariable((k,), v) * TypeErrors should be raised for invalid input types, rather than ValueErrors. * Force 'dim' to be OrderedDict for python 3.5 * Allow expand_dims() method to support inserting/broadcasting dimensions with size>1 (#2757) * use .size attribute to determine the size of a dimension, rather than converting to a list, which can be slow for large iterables * Make using dim_kwargs for python 3.5 illegal -- a ValueError is thrown * dataset.expand_dims() method take dict like object where values represent length of dimensions or coordinates of dimesnsions * dataarray.expand_dims() method take dict like object where values represent length of dimensions or coordinates of dimesnsions * Add alternative option to passing a dict to the dim argument, which is now an optional kwarg, passing in each new dimension as its own kwarg * Add expand_dims enhancement from issue 2710 to whats-new.rst * Fix test_dataarray.TestDataArray.test_expand_dims_with_greater_dim_size tests to pass in python 3.5 using ordered dicts instead of regular dicts. This was needed because python 3.5 and earlier did not maintain insertion order for dicts * Restrict core logic to use 'dim' as a dict--it will be converted into a dict on entry if it is a str or a sequence of str * Don't cast dim values (coords) as a list since IndexVariable/Variable will internally convert it into a numpy.ndarray. So just use IndexVariable((k,), v) * TypeErrors should be raised for invalid input types, rather than ValueErrors. * Force 'dim' to be OrderedDict for python 3.5 * Allow expand_dims() method to support inserting/broadcasting dimensions with size>1 (#2757) * Move enhancement description up to 0.12.1 * use .size attribute to determine the size of a dimension, rather than converting to a list, which can be slow for large iterables * Make using dim_kwargs for python 3.5 illegal -- a ValueError is thrown * dataset.expand_dims() method take dict like object where values represent length of dimensions or coordinates of dimesnsions * dataarray.expand_dims() method take dict like object where values represent length of dimensions or coordinates of dimesnsions * Add alternative option to passing a dict to the dim argument, which is now an optional kwarg, passing in each new dimension as its own kwarg * Add expand_dims enhancement from issue 2710 to whats-new.rst * Fix test_dataarray.TestDataArray.test_expand_dims_with_greater_dim_size tests to pass in python 3.5 using ordered dicts instead of regular dicts. This was needed because python 3.5 and earlier did not maintain insertion order for dicts * Restrict core logic to use 'dim' as a dict--it will be converted into a dict on entry if it is a str or a sequence of str * Don't cast dim values (coords) as a list since IndexVariable/Variable will internally convert it into a numpy.ndarray. So just use IndexVariable((k,), v) * TypeErrors should be raised for invalid input types, rather than ValueErrors. * Force 'dim' to be OrderedDict for python 3.5",2019-03-26T02:41:47Z,2019-03-26T02:41:47Z,2bd739a8069ef73eb48e628beae21de3f0e8fd23,f10b21bed2846b879806f87039b77245b18e7671,13221727,10720577,1217238 72e6208e59db14d0a707ae1fd401104da40d91b3,"Fix formatting of engine parameter in docstrings (#2846) * Fix formatting of engine parameter in docstrings * Fix lint pep8 line length error",2019-03-25T02:30:00Z,2019-03-25T02:30:00Z,4c16066943840ffaec1185f10fc53678aa82ad24,f10b21bed2846b879806f87039b77245b18e7671,13221727,1855348,1217238 742ed3984f437982057fd46ecfb0bce214563cb8,"Enable python 3.5.0-3.5.2 (#2831) * bump minimum python version to 3.5.3 * Revert ""bump minimum python version to 3.5.3"" This reverts commit 77553e17cf2126868d33616c349504e64c76e7b4. * guard typing import block * attempt to set patch version to 3.5.0 * ""Type"" also needs a guard * move 3.5.0 to py35-min * guiard all TYPE_CHECKING with new global * missing import * when two lines become one * formatting * two steps forward, one step back * Consolidate variables * lint",2019-03-22T04:37:24Z,2019-03-22T04:37:24Z,279c587273ec459ffb5192e60bf8447c05601fa5,f10b21bed2846b879806f87039b77245b18e7671,13221727,5635139,1217238 8126d3e623667930b1df43c2d936a0ba52a6ca19,use == to compare strings; `is` relies on interning (#2832),2019-03-22T01:12:51Z,2019-03-22T01:12:51Z,279c587273ec459ffb5192e60bf8447c05601fa5,f10b21bed2846b879806f87039b77245b18e7671,13221727,5635139,1217238 55b8fe92473724ae03c93777e21fc7c36074188f,DOC: Update donation links,2019-03-20T04:43:26Z,2019-03-20T04:43:26Z,b3ac90e3a22acc66f9f523cc0d3c7e3fa6df7833,b3ac90e3a22acc66f9f523cc0d3c7e3fa6df7833,13221727,1217238,1217238 a5ca64ac5988f0c9c9c6b741a5de16e81b90cad5,Rework whats-new for 0.12,2019-03-16T04:28:13Z,2019-03-16T04:28:13Z,b3ac90e3a22acc66f9f523cc0d3c7e3fa6df7833,b3ac90e3a22acc66f9f523cc0d3c7e3fa6df7833,13221727,1217238,1217238 0c9152c0413cd36df8f744a3b0e9c026d37d2b05,Add whats-new for 0.12.1,2019-03-16T04:16:05Z,2019-03-16T04:16:05Z,b3ac90e3a22acc66f9f523cc0d3c7e3fa6df7833,b3ac90e3a22acc66f9f523cc0d3c7e3fa6df7833,13221727,1217238,1217238 ad977c94eaaa1ad151bb46f2dad319566261c282,Release 0.12.0,2019-03-16T04:02:04Z,2019-03-16T04:02:04Z,b3ac90e3a22acc66f9f523cc0d3c7e3fa6df7833,b3ac90e3a22acc66f9f523cc0d3c7e3fa6df7833,13221727,1217238,1217238 225868d232219440b188956531d5764ff4cd1b53,"enable loading remote hdf5 files (#2782) * attempt at loading remote hdf5 * added a couple tests * rewind bytes after reading header * addressed comments for tests and error message * fixed pep8 formatting * created _get_engine_from_magic_number function, new tests * added description in whats-new * fixed test failure on windows * same error on windows and nix",2019-03-16T00:35:57Z,2019-03-16T00:35:57Z,afc51a0a930e9022c8c17f9692c71a87fd110afd,f10b21bed2846b879806f87039b77245b18e7671,13221727,3924836,1217238 0c534b00ef6463239320475eccd1ef3f12ebf6b7,"Don't use deprecated np.asscalar() (#2800) It got deprecated in numpy 1.16 and throws a ton of warnings due to that. All the function does is returning .item() anyway, which is why it got deprecated.",2019-03-05T23:00:28Z,2019-03-05T23:00:28Z,497c631e870d9f32890ea22726b1548fef5e13de,f10b21bed2846b879806f87039b77245b18e7671,13221727,16896306,1217238 c33dab237a0aca316b7f6d4ba10857829a895a25,"Improve name concat (#2792) * Added tests of desired name inferring behaviour * Infers names * updated what's new",2019-03-04T05:39:20Z,2019-03-04T05:39:20Z,26a6f89d5f52aa3fe5267933be6139d10dfff2a7,f10b21bed2846b879806f87039b77245b18e7671,13221727,35968931,1217238 e8eb83bd730f3697b7026d9e5ef770a5235020e3,"Add `Dataset.drop_dims` (#2767) * ENH: Add Dataset.drop_dims() * Drops full dimensions and any corresponding variables in a Dataset * Fixes GH1949 * DOC: Add Dataset.drop_dims() documentation",2019-03-03T19:39:39Z,2019-03-03T19:39:39Z,284ada1c0cd09f54299b826725ccfafcf61bdf58,f10b21bed2846b879806f87039b77245b18e7671,13221727,223250,1217238 57cd76d7521526a39a6e94eeacf1e40ef7b974b6,"Bugfix/reduce no axis (#2769) * New test for reduce func which takes no axes * Fixed axis logic * Recorded fix in what's new * Added intermediate variable",2019-02-19T06:12:59Z,2019-02-19T06:12:59Z,26a6f89d5f52aa3fe5267933be6139d10dfff2a7,f10b21bed2846b879806f87039b77245b18e7671,13221727,35968931,1217238