read_operation_id

function of dascore.utils.identity source

read_operation_id(
    snap ,
    default = True,
)-> ‘str | None’

Return the id of decoding a resource under non-default options, or None.

snap changes which coordinates the same bytes decode to, so a value other than the format’s default makes a different array; the default, which None asks for, reads the stored thing itself and derives nothing. Which dimensions are named, and how, is the same decode however it was spelled. Where anything is snapped, dascore.config.max_shift decides which labels are put on a grid, so another one is part of the decode.