Skip to content

Many files no warn#325

Closed
dschwoerer wants to merge 2 commits intomasterfrom
many-files-no-warn
Closed

Many files no warn#325
dschwoerer wants to merge 2 commits intomasterfrom
many-files-no-warn

Conversation

@dschwoerer
Copy link
Copy Markdown
Contributor

I think it is best to completely remove the warning.
As a user I do not want to first figure out how many files I will be opening, and then set that with xarray to avoid a warning.

It was broken anyway, as it did always raise the warning, so I think it is best to remove the warning completely.

The first commit a4c0996 is still needed, as otherwise we may lower the limit, which is needed for other things.

@dschwoerer dschwoerer added the bugfix Fix for a bug label Nov 28, 2025
Copy link
Copy Markdown
Member

@ZedThree ZedThree left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not convinced of the wisdom of changing file_cache_maxsize like this, but I don't know the ins and outs of it. This change seems reasonable though

@bendudson
Copy link
Copy Markdown
Contributor

This should be fixed in a different way by #336 because that PR removes the need to open many files at once. Large numbers of files being opened should now be unusual and warning is probably best.

@bendudson bendudson closed this Apr 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix Fix for a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants