Skip to content

More robust guess_can_open for netCDF4/scipy/h5netcdf entrypoints - #5296

Merged
shoyer merged 3 commits into
pydata:masterfrom
shoyer:entrypoint-detection
May 14, 2021
Merged

shoyer merged 3 commits into
pydata:masterfrom
shoyer:entrypoint-detection

Conversation

@shoyer

@shoyer shoyer commented May 12, 2021 •

Copy link
Copy Markdown
Member

The new version checks magic numbers in files on disk, not just already open file objects.

I've also added a bunch of unit-tests.

Fixes GH5295

The new version check magic numbers in files on disk, not just already
open file objects.

I've also added a bunch of unit-tests.

Fixes GH5295
@shoyer

shoyer commented May 13, 2021

Copy link
Copy Markdown
Member Author

Thanks @max-sixty for review!

Anyone else want to take a look? Maybe @alexamici @aurghs ?

If not, I"ll probably self-merge this in a few days...

@dcherian dcherian mentioned this pull request May 13, 2021
6 of 9 tasks
@max-sixty max-sixty added the plan to merge Final call for comments label May 13, 2021
@shoyer
shoyer merged commit c6f2cf0 into pydata:master May 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

plan to merge Final call for comments

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Engine is no longer inferred for filenames not ending in ".nc"

2 participants