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

Add MFile method to create child MFile #1173

Merged
merged 1 commit into from
Apr 27, 2023

Conversation

tdrwenski
Copy link
Member

@tdrwenski tdrwenski commented Apr 26, 2023

Description of Changes

The method added in the PR is needed for S3 DatasetScans and also if we want featureCollection indices in S3. The idea is that if we have a directory and want to get the file path of a file in that directory, we should let MFile handle that to avoid repeatedly parsing path strings (For S3 the separator could be "/" or "?" if its a bucket, and it also may have a fragment in the uri like cdms3:mybucket/dir#delimiter=/ so appending /filename.nc or whatever doesn't work.)

@tdrwenski tdrwenski changed the title Add MFile::resolve Add MFile method to create child MFile Apr 27, 2023
@tdrwenski tdrwenski force-pushed the mfile-resolve branch 4 times, most recently from 8e2017d to fb947d1 Compare April 27, 2023 16:42
@tdrwenski tdrwenski marked this pull request as ready for review April 27, 2023 17:22
@haileyajohnson haileyajohnson merged commit 98258e9 into Unidata:maint-5.x Apr 27, 2023
9 checks passed
@tdrwenski tdrwenski deleted the mfile-resolve branch April 27, 2023 23:22
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.

None yet

2 participants