---
name: "segyio-catr"
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-catr"
---

# segyio-catr(1)

Print selected headers from FILE

## NAME

segyio-catr - Print selected headers from FILE

## SYNPOSIS

**segyio-catr** \[*OPTION*\]... *FILE*

## DESCRIPTION

**segyio-cath** Print selected traceheaders from SEG-Y file FILE

The flag **--range** takes up to three vales; START, STOP, STEP, which is a closed inteval from START to STOP. The third value STEP can be specified to print i.e. every other trace in the interval. All values are defaulted to 1. Traces are 1-indexed.

Flags **-r** and **-t** can be called multiple times.

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

## OPTIONS

- **-t**, **--trace=*NUMBER***

  trace(s) to print

- **-r**, **--range** ***START* \[*STOP* *STEP*\]**

  range of trace(s) to print. *STOP* and *STEP* are optional, and defaults to *START* and 1 respectively.

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

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

  available formats: *ibm ieee short long char*

- **-s**, **--strict**

  fail on unreadable tracefields

- **-S**, **--non-strict**

  don't fail on unreadable fields this is the default behavior

- **-n**, **--nonzero**

  only print fields with non-zero values

- **-d**, **--description**

  print with byte offset and field description

- **-k**, **--segyio**

  print with segyio tracefield names

- **-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.

## SEE ALSO

[segyio-cath(1)](/segyio-cath/1.md), [segyio-catb(1)](/segyio-catb/1.md)
