write_segy
builtin
¶
write_segy(path, model, column, *, nodata=0.0)
Writes one column of a BlockModel as SEG-Y revision 1.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
path
|
str or Path
|
The |
required |
model
|
BlockModel
|
A regular or masked grid rotated by azimuth only. Inline |
required |
column
|
str
|
Numeric column to write, as float32, top cell first. |
required |
nodata
|
float
|
Value written for nulls and absent cells of a masked model. |
0.0
|
Raises:
| Type | Description |
|---|---|
InvalidInput
|
For sub-blocked models, dip or rake rotations, missing or text columns, and cell heights or tops that SEG-Y cannot hold exactly. |
used in