Simplifying analysis of hierarchical HDF5 and NetCDF4 files with xarray-datatree
summary
NASA replaces a slow flatten-and-rebuild workflow that copied entire HDF5/NetCDF4 files with xarray-datatree so grouped files open as a single tree and group hierarchies preserve group hierarchy without manual looping. HL2SS uses open_datatree() and onboards 86 TB onboarded in six months, avoiding duplicate files and huge memory copies. Integration into xarray provides lazy loading and backend support for netCDF and Zarr and a backend PR made multi-group opens thousands times faster, so subsetting runs in-place.
AI-written summary · about
chapters (17)
- 0:00Introduction to talk
- 1:30About NASA's data archives
- 4:00HDF5 and NetCDF4 formats
- 7:38Challenges with group structures
- 9:41Current flattening approach
- 10:48Xarray and its limitations
- 12:14Introducing xarray-datatree
- 15:25NASA's adoption of datatree
- 17:53NASA's open science initiative
- 20:03History of HDF formats
- 21:27Future of data formats
- 23:37Cloud-optimized formats
- 25:09Integration into xarray
- 25:56Production readiness
- 27:41Memory and lazy loading
- 29:07NASA and open-source collaboration
- 30:10Q&A session
