---
name: "segyio-crop"
section: "1"
platform: "linux"
package: "segyio-bin"
version: "1.8.3-1.2"
release: "Debian 12 (Bookworm)"
platforms: ["linux"]
url: "https://new.carta.tech/segyio-crop"
---

# segyio-crop(1)

Copy a sub cube from SRC to DST

## NAME

segyio-crop - Copy a sub cube from SRC to DST

## SYNPOSIS

**segyio-crop** \[*OPTION*\]... *SOURCE DEST*

## DESCRIPTION

**segyio-crop** Copy a sub cube from SEG-Y file SOURCE to DEST.

If no **begin** or **end** options are specified, this program is essentially a copy. If a **begin** option is omitted, the program copies from the start of the file. If an **end** option is omitted, the program copies until the end of file is reached.

Mandatory arguments to long options are mandatory for short options too.

## OPTIONS

- **-i**, **--iline-begin**=*LINE*

  inline to copy from

- **-I**, **--iline-end=*LINE***

  inline to copy to (inclusive)

- **-x**, **--xline-begin**=*LINE*

  crossline to copy from

- **-X**, **--xline-end=*LINE***

  crossnline to copy to (inclusive)

- **--inline-begin**=*LINE*

  alias to --iline-begin

- **--inline-end**=*LINE*

  alias to --iline-end

- **--crossline-begin**=*LINE*

  alias to --xline-begin

- **--crossline-end**=*LINE*

  alias to --xline-end

- **-f**, **--format=*FORMAT***

  override sample format. defaults to inferring from the binary header.

  available formats: *ibm ieee short long char*

- **-s**, **--sample-begin**=*LINE*

  sample to copy from

- **-S**, **--sample-end=*LINE***

  sample to copy to (inclusive)

- **-b**, **--il**=*NUM*

  inline header word byte offset; must align with SEG-Y defined offsets

  defaults to 189

- **-B**, **--xl**=*NUM*

  crossline header word byte offset; must align with SEG-Y defined offsets

  defaults to 193

- **-v**, **--verbose**

  increase verbosity

- **--version**

  output version information and exit

- **--help**

  display this help and exit

## COPYRIGHT

Copyright © Statoil ASA. License LGPLv3+: GNU LGPL version 3 or later \<http://gnu.org/licenses/lgpl.html\>.

This is free software: you are free to change and redistribute it.  There is NO WARRANTY, to the extent permitted by law.
