utils

module of dascore.io source

Shared utilities for IO implementations.

Functions

Name Description
build_patches Trim a data source to a selection and build the resulting patch list.
convert_attr_units Convert one attr to the units patch attrs use, dropping the file’s units.
get_attr_names Return the attr names a reader’s attr class accepts from a file header.
get_exact_coord Return an exact coordinate, including for non-monotonic values.