Skip to content

Refactor GRIB collection handling to use MFile abstractions#1547

Merged
lesserwhirls merged 1 commit intoUnidata:maint-5.xfrom
lesserwhirls:mfiles
Apr 9, 2026
Merged

Refactor GRIB collection handling to use MFile abstractions#1547
lesserwhirls merged 1 commit intoUnidata:maint-5.xfrom
lesserwhirls:mfiles

Conversation

@lesserwhirls
Copy link
Copy Markdown
Member

@lesserwhirls lesserwhirls commented Apr 9, 2026

Description of Changes

  • replace several file/path-based lookups with managed MFile-based access
  • update inventory controllers to expose a DirectoryStream interface
  • handle GRIB index creation, caching, and temporary file naming with shared helpers

This will allow for local GRIB and CDM index files to be created to manage non-local (e.g. S3) GRIB collections. I don't think we will extend netCDF-Java to support writing these index files to non-local storage; that will be a job for a specialized tool like the TDM, which those that control the non-local data would be in the best position to run. This PR, along with #1544 and #1545 should effectively close #1177.

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"

* replace several file/path-based lookups with managed MFile-based
  access
* update inventory controllers to expose a DirectoryStream<MFile>
  interface
* handle GRIB index creation, caching, and temporary file
  naming with shared helpers
@lesserwhirls lesserwhirls added internal: collections Issues related to thredds.* inventory / collection support. enhancement New feature or request labels Apr 9, 2026
@lesserwhirls lesserwhirls added this to the 5.10.0 milestone Apr 9, 2026
@lesserwhirls lesserwhirls marked this pull request as ready for review April 9, 2026 23:45
@lesserwhirls lesserwhirls merged commit 3c0c0ec into Unidata:maint-5.x Apr 9, 2026
14 checks passed
@lesserwhirls lesserwhirls deleted the mfiles branch April 9, 2026 23:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request internal: collections Issues related to thredds.* inventory / collection support.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

S3 Grib support

1 participant