sha,message,author_date,committer_date,raw_author,raw_committer,repo,author,committer 4e61a26fca46635a5f6c1eba60950fc33d88459a,add xarray tutorial (#5457),2021-06-15T14:33:27Z,2021-06-15T14:33:27Z,0b1648bb11ab8462ffca6a7ac841624789ad9c0f,cd792325681cbad9f663f2879d8b69f1edbb678f,13221727,46687291,19864447 572a52883c11c53fa0d82c86b95fbf2be5647b90,"Preserve attrs with coarsen (#4360) * pass **kwargs into _coarsen_reshape * change _replace to copy in coarsen return * copy back to replace, variable=copy * take out self.copy * update pre-commit config (tags not branches) * add test that coarsen maintains OG object * del comment * check global for keep attrs * black reformatter * line break * variable._attrs to variable.attrs * if not keep_attrs * {} to None * set_options goes in a with block * remove test dependency on netcdf * add bug fix to whats-new.rst * Update doc/whats-new.rst Co-authored-by: Deepak Cherian * go back to v0.1.2 of blackdock * add test_coarsen_keep_attrs to test_dataarray.py * fix tests * black test_dataarray * xr.set_options * move keep_attrs to coarsen from _reshape_coarsen * flake8 * clean up * move keep_attrs to fx signature * remove kwarg check for keep_attrs * black on variable.py * fix test_variable * Format with black * fix test * check for global attribute * black variable.py * black test_variable.py * format w black * Update xarray/core/variable.py Co-authored-by: Deepak Cherian Co-authored-by: Deepak Cherian Co-authored-by: Maximilian Roos ",2020-09-09T18:56:35Z,2020-09-09T18:56:35Z,0b1648bb11ab8462ffca6a7ac841624789ad9c0f,cd792325681cbad9f663f2879d8b69f1edbb678f,13221727,46687291,19864447 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