Skip to content

Allow hash characters in file names passed to NetcdfFiles#1494

Merged
lesserwhirls merged 2 commits into
Unidata:maint-5.xfrom
lesserwhirls:gh-1492
Oct 1, 2025
Merged

Allow hash characters in file names passed to NetcdfFiles#1494
lesserwhirls merged 2 commits into
Unidata:maint-5.xfrom
lesserwhirls:gh-1492

Conversation

@lesserwhirls

@lesserwhirls lesserwhirls commented Oct 1, 2025

Copy link
Copy Markdown
Member

Description of Changes

When opening a file through NetcdfFiles, any potential URI fragments are removed for certain checks. This only needs to be done for non-local files, so we skip this for local files. Fixes #1492

Additionally, fix test that uses the nexrad level2 AWS S3 bucket (update bucket name).

PR Checklist

  • Link to any issues that the PR addresses
  • Add labels
  • Open as a draft PR
    until ready for review
  • Make sure GitHub tests pass
  • Mark PR as "Ready for Review"

When opening a file through NetcdfFiles, any potential URI fragments are
removed for certain checks. This only needs to be done for non-local
files, so we skip this for local files.

Fixes Unidata#1492
@lesserwhirls lesserwhirls added this to the 5.10.0 milestone Oct 1, 2025
@lesserwhirls lesserwhirls added the bug Something isn't working label Oct 1, 2025
@lesserwhirls lesserwhirls marked this pull request as ready for review October 1, 2025 00:40
@lesserwhirls lesserwhirls merged commit 09608af into Unidata:maint-5.x Oct 1, 2025
16 checks passed
@lesserwhirls lesserwhirls deleted the gh-1492 branch October 1, 2025 00:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Opening local file with a # in name or path

1 participant