write

method of dascore.io.segy.core.SegyV0_0 source

write(
    self ,
    spool: dascore.core.patch.Patch | dascore.core.spool.BaseSpool[Patch, BaseSpool] ,
    resource ,
    **kwargs ,
)

Create a segy file from length 1 spool or patch.

Parameters

Parameter Description
spool The patch or length 1 spool to write.
resource The target for writing patch.
Note

Based on the example from segyio: https://github.com/equinor/segyio/blob/master/python/examples/make-file.py