.\" Man page generated from reStructuredText. . .TH "PSSEGYZ" "1gmt" "Jan 10, 2019" "5.4.5" "GMT" .SH NAME pssegyz \- Create imagemasked postscript from SEGY file . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .SH SYNOPSIS .sp \fBpssegyz\fP \fISEGYfile\fP \fB\-J\fP\fIparameters\fP \fB\-J\fP\fBz\fP|\fBZ\fP\fIparameters\fP \fB\-R\fP\fIwest\fP/\fIeast\fP/\fIsouth\fP/\fInorth\fP[/\fIzmin\fP/\fIzmax\fP][\fB+r\fP] \fB\-D\fP\fIdeviation\fP \fB\-F\fP[\fIcolor\fP] \fB\-W\fP [ \fB\-C\fP\fIclip\fP ] [ \fB\-I\fP ] [ \fB\-K\fP ] [ \fB\-L\fP\fInsamp\fP ] [ \fB\-M\fP\fIntrace\fP ] [ \fB\-N\fP ] [ \fB\-O\fP ] [ \fB\-P\fP ] [ \fB\-Q\fP\fI\fP ] [ \fB\-S\fP\fIheader_x\fP/\fIheader_y\fP ] [ \fB\-U\fP[\fIstamp\fP] ] [ \fB\-V\fP[\fIlevel\fP] ] [ \fB\-X\fP\fIx_offset\fP ] [ \fB\-Y\fP\fIy_offset\fP ] [ \fB\-Z\fP ] [ \fB\-p\fPflags ] [ \fB\-t\fPtransp ] .sp \fBNote:\fP No space is allowed between the option flag and the associated arguments. .SH DESCRIPTION .sp \fBpssegyz\fP reads a native (IEEE) format SEGY file and produces a PostScript image of the seismic data. The \fIimagemask\fP 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 \fBpssegy\fP are not available in \fBpssegyz\fP\&. .sp Note that the order of operations before the seismic data are plotted is deviation*[clip]([bias]+[normalize](sample value)). Deviation determines how far \fIin the plot coordinates\fP a [normalized][biased][clipped] sample value of 1 plots from the trace location. .sp 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). .SH REQUIRED ARGUMENTS .INDENT 0.0 .TP .B \fISEGYfile\fP Seismic SEGY data set to be imaged. .UNINDENT .INDENT 0.0 .TP \fB\-J\fP\fIparameters\fP (more ...) Select map projection. .UNINDENT .INDENT 0.0 .TP \fB\-R\fP\fIwest\fP/\fIeast\fP/\fIsouth\fP/\fInorth\fP[/\fIzmin\fP/\fIzmax\fP][\fB+r\fP][\fB+u\fP\fIunit\fP] \fIwest\fP, \fIeast\fP, \fIsouth\fP, and \fInorth\fP specify the region of interest, and you may specify them in decimal degrees or in [±]dd:mm[:ss.xxx][\fBW\fP|\fBE\fP|\fBS\fP|\fBN\fP] format Append \fB+r\fP if lower left and upper right map coordinates are given instead of w/e/s/n. The two shorthands \fB\-Rg\fP and \fB\-Rd\fP stand for global domain (0/360 and \-180/+180 in longitude respectively, with \-90/+90 in latitude). Alternatively for grid creation, give \fBR\fP\fIcode\fP\fIlon\fP/\fIlat\fP/\fInx\fP/\fIny\fP, where \fIcode\fP is a 2\-character combination of L, C, R (for left, center, or right) and T, M, B for top, middle, or bottom. e.g., BL for lower left. This indicates which point on a rectangular region the \fIlon\fP/\fIlat\fP coordinate refers to, and the grid dimensions \fInx\fP and \fIny\fP with grid spacings via \fB\-I\fP is used to create the corresponding region. Alternatively, specify the name of an existing grid file and the \fB\-R\fP settings (and grid spacing, if applicable) are copied from the grid. Appending \fB+u\fP\fIunit\fP expects projected (Cartesian) coordinates compatible with chosen \fB\-J\fP and we inversely project to determine actual rectangular geographic region. For perspective view (\fB\-p\fP), optionally append /\fIzmin\fP/\fIzmax\fP\&. In case of perspective view (\fB\-p\fP), a z\-range (\fIzmin\fP, \fIzmax\fP) can be appended to indicate the third dimension. This needs to be done only when using the \fB\-Jz\fP option, not when using only the \fB\-p\fP option. In the latter case a perspective view of the plane is plotted, with no third dimension. .UNINDENT .INDENT 0.0 .TP \fB\-D\fP\fIdeviation\fP gives the deviation in X units of the plot for 1.0 on the scaled trace, This may be a single number (applied equally in X and Y directions) or the pair \fIdevX\fP/\fIdevY\fP\&. .UNINDENT .INDENT 0.0 .TP \fB\-F\fP[\fIcolor\fP] Fill trace (variable area, defaults to filling positive). Specify the \fIcolor\fP with which the imagemask is filled. .UNINDENT .INDENT 0.0 .TP \fB\-W\fP Draw wiggle trace. .UNINDENT .sp You \fImust\fP specify at least one of \fB\-W\fP and \fB\-F\fP\&. .SH OPTIONAL ARGUMENTS .INDENT 0.0 .TP \fB\-A\fP Flip the default byte\-swap state (default assumes data have a bigendian byte\-order). .UNINDENT .INDENT 0.0 .TP \fB\-C\fP\fIclip\fP Sample value at which to clip data (clipping is applied to both positive and negative values). .UNINDENT .INDENT 0.0 .TP \fB\-I\fP Fill negative rather than positive excursions. .UNINDENT .INDENT 0.0 .TP \fB\-K\fP (more ...) Do not finalize the PostScript plot. .UNINDENT .INDENT 0.0 .TP \fB\-L\fP\fInsamp\fP Override number of samples per trace in reel header (program attempts to determine number of samples from each trace header if possible to allow for variable length traces). .UNINDENT .INDENT 0.0 .TP \fB\-M\fP\fIntrace\fP Override number of traces specified in reel header. Program detects end of file (relatively) gracefully, but this parameter limits number of traces that the program attempts to read. .UNINDENT .INDENT 0.0 .TP \fB\-N\fP Normalize trace by dividing by rms amplitude over full trace length. .UNINDENT .INDENT 0.0 .TP \fB\-O\fP (more ...) Append to existing PostScript plot. .UNINDENT .INDENT 0.0 .TP \fB\-P\fP (more ...) Select "Portrait" plot orientation. .UNINDENT .INDENT 0.0 .TP \fB\-Q\fP\fI\fP .INDENT 7.0 .TP .B Can be used to change 5 different settings depending on \fImode\fP: \fB\-Qb\fP\fIbias\fP to bias scaled traces (\-Qb\-0.1 subtracts 0.1 from values). .sp \fB\-Qi\fP\fIdpi\fP sets the dots\-per\-inch resolution of the image [300]. .sp \fB\-Qu\fP\fIredvel\fP to apply reduction velocity (\-ve removes reduction already present). .sp \fB\-Qx\fP\fImult\fP to multiply trace locations by \fImult\fP\&. .sp \fB\-Qy\fP\fIdy\fP to override sample interval in reel header. .UNINDENT .UNINDENT .INDENT 0.0 .TP \fB\-S\fP\fIheader_x\fP/\fIheader_y\fP Read trace locations from trace headers: headers is either \fBc\fP for CDP, \fBo\fP for offset, \fBb\fP *num* to read a long starting at byte \fInum\fP in the header (first byte corresponds to num=0), or a number to fix the location. First parameter for x, second for y. Default has X and Y given by trace number. .UNINDENT .INDENT 0.0 .TP \fB\-U\fP[[\fIjust\fP]/\fIdx\fP/\fIdy\fP/][\fBc\fP|\fIlabel\fP] (more ...) Draw GMT time stamp logo on plot. .UNINDENT .INDENT 0.0 .TP \fB\-V\fP[\fIlevel\fP] (more ...) Select verbosity level [c]. .UNINDENT .sp \fB\-X\fP[\fBa\fP|\fBc\fP|\fBf\fP|\fBr\fP][\fIx\-shift\fP[\fBu\fP]] .INDENT 0.0 .TP \fB\-Y\fP[\fBa\fP|\fBc\fP|\fBf\fP|\fBr\fP][\fIy\-shift\fP[\fBu\fP]] (more ...) Shift plot origin. .UNINDENT .INDENT 0.0 .TP \fB\-Z\fP Do not plot traces with zero rms amplitude. .UNINDENT .INDENT 0.0 .TP \fB\-p\fP[\fBx\fP|\fBy\fP|\fBz\fP]\fIazim\fP[/\fIelev\fP[/\fIzlevel\fP]][\fB+w\fP\fIlon0\fP/\fIlat0\fP[/\fIz0\fP]][\fB+v\fP\fIx0\fP/\fIy0\fP] (more ...) Select perspective view. .UNINDENT .INDENT 0.0 .TP \fB\-t\fP[\fItransp\fP] (more ...) Set PDF transparency level in percent. .UNINDENT .INDENT 0.0 .TP \fB\-^\fP or just \fB\-\fP Print a short message about the syntax of the command, then exits (NOTE: on Windows just use \fB\-\fP). .TP \fB\-+\fP or just \fB+\fP Print an extensive usage (help) message, including the explanation of any module\-specific option (but not the GMT common options), then exits. .TP \fB\-?\fP or no arguments Print a complete usage (help) message, including the explanation of all options, then exits. .UNINDENT .SH EXAMPLES .sp 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 .INDENT 0.0 .INDENT 3.5 .INDENT 0.0 .INDENT 3.5 .sp .nf .ft C gmt pssegyz wa1.segy \-JX5i/\-5i \-D1 \-Jz0.05i \-E180/5 \-R0/100/0/10/0/10 \e \-C3 \-N \-So \-W \-Fblack > segy.ps .ft P .fi .UNINDENT .UNINDENT .UNINDENT .UNINDENT .SH BUGS .sp Variable area involves filling four\-sided figures of distressing generality. I \fIknow\fP 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. .SH SEE ALSO .sp gmt, pssegy, segy2grd .SH COPYRIGHT 2019, P. Wessel, W. H. F. Smith, R. Scharroo, J. Luis, and F. Wobbe .\" Generated by docutils manpage writer. .