XdasV1

class of dascore.io.xdas.core
inherits from: FiberIO
source

XdasV1()

Read signals stored in the XDAS NetCDF layout.

Each signal, in any group, is a patch keyed by its path in the file. Tie-point coordinates are decoded exactly; a signal whose tie points leave a hole or change the step is one patch per evenly sampled stretch, keyed <path>#<number>. Tile manifests are not supported.

Methods

Name Description
get_format Derive the format name and version from the family detector.
get_metadata Describe each signal from its coordinates; no samples are read.
get_version Return the version if a dataset carries an XDAS coordinate mapping.
read Read patches by selecting metadata and loading the resulting array windows.
read_array Read the windows of one patch from its signal’s dataset.
scan Return patch metadata; the dispatcher attaches source provenance.
unit_members Return the files identifying a directory unit of this format, if any.
write Write the spool to a resource (eg path, stream, etc.).