PSSEGYZ(1gmt) | GMT | PSSEGYZ(1gmt) |
pssegyz - Create imagemasked postscript from SEGY file
pssegyz SEGYfile -Jparameters
-Jz|Zparameters
-Rwest/east/south/north[/zmin/zmax][+r]
-Ddeviation -F[color] -W [
-Cclip ] [ -I ] [ -K ] [ -Lnsamp ]
[ -Mntrace ] [ -N ] [ -O ] [ -P ] [
-Q<mode><value> ] [
-Sheader_x/header_y ] [ -U[stamp] ] [
-V[level] ] [ -Xx_offset ] [
-Yy_offset ] [ -Z ] [ -pflags ] [
-ttransp ]
Note: No space is allowed between the option flag and the associated arguments.
pssegyz reads a native (IEEE) format SEGY file and produces a PostScript image of the seismic data. The imagemask operator is used so that the seismic data are plotted as a 1-bit deep bitmap in a single (user-specified) color or gray shade, with a transparent background. The bitmap resolution is taken from the current GMT defaults. The seismic traces may be plotted at their true locations using information in the trace headers (in which case order of the traces in the file is not significant). Standard GMT geometry routines are used so that in principle any map projection may be used, however it is likely that the geographic projections will lead to unexpected results. Beware that a couple of the options for pssegy are not available in pssegyz.
Note that the order of operations before the seismic data are plotted is deviation*[clip]([bias]+[normalize](sample value)). Deviation determines how far in the plot coordinates a [normalized][biased][clipped] sample value of 1 plots from the trace location.
The SEGY file should be a disk image of the tape format (i.e., 3200 byte text header, which is ignored, 400 byte binary reel header, and 240 byte header for each trace) with samples as native real*4 (IEEE real on all the platforms to which I have access).
You must specify at least one of -W and -F.
-Qidpi sets the dots-per-inch resolution of the image [300].
-Quredvel to apply reduction velocity (-ve removes reduction already present).
-Qxmult to multiply trace locations by mult.
-Qydy to override sample interval in reel header.
-X[a|c|f|r][x-shift[u]]
To plot the SEGY file wa1.segy with normalized traces plotted at true offset locations, clipped at +/-3 and with wiggle trace and positive variable area shading in black, use
gmt pssegyz wa1.segy -JX5i/-5i -D1 -Jz0.05i -E180/5 -R0/100/0/10/0/10 \
-C3 -N -So -W -Fblack > segy.ps
Variable area involves filling four-sided figures of distressing generality. I know that some of the more complex degenerate cases are not dealt with correctly or at all; the incidence of such cases increases as viewing angles become more oblique, and particularly as the viewing elevation increases. Wiggle-trace plotting is not affected.
gmt, pssegy, segy2grd
2019, P. Wessel, W. H. F. Smith, R. Scharroo, J. Luis, and F. Wobbe
May 21, 2019 | 5.4.5 |