write
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
