pub fn bundle_grid_family<'a>(
registry: &Registry,
source: &'a SourceSpec,
bundle_id: &str,
) -> Result<Option<&'a str>>Available on crate feature
encoder only.Expand description
The grid family one bundle is built on: the family every one of its inputs is read from, so the bundle’s grid, tile, variants and poster are that family’s.
A bundle whose inputs span two grids could not be written at all — its
planes would not be the same shape — so a source that declares one is a
registry bug, and it is refused here rather than half-built. (The vapour
flux at 850 hPa reads the specific humidity and the wind pair there, all
three from the CFSv2 pressure-level family, which is what makes it one
bundle’s worth of one grid.) Mirrors bundle_grid_family in
xuebuild/discover.py.