sha,message,author_date,committer_date,raw_author,raw_committer,repo,author,committer 4df048c146b8da7093faf96b3e59fb4d56945ec5,"Remove redundant code from open_rasterio and ensure all transform tuples are six elements long (#2351) * Remove redundant chunk of code which sets the transform attribute when already set The transform attribute is already set further up in the open_rasterio function. This chunk of code just sets transform again - but actually sets it to a full nine-element tuple instead of the six-element tuple it should be (see comments around L245). * Added tests to check that the transform attribute read from rasterio Checks that this tuple is always six elements long",2018-08-13T22:33:54Z,2018-08-13T22:33:54Z,e0cdd27bbaaedea5bf75e4337774ce4a26199889,caabe6633d9bef7f2f52807cc5a1f477f3a077d4,13221727,296686,6815844 69ac5117f536836a0fa75ad17779f818b4f8ee28,"Added convenience method for saving DataArray to netCDF file (#990) * Added convenience method for saving DataArray to netCDF file Added a simple function to DataArray that creates a dataset with one variable called 'data' and then saves it to a netCDF file. All parameters are passed through to to_netcdf(). Added an equivalent function called `open_dataarray` to be used to load from these files. * Updated open_dataarray and da.to_netcdf to respect names & load any single var dataset * Added tests for da.to_netcdf() and xr.open_dataarray() * Implemented perfect round-tripping for to_netcdf and open_dataarray Changed name that is used if da has no name Stored old name in attrs so it can be replaced Updated tests Updated docs * Updated Sphinx docs * Added appropriate requires decorator for tests * Added close() for DataArray, and moved closing code to BaseDataObject When loading a DataArray, the _file_obj attribute is set to the same object as the source Dataset's _file_obj. This can then be used to close the file from the DataArray. Tests have been updated to use this * Switched to full func signature, used context mgr in tests * Updated whats new to reference issue & attribute changes * Moved repeated strings to constants & tidied up docstrings",2016-09-06T04:00:06Z,2016-09-06T04:00:06Z,e0cdd27bbaaedea5bf75e4337774ce4a26199889,f10b21bed2846b879806f87039b77245b18e7671,13221727,296686,1217238 c80aa82ad8b4116f742738c2cf2dac1cdd5c8f4e,"Added validation of attrs before saving to netCDF files (#991) * Added validation of attrs before saving to netCDF files This allows us to give nice errors if users try to save a Dataset with attr values that can't be written to a netCDF file. Fixes #911 * Used ds.variables, improved docs and refactored tests * Added decorator for tests to ensure netCDF4 is installed * Removed unused collections.abc import * Fixed minor issues with tests and updated whats new",2016-09-02T22:52:04Z,2016-09-02T22:52:04Z,e0cdd27bbaaedea5bf75e4337774ce4a26199889,f10b21bed2846b879806f87039b77245b18e7671,13221727,296686,1217238