seqdata.from_flat_files

seqdata.from_flat_files(*readers, path, fixed_length, sequence_dim=None, length_dim=None, overwrite=False)

Save a SeqData to disk and open it (without loading it into memory).

Parameters:
  • path (str, Path) – Path to save this SeqData to.

  • fixed_length (bool) –

    True: assume the all sequences have the same length and will infer it from the first sequence.

    False: write variable length sequences.

  • overwrite (bool, optional) – Whether to overwrite existing arrays of the SeqData at path, by default False

Return type:

xr.Dataset