Skip to content

Conversation

@aurghs
Copy link
Collaborator

@aurghs aurghs commented Dec 23, 2020

This PR remove autoclose option from open_dataset (both api.py and apiv2.py) and the corresponding test test_autoclose_future_warning from test.py
autoclose=True option was deprecated in #2261 since xarray now uses a LRU cache to manage open file handles.

@aurghs aurghs requested a review from alexamici December 23, 2020 05:28
@alexamici
Copy link
Collaborator

alexamici commented Dec 23, 2020

@aurghs there's a conflict, would you please fix it?

@alexamici
Copy link
Collaborator

@aurghs I think you should check what documentation needs updating beside the doctring.

Also this deserves and entry in what's new.

@alexamici
Copy link
Collaborator

I merge as it has been discussed yesterday in the community meeting.

@alexamici alexamici merged commit 1525fb0 into pydata:master Dec 24, 2020
toddrjen pushed a commit to toddrjen/xarray that referenced this pull request Dec 31, 2020
* remove autoclose in open_dataset and related warning test

* black

* remove autoclose from open_mfdataset

* update what's new
@aurghs aurghs deleted the remove_autoclose branch February 11, 2021 01:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants