write

method of dascore.io.dasdae.core.DASDAEV1 source

write(
    self ,
    spool: BaseSpool ,
    resource: HDF5Writer ,
    index = False,
    **kwargs ,
)

Write a collection of patches to a DASDAE file.

Parameters

Parameter Description
spool: A collection of patches or a spool (same thing).
resource The path to the file.
index If True, create an index for the file. This slows down
writing but will make reading/scanning the file more efficient.
This is recommended for files with many patches and not recommended
for files with few patches.