pub fn leading_lengths(
metadata: &DatasetMetadata,
variable: &Variable,
) -> (usize, usize)Expand description
Return the logical time and depth lengths for a variable.
Leading axes are inferred in the same way as the viewer’s slice loader: latitude/longitude roles identify the spatial plane, followed by explicit time/depth roles and finally the conventional first/second-axis fallback.