MCPcopy
hub / github.com/pydata/xarray / stackable

Function stackable

xarray/conventions.py:378–385  ·  view source on GitHub ↗
(dim: Hashable)

Source from the content-addressed store, hash-verified

376 dimensions_used_by[d].append(v)
377
378 def stackable(dim: Hashable) -> bool:
379 # figure out if a dimension can be concatenated over
380 if dim in variables:
381 return False
382 for v in dimensions_used_by[dim]:
383 if v.dtype.kind != "S" or dim != v.dims[-1]:
384 return False
385 return True
386
387 coord_names = set()
388

Callers 1

decode_cf_variablesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…