spool

module of dascore.xarray source

Convert a spool to a lazy, dask-backed xarray DataTree.

The tree is partitioned exactly as chunk partitions patches, and each segment is described by the merge chunk would perform: its coordinates and attrs come from PatchAssembler.describe_output, and its members read as the windows of stored arrays that merge would read, or load as the patches it would load. The merged dimension’s coordinate is served by the lazy index in dascore.xarray.index.

Functions

Name Description
spool_to_xarray Convert a spool to a lazy, dask-backed xarray DataTree.