sha,message,author_date,committer_date,raw_author,raw_committer,repo,author,committer eec2b59bd08498fe3d50d8549b540d0a8409c7ac,"v0.18.0 release highlights (#5266) Co-authored-by: keewis ",2021-05-06T16:43:13Z,2021-05-06T16:43:13Z,4e27225f968b2f4c84533c59746883a1310c3a54,cd792325681cbad9f663f2879d8b69f1edbb678f,13221727,226037,19864447 f455e00f0228c30423123c089227d7a8fd4a94b5,"More correct deprecation warning for `lock` argument (#5256) * Add scipy to the list of backends that support `lock` * Add `lock` deprecation to zarr and pydap * Add what's new entry * Fix merge. * Fix ""option not passed"" test * Update doc/whats-new.rst Co-authored-by: Maximilian Roos <5635139+max-sixty@users.noreply.github.com>",2021-05-04T14:30:09Z,2021-05-04T14:30:09Z,4e27225f968b2f4c84533c59746883a1310c3a54,cd792325681cbad9f663f2879d8b69f1edbb678f,13221727,226037,19864447 851d85b9203b49039237b447b3707b270d613db5,"Protect against an exception raised by python-eccodes (#5139) Related to #5138",2021-04-12T07:29:03Z,2021-04-12T07:29:03Z,4e27225f968b2f4c84533c59746883a1310c3a54,cd792325681cbad9f663f2879d8b69f1edbb678f,13221727,226037,19864447 186c2ff6542f090a8e97ffb755f866030be30be9,"Simplify the user experience of a backend developer (imports and docs) (#5127) * Simplify the user experience of a backend developer (imports and docs) * Code style * Use RST links",2021-04-11T18:50:06Z,2021-04-11T18:50:06Z,4e27225f968b2f4c84533c59746883a1310c3a54,cd792325681cbad9f663f2879d8b69f1edbb678f,13221727,226037,19864447 e56905889c836c736152b11a7e6117a229715975,"Do not write an empty ""coordinates"" attribute to a netCDF file (#5121) Co-authored-by: keewis ",2021-04-07T17:34:15Z,2021-04-07T17:34:15Z,4e27225f968b2f4c84533c59746883a1310c3a54,cd792325681cbad9f663f2879d8b69f1edbb678f,13221727,226037,19864447 903278adaa5432c53ecdc09c03df54e0b5a27504,Closes #5111 (#5112),2021-04-06T09:18:49Z,2021-04-06T09:18:49Z,4e27225f968b2f4c84533c59746883a1310c3a54,cd792325681cbad9f663f2879d8b69f1edbb678f,13221727,226037,19864447 50d97e9d35bac783850827fa66ff5eb768e62905,"Switch backend API to v2 (#4989) * Switch backend API to v2 and drop v1 * Remove APIv1 functions now unused * Clean up imports * Fix code style * fix open_dataset documentation * fix open_dataarray doc * Remove stale test on removed functions * Fix entry point definition * Fix API documentation errors. * Add informative error message when using positional arguments * Add `*args` check to `open_dataarray` as well * Add whats-new entries Co-authored-by: Aureliana Barghini ",2021-03-09T01:04:00Z,2021-03-09T01:04:00Z,4e27225f968b2f4c84533c59746883a1310c3a54,cd792325681cbad9f663f2879d8b69f1edbb678f,13221727,226037,19864447 7c4e2ac83f7b4306296ff9b7b51aaf016e5ad614,Revert defaults of beckends' open_datasets to prepare the switch to APIv2 #4309 (#4899),2021-02-17T18:12:34Z,2021-02-17T18:12:34Z,4e27225f968b2f4c84533c59746883a1310c3a54,cd792325681cbad9f663f2879d8b69f1edbb678f,13221727,226037,19864447 ba42c08af9afbd9e79d47bda404bf4a92a7314a0,Fix RST.,2021-01-18T15:21:15Z,2021-01-18T15:21:15Z,6e794a7fff23430da8856a249468df88e0c11a3e,cd792325681cbad9f663f2879d8b69f1edbb678f,13221727,226037,19864447 2a433855789cd20d31f61917a01d0a26a0a9e91a,"Remove the references to `_file_obj` outside low level code paths, change to `_close` (#4809) * Move from _file_obj object to _close function * Remove all references to _close outside of low level * Fix type hints * Cleanup code style * Fix non-trivial type hint problem * Revert adding the `close` argument and add a set_close instead * Remove helper class for an easier helper function + code style * Add set_close docstring * Code style * Revert changes in _replace to keep cose as an exception See: https://github.com/pydata/xarray/pull/4809/files#r557628298 * One more bit to revert * One more bit to revert * Add What's New entry * Use set_close setter * Apply suggestions from code review Co-authored-by: Stephan Hoyer * Rename user-visible argument * Sync wording in docstrings. Co-authored-by: Stephan Hoyer ",2021-01-18T15:19:34Z,2021-01-18T15:19:34Z,6e794a7fff23430da8856a249468df88e0c11a3e,cd792325681cbad9f663f2879d8b69f1edbb678f,13221727,226037,19864447 5ddb8d58b3639de7ce748b64ab60f709c58858f0,"Remove special case in guess_engines (#4777) * Remove special case in guess_engines * Sync the error messages between APIv1 and APIv2",2021-01-08T09:33:19Z,2021-01-08T09:33:19Z,6e794a7fff23430da8856a249468df88e0c11a3e,cd792325681cbad9f663f2879d8b69f1edbb678f,13221727,226037,19864447 0f1eb96c924bad60ea87edd9139325adabfefa33,"Declare only BASIC indexing for cfgrib. Fixes #4733 and ecmwf/cfgrib#157 (#4737) * Declare only BASIC indexing for cfgrib. Fixes #4733 and ecmwf/cfgrib#157 * Add what's news entry. * Fix RST syntax * Fix ref to PR",2021-01-02T08:17:36Z,2021-01-02T08:17:36Z,6e794a7fff23430da8856a249468df88e0c11a3e,cd792325681cbad9f663f2879d8b69f1edbb678f,13221727,226037,19864447 c53bcb64205ddcfdb7f0f7b63a278454a8b7a5d5,Close files and to avoid CachingFileManager warnings. (#4731),2020-12-28T11:06:03Z,2020-12-28T11:06:03Z,6e794a7fff23430da8856a249468df88e0c11a3e,cd792325681cbad9f663f2879d8b69f1edbb678f,13221727,226037,19864447 ff56e726f4b63a11cf8c5c6fac8f0a519c921fd8,Merge remote-tracking branch 'upstream/master',2020-12-22T17:40:56Z,2020-12-22T17:40:56Z,4e27225f968b2f4c84533c59746883a1310c3a54,4e27225f968b2f4c84533c59746883a1310c3a54,13221727,226037,226037 fc298247b40383fa3623d99243d6d9a68743a271,"APIv2 internal cleanups (#4721) * Stop importing api.py in apiv2.py * Cleanup backend_kwargs / kwargs * Fix a bug in _get_mtime when filename_or_obj is a pathlib.Path",2020-12-22T16:47:09Z,2020-12-22T16:47:09Z,6e794a7fff23430da8856a249468df88e0c11a3e,cd792325681cbad9f663f2879d8b69f1edbb678f,13221727,226037,19864447 ad4e6e4661957c457acb6e4a482fd60a07282839,Stop importing api.py in apiv2.py,2020-12-22T15:37:39Z,2020-12-22T15:37:39Z,4e27225f968b2f4c84533c59746883a1310c3a54,4e27225f968b2f4c84533c59746883a1310c3a54,13221727,226037,226037 32f51e51f45f7a7290c4497d5e55e8f19a763aa7,"APIv2: move all _autodetect_engine logic to the plugins (#4709) * Add a guess_engine function to plugins. * Move most of the logic in _autodetect_engine to plugins * Add the remaining bits to autodetect logic that were not tested * Sync the APIv1 exception message with APIv2 * Apply suggestions from code review Co-authored-by: keewis * Move read_magic_number logic to util.py and better error message * Add missing guess_can_open in pydap * Remove close_on_error store.py (#4719) * remove close on error for external store * remove not used import * Remove unused import (fallout from merge) Co-authored-by: keewis Co-authored-by: aurghs <35919497+aurghs@users.noreply.github.com>",2020-12-22T15:33:39Z,2020-12-22T15:33:39Z,6e794a7fff23430da8856a249468df88e0c11a3e,cd792325681cbad9f663f2879d8b69f1edbb678f,13221727,226037,19864447 7e2e22ae0f0ebece09de807245d467ee4847d4fa,"APIv2: pass user defined `filename_or_obj` to backends as is (#4707) * Pass filename_or_obj as passed by the user to beckends * Code style * Fix autodetection to also accept pathlib.Path * ensure _get_default_engine get an str object",2020-12-22T14:14:18Z,2020-12-22T14:14:18Z,6e794a7fff23430da8856a249468df88e0c11a3e,cd792325681cbad9f663f2879d8b69f1edbb678f,13221727,226037,19864447 7355c350a88ec6892c5e9ccdf8dee5ef532036be,"Allow pathlib.Path to be passed to all engines (#4701) * Allow pathlib.Path to be used in open_dataset * Fix mypy run. It doesn't like isinstance with os.PathLike * Add patlib.Path support to netCDF4 * Sympler code * Move os.fspath down the call tree",2020-12-18T13:43:31Z,2020-12-18T13:43:31Z,6e794a7fff23430da8856a249468df88e0c11a3e,cd792325681cbad9f663f2879d8b69f1edbb678f,13221727,226037,19864447 6dc3c75ced40d93ddddecf0e32089709060fc960,"Cleanup logic inside `open_dataset`, mostly `extra_kwargs` (#4462)",2020-10-08T15:06:36Z,2020-10-08T15:06:36Z,6e794a7fff23430da8856a249468df88e0c11a3e,cd792325681cbad9f663f2879d8b69f1edbb678f,13221727,226037,19864447 f821fe20595c3700375ccecebf88e01a61444777,"Autodetect the engine only when `engine=None` (#4458) * Perform engine autodetection only when `engine=None` * More specific ""is it a file"" condition * Add test for wrong combination of file object and engine * Add what's new * Better wording of what's new * Fix code style * Move path normalization code in an helper function * Move some autodetection logic back into _get_engine_from_magic_number * Simplify input validation and move it all to the open function * Fix code style * Remove tests that never trigger and make error message more precise * Update doc/whats-new.rst Co-authored-by: Deepak Cherian * Update xarray/backends/api.py Co-authored-by: Deepak Cherian * Update xarray/backends/api.py Co-authored-by: Joe Hamman * Update xarray/backends/api.py Co-authored-by: Deepak Cherian * Add tests for file-objects with `engine=None` * Trivial code style * Code style, use f-string in error message Co-authored-by: Deepak Cherian Co-authored-by: Joe Hamman ",2020-09-28T15:42:00Z,2020-09-28T15:42:00Z,6e794a7fff23430da8856a249468df88e0c11a3e,cd792325681cbad9f663f2879d8b69f1edbb678f,13221727,226037,19864447 c0399d3de144bf26a0e6b5a8abe2b1560576c552,"Refactor of the big if-chain to a dictionary in the form {backend_name: backend_open}. (#4431) * Add docs re stable branch (#4444) * Add docs re stable branch * Update HOW_TO_RELEASE.md Co-authored-by: keewis Co-authored-by: keewis * Port engine selection refactor from #3166 and add zarr * Always add `mode=""r""` to zarr and simplify logic Co-authored-by: Maximilian Roos <5635139+max-sixty@users.noreply.github.com> Co-authored-by: keewis Co-authored-by: Monica Rossetti ",2020-09-24T15:03:45Z,2020-09-24T15:03:45Z,6e794a7fff23430da8856a249468df88e0c11a3e,cd792325681cbad9f663f2879d8b69f1edbb678f,13221727,226037,19864447 1101eca6a50bb832d6812fbe78852dad2f0306cf,Remove all unused and warn-raising methods from AbstractDataStore (#4310),2020-08-05T14:27:50Z,2020-08-05T14:27:50Z,6e794a7fff23430da8856a249468df88e0c11a3e,cd792325681cbad9f663f2879d8b69f1edbb678f,13221727,226037,19864447 ae1239c58282336b311ee3a6f5d3f4ce5bacdb93,cfgrib is now part of conda-forge (#2992),2019-05-28T21:32:26Z,2019-05-28T21:32:26Z,4e27225f968b2f4c84533c59746883a1310c3a54,0c7e9e762dbfd6554e60c953bf27493047d95109,13221727,226037,2448579 eece515aaa1bd9ec78dffe47d8d839cd69515b56,Drop the hack needed to use CachingFileManager as we don't use it anymore. (#2544),2018-11-06T16:23:16Z,2018-11-06T16:23:16Z,43536d21a9a3f92bdd2ea532482e40190547761a,5f199557d0f8f69fbea5e027a407146e2669a812,13221727,226037, 38399cce9b97a7b48d56f66500469305ccc250f9,"Remove use of deprecated, unused keyword. (#2540)",2018-11-05T02:35:27Z,2018-11-05T02:35:27Z,43536d21a9a3f92bdd2ea532482e40190547761a,f10b21bed2846b879806f87039b77245b18e7671,13221727,226037,1217238 b8c4b7862c87223f32e13d7c454a8f275998f828,Fix tests to new coordinate names in cfgrib>=0.9.2. (#2502),2018-10-23T18:28:47Z,2018-10-23T18:28:47Z,43536d21a9a3f92bdd2ea532482e40190547761a,f10b21bed2846b879806f87039b77245b18e7671,13221727,226037,1217238 671d936166414edc368cca8e33475369e2bb4d24,"ENH: Detect the GRIB files by the filename extension and suggest engine. (#2492) * Detect the GRIB files by the filename extension. * Follow conventions on QA and coverage. * Add test_backends_api.py to unit test private function in api.py. * Add tests to is_grib_path and is_remote_uri in utils.py * Move `.gz` detection logic to `_get_default_engine`. * More expressive test. * Do not fall back to other inconsistent drivers for GRIB files. * Fix string split. * ""In the face of ambiguity, refuse the temptation to guess."" * Move import testing for every class of input to a different function. * Fix _get_default_engine test.",2018-10-22T15:26:13Z,2018-10-22T15:26:13Z,43536d21a9a3f92bdd2ea532482e40190547761a,f10b21bed2846b879806f87039b77245b18e7671,13221727,226037,1217238 9f4474d657193f1c7c9aac25bb2edf94755a8593,"Add a GRIB backend via ECMWF cfgrib / ecCodes (#2476) * Integration of ECMWF cfgrib driver to read GRIB files into xarray. * Remove all coordinate renaming from the cfgrib backend. * Move flavour selection to `cfgrib.Dataset.from_path`. * Sync xarray backend import style with xarray. * Make use of the new xarray.backends.FileCachingManager. * Add just-in-case locking for ecCodes. * Explicitly assign attributes to CfGribArrayWrapper * Add missing locking in CfGribArrayWrapper and use explicit_indexing_adapter. * Add a comment about the ugly work-around needed for filter_by_keys. * Declare correct indexing support. * Add TestCfGrib test class. * cfgrib doesn't store a file reference so no need for CachingFileManager. * Add cfgrib testing to Travis-CI. * Naming. * Fix line lengths and get to 100% coverage. * Add reference to *cfgrib* engine in inline docs. * First cut of the documentation. * Tentative test cfgrib under dask.distributed. * Better integration test. * Remove explicit copyright and license boilerplate to harmonise with other files. * Add a usage example. * Fix code style. * Fix doc style. * Fix docs testing. The example.grib file is not accessible. * Fix merge in docs. * Fix merge in docs. * Fix doc style.",2018-10-17T16:53:31Z,2018-10-17T16:53:31Z,43536d21a9a3f92bdd2ea532482e40190547761a,f10b21bed2846b879806f87039b77245b18e7671,13221727,226037,1217238