-
-
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.
data_vars option added to open_mfdataset (#1580)
* add data_vars option to open_mfdataset * use single quotes * fix the 'line too long' warning from flake8 * document the data_vars keyword for open_mfdataset * improve the data_vars record in whats-new * update my name in wats-new.rst * Start writing the test for the data_vars keyword * use the data_vars keyword in combine * address flake8 warnings for test_backend.py * ignore flake8 warnings concerning whats-new.rst * fix function reference in whats-new.rst * open_mfdataset does not accept dim keyword argument * use single quotes for strings in the added tests * refactor data_vars related tests * Use with for opening mfdataset in data_vars related tests * add @requires_scipy_or_netCDF4 to the data_vars test class * address flake8 warnings about long lines in the data_vars related tests. * close opened datasets in case of a ValueError in open_mfdataset, seems important for Windows * fix line too long warnings from flake8 * refactor tests and open_mfdataset, to address comments * refactor tests for data_vars keyword in open_mfdataset * refactor to address flake8 warnings * add another example of data_vars usage in open_mfdataset * add coords keyword to open_mfdataset * add a memory and performance related observations to the whats-new and modify code snippets to use single quotes for consistency. * fixed a grammar mistake * quote variable names referenced in the text * add tests for coords keyword in the open_mfdataset, along with the similar tests for the data_vars keyword. * split a test into 2 to simplify, introduce context manager for setting up test inputs in OpenMFDatasetWithDataVarsAndCoordsKwTest
- Loading branch information
Showing
4 changed files
with
204 additions
and
10 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