{
    "command": "sgloadsegy",
    "description": "load traces and selected trace headers from a seekable SEG-Y or SU file",
    "examples": [],
    "input_description": null,
    "notes": [],
    "output_description": "output SIGCLEAR dataset",
    "package": "sigclear-io",
    "parameters": [
        {
            "choices": [],
            "default": null,
            "default_known": false,
            "description": "input seekable SEG-Y or SU file",
            "name": "segy",
            "required": null,
            "type": "ifile",
            "units": null
        },
        {
            "choices": [],
            "default": false,
            "default_known": true,
            "description": "read SU input instead of SEG-Y",
            "name": "su",
            "required": false,
            "type": "bool",
            "units": null
        },
        {
            "choices": [],
            "default": "bin.format",
            "default_known": false,
            "description": "override the SEG-Y sample-format code",
            "name": "format",
            "required": false,
            "type": "int",
            "units": null
        },
        {
            "choices": [],
            "default": "NS",
            "default_known": false,
            "description": "number of samples per trace",
            "name": "ns",
            "required": false,
            "type": "int",
            "units": null
        },
        {
            "choices": [],
            "default": 0,
            "default_known": true,
            "description": "zero-based index of the first trace to load",
            "name": "first",
            "required": false,
            "type": "long",
            "units": null
        },
        {
            "choices": [],
            "default": "ALL",
            "default_known": false,
            "description": "maximum number of traces to load",
            "name": "ncol",
            "required": false,
            "type": "long",
            "units": null
        },
        {
            "choices": [],
            "default": "first+ncol-1",
            "default_known": false,
            "description": "zero-based index of the last trace to load",
            "name": "last",
            "required": false,
            "type": "long",
            "units": null
        },
        {
            "choices": [],
            "default": "fldr",
            "default_known": false,
            "description": "SEG-Y trace headers to import; the first two selected headers become the group and index keys. Supported headers are:\n0   tracl      int      0       \n1   tracr      int      4       \n2   fldr       int      8       \n3   tracf      int      12      \n4   ep         int      16      \n5   cdp        int      20      \n6   cdpt       int      24      \n7   trid       short    28      \n8   nvs        short    30      \n9   nss        short    32      \n10  duse       short    34      \n11  offset     int      36      \n12  gelev      int      40      \n13  selev      int      44      \n14  sdepth     int      48      \n15  gdel       int      52      \n16  sdel       int      56      \n17  swdep      int      60      \n18  gwdep      int      64      \n19  scalel     short    68      \n20  scalco     short    70      \n21  sx         int      72      \n22  sy         int      76      \n23  gx         int      80      \n24  gy         int      84      \n25  counit     short    88      \n26  wevel      short    90      \n27  swevel     short    92      \n28  sut        short    94      \n29  gut        short    96      \n30  sstat      short    98      \n31  gstat      short    100     \n32  tstat      short    102     \n33  laga       short    104     \n34  lagb       short    106     \n35  delrt      short    108     \n36  muts       short    110     \n37  mute       short    112     \n38  ns         short    114     \n39  dt         short    116     \n40  gain       short    118     \n41  igc        short    120     \n42  igi        short    122     \n43  corr       short    124     \n44  sfs        short    126     \n45  sfe        short    128     \n46  slen       short    130     \n47  styp       short    132     \n48  stas       short    134     \n49  stae       short    136     \n50  tatyp      short    138     \n51  afilf      short    140     \n52  afils      short    142     \n53  nofilf     short    144     \n54  nofils     short    146     \n55  lcf        short    148     \n56  scf        short    150     \n57  lcs        short    152     \n58  scs        short    154     \n59  year       short    156     \n60  day        short    158     \n61  sour       short    160     \n62  minute     short    162     \n63  sec        short    164     \n64  timbas     short    166     \n65  trwf       short    168     \n66  grnors     short    170     \n67  grnofr     short    172     \n68  grnlof     short    174     \n69  gaps       short    176     \n70  otrav      short    178     \n71  cdpx       int      180     \n72  cdpy       int      184     \n73  iline      int      188     \n74  xline      int      192     \n75  ungpow     float    196     \n76  unscale    float    200     \n77  ntr        int      204     \n78  mark       short    208     \n79  unass      short    210",
            "name": "heads",
            "required": false,
            "type": "enums",
            "units": null
        },
        {
            "choices": [],
            "default": "stdout",
            "default_known": false,
            "description": "output SIGCLEAR dataset",
            "name": "out",
            "required": false,
            "type": "ofile",
            "units": null
        }
    ],
    "related": [],
    "schema_version": 1,
    "summary": "import SEG-Y or SU into a SIGCLEAR dataset",
    "synopsis": "sgloadsegy segy= su=false format=bin.format ns=NS first=0 ncol=ALL last=first+ncol-1 heads=fldr >stdout",
    "version": "1.0.1-3"
}