segy2grd − Converting SEGY file to grd file format |
segy2grd segyfile −Ggrdfile −Ixinc[unit][=|+][/yinc[unit][=|+]] −Rwest/east/south/north[r] [ −A[n|z] ] [ −Dxname/yname/zname/scale/offset/title/remark ] [ −F ] [ −Nnodata ] [ −S[zfile] ] [ −V ] [ −Z[flags] ] [ −:[i|o] ] [ −bi[s|S|d|D][ncol] ] |
segy2grd reads an IEEE SEGY file and creates a binary grdfile. Either a simple mapping (equivalent to xyz2grd -Z) or a more complicated averaging where a particular grid cell includes values from more than one sample in the SEGY file can be done. segy2grd will report if some of the nodes are not filled in with data. Such unconstrained nodes are set to a value specified by the user [Default is NaN]. Nodes with more than one value will be set to the average value. |
segyfile |
ASCII [or binary] file holding z or (x,y,z) values. xyz triplets do not have to be sorted (for binary triplets, see −b). 1-column z tables must be sorted and the −Z must be set). |
−G |
grdfile is the name of the binary output grdfile. |
||
−I |
x_inc [and optionally y_inc] is the grid spacing. Append m to indicate minutes or c to indicate seconds. |
||
−R |
west, east, south, and north specify the Region of interest, and you may specify them in decimal degrees or in [+-]dd:mm[:ss.xxx][W|E|S|N] format. Append r if lower left and upper right map coordinates are given instead of wesn. The two shorthands −Rg −Rd stand for global domain (0/360 or -180/+180 in longitude respectively, with -90/+90 in latitude). |