.\" Man page generated from reStructuredText. . .TH "GRDPMODELER" "1gmt" "Jan 10, 2019" "5.4.5" "GMT" .SH NAME grdpmodeler \- Evaluate a plate motion model on a geographic grid . .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 \fBgrdpmodeler\fP \fIagegrdfile\fP \fB\-E\fP\fIrot_file\fP \fB\-S\fP\fIflags\fP [ \fB\-F\fP\fIpolygonfile\fP ] [ \fB\-G\fP\fIoutgrdfile\fP ] [ \fB\-T\fP\fIage\fP ] [ \fB\-V\fP[\fIlevel\fP] ] [ \fB\-b\fPbinary ] [ \fB\-d\fPnodata ] [ \fB\-h\fPheaders ] [ \fB\-:\fP[\fBi\fP|\fBo\fP] ] .sp \fBNote:\fP No space is allowed between the option flag and the associated arguments. .SH DESCRIPTION .sp \fBgrdpmodeler\fP reads a geographical age grid and a plate motion model and evaluates one of several model predictions. Optionally, the user may supply a clipping polygon in multiple\-segment format; then, only the part of the grid inside the polygon is used to determine the model prediction; the remainder of the grid is set to NaN. .SH REQUIRED ARGUMENTS .INDENT 0.0 .TP .B \fIingrdfile\fP Name of a grid file in geographical (lon, lat) coordinates with ages in Myr. .UNINDENT .INDENT 0.0 .TP \fB\-E\fP\fIrotfile\fP Give file with rotation parameters. This file must contain one record for each rotation; each record must be of the following format: .sp \fIlon lat tstart [tstop] angle\fP [ \fIkhat a b c d e f g df\fP ] .sp where \fItstart\fP and \fItstop\fP are in Myr and \fIlon lat angle\fP are in degrees. \fItstart\fP and \fItstop\fP are the ages of the old and young ends of a stage. If \fItstop\fP is not present in the record then a total reconstruction rotation is expected and \fItstop\fP is implicitly set to 0 and should not be specified for any of the records in the file. If a covariance matrix \fBC\fP for the rotation is available it must be specified in a format using the nine optional terms listed in brackets. Here, \fBC\fP = (\fIg\fP/\fIkhat\fP)*[ \fIa b d; b c e; d e f\fP ] which shows \fBC\fP made up of three row vectors. If the degrees of freedom (\fIdf\fP) in fitting the rotation is 0 or not given it is set to 10000. Blank lines and records whose first column contains # will be ignored. You may prepend a leading + to the filename to indicate you wish to invert the rotations. Alternatively, give the filename composed of two plate IDs separated by a hyphen (e.g., PAC\-MBL) and we will instead extract that rotation from the GPlates rotation database. We return an error if the rotation cannot be found. .UNINDENT .INDENT 0.0 .TP \fB\-S\fP\fIflags\fP Type of model prediction(s). Append one or more items: choose from \fBa\fP for plate motion azimuth, \fBd\fP for great\-circle distance between current location and its origin at the ridge (in km), \fBs\fP for plate motion model stage ID (1 is youngest), \fBv\fP for plate motion rate (in mm/yr), \fBw\fP for plate rotation rate (degree/Myr), \fBx\fP for change in longitude relative to location of crust formation, \fBy\fP for change in latitude relative to location of crust formation, \fBX\fP for longitude of crust formation, and \fBY\fP for latitude of crust formation. If no arguments are given we default to all [\fBadsvwxyXY\fP]. .UNINDENT .SH OPTIONAL ARGUMENTS .INDENT 0.0 .TP \fB\-F\fP\fIpolygonfile\fP Specify a multisegment closed polygon file that describes the inside area of the grid where the model should be evaluated; the outside will be set to NaN [Default evaluates model on the entire grid]. .UNINDENT .INDENT 0.0 .TP \fB\-G\fP\fIoutgrdfile\fP Name of output grid. This is the grid with the model predictions given the specified rotations. Note: If you specified more than one model prediction in \fB\-S\fP then the filename \fImust\fP be a template that contains the format %s; this will be replaced with the corresponding tags az, dist, stage, vel, omega, dlon, dlat, lon, lat. If the \fB\-G\fP option is not used then we create no grids and instead write \fIlon, lat, age, predictions\fP records to standard output. .UNINDENT .INDENT 0.0 .TP \fB\-T\fP\fIage\fP Use a fixed age for model evaluation (i.e., override the ages in the age grid). This lets you evaluate the model at a snapshot in time. .UNINDENT .INDENT 0.0 .TP \fB\-V\fP[\fIlevel\fP] (more ...) Select verbosity level [c]. .UNINDENT .INDENT 0.0 .TP \fB\-bi\fP[\fIncols\fP][\fBt\fP] (more ...) Select native binary input. [Default is 2 input columns]. .UNINDENT .INDENT 0.0 .TP \fB\-d\fP[\fBi\fP|\fBo\fP]\fInodata\fP (more ...) Replace input columns that equal \fInodata\fP with NaN and do the reverse on output. .UNINDENT .INDENT 0.0 .TP \fB\-h\fP[\fBi\fP|\fBo\fP][\fIn\fP][\fB+c\fP][\fB+d\fP][\fB+r\fP\fIremark\fP][\fB+r\fP\fItitle\fP] (more ...) Skip or produce header record(s). .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 GEODETIC VERSUS GEOCENTRIC COORDIINATES .sp All spherical rotations are applied to geocentric coordinates. This means that incoming data points and grids are considered to represent geodetic coordinates and must first be converted to geocentric coordinates. Rotations are then applied, and the final reconstructed points are converted back to geodetic coordinates. This default behavior can be bypassed if the ellipsoid setting PROJ_ELLIPSOID is changed to Sphere. .SH EXAMPLES .sp We will use a grid with Pacific crust ages (pac_age.nc), a plate motion model (Pac_APM.d), and a polygon that contains the outline of the present Pacific plate (pac_clip_path.d). To evaluate the plate motion azimuths at the present time for the Pacific, try .INDENT 0.0 .INDENT 3.5 .INDENT 0.0 .INDENT 3.5 .sp .nf .ft C gmt grdpmodeler pac_age.nc \-EPac_APM.d \-V \-Fpac_clip_path.d \e \-Gpac_dir_0.nc \-Sa \-T0 .ft P .fi .UNINDENT .UNINDENT .UNINDENT .UNINDENT .sp To determine the changes in latitude since crust formation for the entire Pacific, try .INDENT 0.0 .INDENT 3.5 .INDENT 0.0 .INDENT 3.5 .sp .nf .ft C gmt grdpmodeler pac_age.nc \-EPac_APM.d \-V \-Fpac_clip_path.d \e \-Gpac_dlat.nc \-Sy .ft P .fi .UNINDENT .UNINDENT .UNINDENT .UNINDENT .sp To determine the plate motion velocities in effect when the Pacific crust was formed, try .INDENT 0.0 .INDENT 3.5 .INDENT 0.0 .INDENT 3.5 .sp .nf .ft C gmt grdpmodeler pac_age.nc \-EPac_APM.d \-V \-Fpac_clip_path.d \e \-Gpac_vel.nc \-Sv .ft P .fi .UNINDENT .UNINDENT .UNINDENT .UNINDENT .sp To determine how far the crust has moved since formation, try .INDENT 0.0 .INDENT 3.5 .INDENT 0.0 .INDENT 3.5 .sp .nf .ft C gmt grdpmodeler pac_age.nc \-EPac_APM.d \-V \-Fpac_clip_path.d \e \-Gpac_dist.nc \-Sd .ft P .fi .UNINDENT .UNINDENT .UNINDENT .UNINDENT .sp To save the coordinates of the crust\(aqs formation to separate grids, try .INDENT 0.0 .INDENT 3.5 .INDENT 0.0 .INDENT 3.5 .sp .nf .ft C gmt grdpmodeler pac_age.nc \-EPac_APM.d \-V \-Fpac_clip_path.d \e \-Gpac_origin_%s.nc \-SXY .ft P .fi .UNINDENT .UNINDENT .UNINDENT .UNINDENT .sp To repeat the same exercise but save output \fIlon,lat,age,xorigin,yorigin\fP to a table, use .INDENT 0.0 .INDENT 3.5 .INDENT 0.0 .INDENT 3.5 .sp .nf .ft C gmt grdpmodeler pac_age.nc \-EPac_APM.d \-V \-Fpac_clip_path.d \-SXY > origin.txt .ft P .fi .UNINDENT .UNINDENT .UNINDENT .UNINDENT .SH NOTES .sp GMT distributes the EarthByte rotation model Global_EarthByte_230\-0Ma_GK07_AREPS.rot. To use an alternate rotation file, create an environmental parameters named \fBGPLATES_ROTATIONS\fP that points to an alternate rotation file. .SH SEE ALSO .sp backtracker, gmtpmodeler, grdrotater, grdspotter, hotspotter, originator, rotconverter .SH COPYRIGHT 2019, P. Wessel, W. H. F. Smith, R. Scharroo, J. Luis, and F. Wobbe .\" Generated by docutils manpage writer. .