pub fn convert_bin(
inputs: &[PathBuf],
output_dir: &Path,
options: &ConvertOptions,
registry: &Registry,
) -> Result<Value>encoder only.Expand description
Convert a GRIB run (or one observation NetCDF file) into per-variable Xue bundles.
Writes <output_dir>/<variable>.xue for every scalar variable plus the
two-variable wind10m.xue bundle when the input files carry the 10 m wind
components, per-variable posters, the reduced <bundle>.<tier>.xue
variants of the source’s resolution ladder (.half.xue, and .quarter
on the satellite disks), and returns build statistics. It writes no live
pointer: xuebuild/native.py writes that once the manifest is final.
bbox crops every plane to a region and bundle_ids restricts which
bundles are built — the two knobs the historical showcase cases use.
last_hour trims an observation source’s series to a leading window.
The optional H.264 companion artifacts are not built here; this experimental encoder leaves them to the Python pipeline, and the frontend treats them as optional by design.