-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support for the new compression arguments. (#7551)
* Support for the new compression arguments. Use a dict for the arguments and update it with the encoding, so all variables are passed. * significant_digit and other missing keys added Should close #7634 * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * test for the new compression argument * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * move the new test to TestNetCDF4Data * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * simplify this line (code review) * Added entry to whats-new Also removed an unnecesary call to monkeypatch fixture. * bump netcdf4 to 1.6.2 in min-all-deps.yml * parametrize compression in test * Revert "bump netcdf4 to 1.6.2 in min-all-deps.yml" This reverts commit c2ce8d5. * check netCDF4 version and skip test if netcdf4 version <1.6.2 * fix typing * Larger chunks to avoid random blosc errors With smaller chunks it raises "Blosc_FIlter Error: blosc_filter: Buffer is uncompressible." one out of three times. * use decorator to skip old netCDF4 versions * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * remove stale version-property * fix whats-new.rst * fix requires-decorator * fix for asserts of other tests that use test data * Apply suggestions from code review * Update xarray/tests/__init__.py * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update xarray/tests/test_backends.py --------- Co-authored-by: garciam <[email protected]> Co-authored-by: Deepak Cherian <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Ryan Abernathey <[email protected]> Co-authored-by: Kai Mühlbauer <[email protected]> Co-authored-by: Kai Mühlbauer <[email protected]>
- Loading branch information
1 parent
c35d6b6
commit a04900d
Showing
4 changed files
with
117 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters