sha,message,author_date,committer_date,raw_author,raw_committer,repo,author,committer 569a4da18229aed391886ef768132f3d6d64fb30,"Handle scale_factor and add_offset as scalar (#4485) * Handle scale_factor and add_offset as scalar The h5netcdf engine exposes single-valued attributes as arrays of shape (1,), which is correct according to the NetCDF standard, but may cause a problem when reading a value of shape () before the scale_factor and add_offset have been applied. This PR adds a check for the dimensionality of add_offset and scale_factor and ensures they are scalar before they are used for further processing, adds a unit test to verify that this works correctly, and a note to the documentation to warn users of this difference between the h5netcdf and netcdf4 engines. Fixes #4471. * DOC: Add whats-new entry for fixing 4471 Add a whats-new entry for the fix to issue #4471, corresponding to PR #4485. * Update doc/io.rst Co-authored-by: Mathias Hauser Co-authored-by: Deepak Cherian Co-authored-by: Mathias Hauser ",2020-10-11T20:06:32Z,2020-10-11T20:06:32Z,1bd40da7d5527c59917115dd2a160981b866d3d5,cd792325681cbad9f663f2879d8b69f1edbb678f,13221727,500246,19864447 70e9eb8fc834e4aeff42c221c04c9713eb465b8a,"add missing , and article in error message (#2557) Add missing , and article in error message when attribute values have the wrong type.",2018-11-16T16:40:02Z,2018-11-16T16:40:02Z,a603db48d9c38ebfa866bb90af2d40db4fc4ca3d,5f199557d0f8f69fbea5e027a407146e2669a812,13221727,500246, f882a583d08b478415088bfbd53bb9c67acc81b8,"Respect PEP 440 (#1777) * Respect PEP 440 Change unreleased version numbers as to respect PEP 440. Rather than `0.10.0-9-g89a1a98` we will have `0.10.0+dev9.g89a1a98`. This means automated setuptools requirements can be respected. Closes #1300. * The fallback version string should also respect PEP 440",2017-12-15T07:26:23Z,2017-12-15T07:26:23Z,a603db48d9c38ebfa866bb90af2d40db4fc4ca3d,f10b21bed2846b879806f87039b77245b18e7671,13221727,500246,1217238 ada45a68dedf99b8611c042840c6eb8fcafef098,"BUG: Add mixing dimension name to error message (#1241) Bugfix: error message for `KeyError` has spurious `%r`, into which the dimension name is apparently intended to be substituted, but wasn't. Substitute the dimension name so that the error message is more informative.",2017-01-30T18:40:26Z,2017-01-30T18:40:26Z,a603db48d9c38ebfa866bb90af2d40db4fc4ca3d,f10b21bed2846b879806f87039b77245b18e7671,13221727,500246,1217238 4d36fe2e8a1f5504d776c2d69895bc4d5a9cd31a,"DOC: fix small typo/mistake (NaN value not dtype) (#1200) Fix small mistake in documentation. It said NaN is not a valid dtype for integer dtypes, this surely should be NaN is not a valid value for integer dtypes.",2017-01-11T17:11:00Z,2017-01-11T17:11:00Z,a603db48d9c38ebfa866bb90af2d40db4fc4ca3d,f10b21bed2846b879806f87039b77245b18e7671,13221727,500246,1217238