Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support Pathlike in Dataset.fromcdl #1387

Merged
merged 6 commits into from
Nov 16, 2024
Merged

Conversation

headtr1ck
Copy link
Contributor

@headtr1ck headtr1ck commented Nov 14, 2024

Now this works: netCDF4.Dataset.fromcdl(pathlib.Path("test.cdl"))

This also introduces new FileNotFoundError and FileExistsErrors. This is better than the subprocess error.

@jswhit jswhit merged commit a371621 into Unidata:master Nov 16, 2024
38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants